Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.00135/0.00135, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001644/0.001644, allocations: 212.3 kB / 22.25 MB, free: 5.117 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04328/0.04328, allocations: 8.541 MB / 321 MB, free: 10.63 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_latest_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.002095/0.002095, allocations: 67.91 kB / 446.9 MB, free: 8 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1207, allocations: 55.42 MB / 0.4906 GB, free: 8.488 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.01345/0.1341, allocations: 10.03 MB / 0.5004 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006584/0.1407, allocations: 2.914 MB / 0.5032 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.1423, allocations: 63.56 kB / 0.5033 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.1442, allocations: 0.5354 MB / 0.5038 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.1471, allocations: 0.796 MB / 0.5046 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1485, allocations: 0.507 MB / 0.5051 GB, free: 9.57 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.004029/0.1526, allocations: 2.581 MB / 0.5076 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.1545, allocations: 1.001 MB / 0.5086 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.157, allocations: 1.125 MB / 0.5097 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.1597, allocations: 1.405 MB / 0.511 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005893/0.1603, allocations: 292 kB / 0.5113 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.1614, allocations: 383.8 kB / 0.5117 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.1625, allocations: 0.8219 MB / 0.5125 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00213/0.1647, allocations: 1.303 MB / 0.5138 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2445/0.4092, allocations: 3.71 MB / 0.5174 GB, free: 14.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4092, allocations: 3.062 kB / 0.5174 GB, free: 14.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4092, allocations: 0 / 0.5174 GB, free: 14.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001579/0.4094, allocations: 0 / 0.5174 GB, free: 14.33 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.007756/0.4171, allocations: 2.744 MB / 0.5201 GB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.4172, allocations: 7.094 kB / 0.5201 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005172/0.4177, allocations: 293.3 kB / 0.5204 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000803/0.4185, allocations: 284.6 kB / 0.5206 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.4219, allocations: 1.366 MB / 0.522 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.4221, allocations: 180.4 kB / 0.5221 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/0.4226, allocations: 202.9 kB / 0.5223 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005787/0.4284, allocations: 2.598 MB / 0.5249 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-05/0.4285, allocations: 9.984 kB / 0.5249 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.4287, allocations: 75.84 kB / 0.5249 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002044/0.4289, allocations: 101.7 kB / 0.525 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004878/0.4338, allocations: 2.18 MB / 0.5272 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.4468, allocations: 8.091 MB / 0.5351 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/0.4495, allocations: 1.337 MB / 0.5364 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.4509, allocations: 0.744 MB / 0.5371 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.4511, allocations: 57.33 kB / 0.5372 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/0.4524, allocations: 0.8044 MB / 0.5379 GB, free: 7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.936e-06/0.4524, allocations: 0.9688 kB / 0.5379 GB, free: 7 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01536/0.4677, allocations: 6.281 MB / 0.5441 GB, free: 3.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.4678, allocations: 168.2 kB / 0.5442 GB, free: 3.613 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.001831/0.4696, allocations: 1.348 MB / 0.5456 GB, free: 2.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.4698, allocations: 47.61 kB / 0.5456 GB, free: 2.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006216/0.4704, allocations: 0.9979 MB / 0.5466 GB, free: 1.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.4707, allocations: 446.7 kB / 0.547 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/0.4711, allocations: 269.3 kB / 0.5473 GB, free: 1.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.4711, allocations: 301.1 kB / 0.5475 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.4724, allocations: 0.7489 MB / 0.5483 GB, free: 0.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.474, allocations: 1.178 MB / 0.5494 GB, free: 15.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.4844, allocations: 3.949 MB / 0.5533 GB, free: 13.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.4844, allocations: 4 kB / 0.5533 GB, free: 13.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006622/0.491, allocations: 2.705 MB / 0.5559 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.4911, allocations: 34.08 kB / 0.556 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.4911, allocations: 16 kB / 0.556 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/0.4937, allocations: 0.6076 MB / 0.5566 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.4955, allocations: 411.8 kB / 0.557 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.5079, allocations: 9.016 MB / 0.5658 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.5098, allocations: 139.9 kB / 0.5659 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.51, allocations: 71.3 kB / 0.566 GB, free: 12 kB / 398.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.002685/0.5127, allocations: 1.269 MB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001865/0.5145, allocations: 1.161 MB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01139/0.5259, allocations: 3.927 MB / 0.5722 GB, free: 9.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.601e-05/0.5259, allocations: 4 kB / 0.5722 GB, free: 9.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.007275/0.5332, allocations: 2.679 MB / 0.5748 GB, free: 6.715 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.5333, allocations: 38.08 kB / 0.5748 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/0.5333, allocations: 19.94 kB / 0.5749 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.5357, allocations: 0.6009 MB / 0.5754 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.5375, allocations: 409.5 kB / 0.5758 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.5492, allocations: 9.029 MB / 0.5846 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.5511, allocations: 139.9 kB / 0.5848 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.5512, allocations: 71.92 kB / 0.5849 GB, free: 11.9 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.0005788/0.5518, allocations: 294.8 kB / 0.5851 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003769/0.5522, allocations: 159 kB / 0.5853 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005934/0.5581, allocations: 2.381 MB / 0.5876 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.5581, allocations: 16 kB / 0.5876 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.5581, allocations: 3.984 kB / 0.5876 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.5582, allocations: 3.984 kB / 0.5876 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.5682, allocations: 4.635 MB / 0.5922 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.5682, allocations: 0 / 0.5922 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.5696, allocations: 294.2 kB / 0.5924 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002182/0.5717, allocations: 0.5758 MB / 0.593 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.5719, allocations: 31.98 kB / 0.593 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/0.5836, allocations: 9.172 MB / 0.602 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5837, allocations: 0 / 0.602 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007521/0.5912, allocations: 3.426 MB / 0.6053 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.5922, allocations: 325.9 kB / 0.6056 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.5925, allocations: 31.94 kB / 0.6057 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.5935, allocations: 103.9 kB / 0.6058 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003385/0.5939, allocations: 124 kB / 0.6059 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-05/0.594, allocations: 35.98 kB / 0.6059 GB, free: 5.742 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.5955, allocations: 0.9128 MB / 0.6068 GB, free: 4.828 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5955, allocations: 0 / 0.6068 GB, free: 4.828 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002587/0.5981, allocations: 0.7812 MB / 0.6076 GB, free: 4.047 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.007925/0.606, allocations: 4.061 MB / 0.6115 GB, free: 15.94 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00917/0.6151, allocations: 4.53 MB / 0.616 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.6152, allocations: 0 / 0.616 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003525/0.6187, allocations: 1.701 MB / 0.6176 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.6209, allocations: 425.9 kB / 0.618 GB, free: 9.211 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03551/0.6564, allocations: 16.79 MB / 0.6344 GB, free: 7.969 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/0.6581, allocations: 1.676 MB / 0.6361 GB, free: 6.258 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001662/0.6597, allocations: 493 kB / 0.6365 GB, free: 5.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/0.661, allocations: 0.7804 MB / 0.6373 GB, free: 4.988 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.661, allocations: 0 / 0.6373 GB, free: 4.988 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1612/0.8222, allocations: 49.78 MB / 0.6859 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.58/17.4, allocations: 11.62 kB / 0.6859 GB, free: 3.641 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.872040804009885] Failed to read output from testmodel.py, exit status != 0: 17.55477603105828 17.571470174 17.158963458 Calling exit ...