Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002422/0.002422, allocations: 218.9 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04434/0.04434, allocations: 8.536 MB / 321 MB, free: 10.61 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 64.14 kB / 446.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1088, allocations: 55.42 MB / 0.4906 GB, free: 8.453 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter smpm1.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter smpm1.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter smpm1.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter smpm1.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter smpm1.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter smpm1.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter smpm1.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter smpm1.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1*ZsRef/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:44:3-47:31:writable] Warning: Parameter smpm1.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:48:3-49:53:writable] Warning: Parameter smpm1.VsOpenCircuit has no value, and is fixed during initialization (fixed=true), using available start value (start=112.3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:59:3-64:29:writable] Warning: Parameter smpm1.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05*ZsRef/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:70:3-74:29:writable] Warning: Parameter smpm1.Rrd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:80:3-85:29:writable] Warning: Parameter smpm1.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:86:3-91:29:writable] Warning: Parameter smpm1.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01548/0.1243, allocations: 10.03 MB / 0.5004 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007103/0.1314, allocations: 2.91 MB / 0.5032 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.1332, allocations: 67.56 kB / 0.5033 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.1348, allocations: 0.5316 MB / 0.5038 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.1375, allocations: 0.796 MB / 0.5046 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1388, allocations: 0.5186 MB / 0.5051 GB, free: 9.535 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter smpm1.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter smpm1.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:11:3-12:55:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:15:3-17:53:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.wRef has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0 * smpm1.pi * smpm1.fsNominal / CAST(Real, smpm1.p)) as default value. Notification: Performance of NFFlatten.flatten: time 0.003564/0.1424, allocations: 2.569 MB / 0.5076 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.1441, allocations: 1.009 MB / 0.5086 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.1458, allocations: 1.125 MB / 0.5097 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.1483, allocations: 1.405 MB / 0.511 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007152/0.149, allocations: 288 kB / 0.5113 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.1501, allocations: 391.8 kB / 0.5117 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.1512, allocations: 0.818 MB / 0.5125 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.1532, allocations: 1.307 MB / 0.5138 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2361/0.3893, allocations: 3.71 MB / 0.5174 GB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.3893, allocations: 0.8438 kB / 0.5174 GB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3893, allocations: 0 / 0.5174 GB, free: 13.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001126/0.3894, allocations: 0 / 0.5174 GB, free: 13.76 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.006754/0.3962, allocations: 2.738 MB / 0.5201 GB, free: 12.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.3962, allocations: 7.781 kB / 0.5201 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004512/0.3967, allocations: 291.4 kB / 0.5203 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008025/0.3975, allocations: 289.4 kB / 0.5206 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.4001, allocations: 1.364 MB / 0.522 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.4003, allocations: 184.2 kB / 0.5221 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/0.4006, allocations: 201.3 kB / 0.5223 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004697/0.4053, allocations: 2.595 MB / 0.5249 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.917e-05/0.4054, allocations: 14.73 kB / 0.5249 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.4056, allocations: 76.78 kB / 0.5249 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.4057, allocations: 98.95 kB / 0.525 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/0.41, allocations: 2.182 MB / 0.5272 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.4227, allocations: 8.086 MB / 0.5351 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002695/0.4254, allocations: 1.341 MB / 0.5364 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.4267, allocations: 0.7485 MB / 0.5371 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.427, allocations: 55.73 kB / 0.5372 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.4283, allocations: 0.7955 MB / 0.5379 GB, free: 6.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.236e-06/0.4283, allocations: 0 / 0.5379 GB, free: 6.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01574/0.444, allocations: 6.287 MB / 0.5441 GB, free: 3.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.4441, allocations: 177 kB / 0.5442 GB, free: 3.375 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:15:3-17:53:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.wRef has no value, and is fixed during initialization (fixed=true), using available start value (start=6.283185307179586 * smpm1.fsNominal / /*Real*/(smpm1.p)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:11:3-12:55:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter smpm1.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter smpm1.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.4459, allocations: 1.344 MB / 0.5456 GB, free: 2.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.4461, allocations: 50.56 kB / 0.5456 GB, free: 2.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/0.4467, allocations: 0.9915 MB / 0.5466 GB, free: 1.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.447, allocations: 450.1 kB / 0.547 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.4474, allocations: 268.9 kB / 0.5473 GB, free: 1.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.151e-05/0.4474, allocations: 301.1 kB / 0.5475 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.4487, allocations: 0.7485 MB / 0.5483 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.4502, allocations: 1.174 MB / 0.5494 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/0.4603, allocations: 3.957 MB / 0.5533 GB, free: 13.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.4603, allocations: 4 kB / 0.5533 GB, free: 13.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006632/0.4669, allocations: 2.71 MB / 0.5559 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/0.467, allocations: 37.7 kB / 0.556 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.467, allocations: 12 kB / 0.556 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/0.4695, allocations: 0.598 MB / 0.5566 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.4712, allocations: 408.3 kB / 0.557 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.4832, allocations: 9.022 MB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.4849, allocations: 135.8 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.485, allocations: 67.38 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = \"A\" fixed = true stateSelect=StateSelect.prefer ) \"Stator zero-sequence current\" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real smpm1.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] smpm1.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002598/0.4876, allocations: 1.259 MB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001752/0.4894, allocations: 1.175 MB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01071/0.5001, allocations: 3.909 MB / 0.5722 GB, free: 9.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-05/0.5001, allocations: 7.984 kB / 0.5722 GB, free: 9.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006532/0.5066, allocations: 2.689 MB / 0.5748 GB, free: 6.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.5067, allocations: 39.25 kB / 0.5748 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.5067, allocations: 19.94 kB / 0.5748 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/0.5091, allocations: 0.5988 MB / 0.5754 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.5108, allocations: 402.9 kB / 0.5758 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.5228, allocations: 9.034 MB / 0.5846 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.5246, allocations: 135.9 kB / 0.5848 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.5248, allocations: 71.98 kB / 0.5848 GB, free: 11.71 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = \"A\" fixed = true stateSelect=StateSelect.prefer ) \"Stator zero-sequence current\" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real smpm1.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] smpm1.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.tqRef.count,$PRE.tqRef.T_start,tqRef.count,tqRef.T_start,myMTPA.limiting.y,$whenCondition1,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000527/0.5253, allocations: 300.2 kB / 0.5851 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.5256, allocations: 163 kB / 0.5853 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005965/0.5316, allocations: 2.392 MB / 0.5876 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.5316, allocations: 12 kB / 0.5876 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5316, allocations: 4 kB / 0.5876 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.5316, allocations: 11.03 kB / 0.5876 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.5418, allocations: 4.628 MB / 0.5922 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.5418, allocations: 4.281 kB / 0.5922 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.5431, allocations: 284.7 kB / 0.5924 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/0.5453, allocations: 0.5829 MB / 0.593 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.5454, allocations: 31.98 kB / 0.593 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.5571, allocations: 9.169 MB / 0.602 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5571, allocations: 4.031 kB / 0.602 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007542/0.5647, allocations: 3.421 MB / 0.6053 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.5658, allocations: 316.8 kB / 0.6056 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.5661, allocations: 35.92 kB / 0.6057 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.5671, allocations: 107.9 kB / 0.6058 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003714/0.5675, allocations: 115.6 kB / 0.6059 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/0.5676, allocations: 39.98 kB / 0.6059 GB, free: 5.551 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001753/0.5693, allocations: 0.9089 MB / 0.6068 GB, free: 4.641 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5693, allocations: 0 / 0.6068 GB, free: 4.641 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002714/0.572, allocations: 0.7812 MB / 0.6076 GB, free: 3.859 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (inertia.w,smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder.y,myMTPA.firstOrder1.y,tRes.phi) * Number of discrete variables: 4 ($whenCondition1,myMTPA.limiting.y,tqRef.T_start,tqRef.count) * Number of discrete states: 1 (tqRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,4), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007846/0.5799, allocations: 4.06 MB / 0.6115 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009379/0.5893, allocations: 4.522 MB / 0.616 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.5893, allocations: 4 kB / 0.616 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003376/0.5927, allocations: 1.708 MB / 0.6176 GB, free: 9.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.5949, allocations: 431.6 kB / 0.618 GB, free: 9.012 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03089/0.6257, allocations: 16.78 MB / 0.6344 GB, free: 7.773 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/0.6274, allocations: 1.68 MB / 0.6361 GB, free: 6.059 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00151/0.6289, allocations: 489 kB / 0.6365 GB, free: 5.574 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/0.6302, allocations: 0.7726 MB / 0.6373 GB, free: 4.801 MB / 478.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6302, allocations: 0 / 0.6373 GB, free: 4.801 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/0.7568, allocations: 49.79 MB / 0.6859 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/17.39, allocations: 7.328 kB / 0.6859 GB, free: 3.449 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.80259162816219] Failed to read output from testmodel.py, exit status != 0: 17.53807032504119 17.563763138 17.169921261 Calling exit ...