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.001267/0.001267, allocations: 105.2 kB / 19.73 MB, free: 2.113 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.002034/0.002034, allocations: 214.7 kB / 23.03 MB, free: 4.91 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.04268/0.04268, allocations: 8.547 MB / 321.8 MB, free: 10.4 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="cs",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.002041/0.002041, allocations: 63.91 kB / 447.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 55.41 MB / 0.4913 GB, free: 8.105 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.01212/0.1166, allocations: 8.772 MB / 0.4998 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007066/0.1236, allocations: 2.786 MB / 0.5025 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.1255, allocations: 59.62 kB / 0.5026 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.1278, allocations: 0.5042 MB / 0.5031 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004026/0.1318, allocations: 0.7883 MB / 0.5039 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.1339, allocations: 0.4993 MB / 0.5044 GB, free: 10.64 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.004945/0.1389, allocations: 2.581 MB / 0.5069 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.1413, allocations: 1.009 MB / 0.5079 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.1439, allocations: 1.125 MB / 0.509 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/0.147, allocations: 1.401 MB / 0.5103 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009518/0.148, allocations: 295.9 kB / 0.5106 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.1495, allocations: 371.9 kB / 0.511 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.151, allocations: 0.8258 MB / 0.5118 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002171/0.1531, allocations: 1.05 MB / 0.5128 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2192/0.3723, allocations: 3.739 MB / 0.5164 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3723, allocations: 0 / 0.5164 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3723, allocations: 3.906 kB / 0.5165 GB, free: 13.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001198/0.3724, allocations: 0 / 0.5165 GB, free: 13.89 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.006082/0.3785, allocations: 2.741 MB / 0.5191 GB, free: 12.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.3786, allocations: 10.59 kB / 0.5191 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.61e-05/0.3786, allocations: 56.89 kB / 0.5192 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003835/0.379, allocations: 285.5 kB / 0.5195 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007143/0.3797, allocations: 284 kB / 0.5197 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/0.3825, allocations: 1.366 MB / 0.5211 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.3827, allocations: 185.9 kB / 0.5212 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/0.3831, allocations: 201.9 kB / 0.5214 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004896/0.3879, allocations: 2.691 MB / 0.5241 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.529e-05/0.388, allocations: 12.08 kB / 0.5241 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.3882, allocations: 81.12 kB / 0.5242 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/0.3883, allocations: 97.61 kB / 0.5242 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004444/0.3928, allocations: 2.186 MB / 0.5264 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.4059, allocations: 7.466 MB / 0.5337 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.4091, allocations: 1.34 MB / 0.535 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.4104, allocations: 0.7527 MB / 0.5357 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.4106, allocations: 45.08 kB / 0.5358 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.412, allocations: 0.8729 MB / 0.5366 GB, free: 7.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.237e-06/0.412, allocations: 0 / 0.5366 GB, free: 7.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01598/0.428, allocations: 6.291 MB / 0.5428 GB, free: 4.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.4281, allocations: 168.8 kB / 0.5429 GB, free: 4.691 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.002095/0.4302, allocations: 1.345 MB / 0.5442 GB, free: 3.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002124/0.4304, allocations: 47.48 kB / 0.5443 GB, free: 3.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00067/0.4311, allocations: 0.9959 MB / 0.5453 GB, free: 3.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.4314, allocations: 446.3 kB / 0.5457 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004398/0.4318, allocations: 268.4 kB / 0.5459 GB, free: 2.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.033e-05/0.4319, allocations: 306.7 kB / 0.5462 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.4331, allocations: 0.7766 MB / 0.547 GB, free: 1.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.4345, allocations: 1.31 MB / 0.5483 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/0.4447, allocations: 3.952 MB / 0.5521 GB, free: 14.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.4447, allocations: 3.375 kB / 0.5521 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006298/0.451, allocations: 2.734 MB / 0.5548 GB, free: 12.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/0.4511, allocations: 45.75 kB / 0.5548 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.4511, allocations: 12 kB / 0.5548 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/0.4537, allocations: 0.6007 MB / 0.5554 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.4554, allocations: 409.8 kB / 0.5558 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.4673, allocations: 8.959 MB / 0.5646 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.4691, allocations: 140.7 kB / 0.5647 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002411/0.4694, allocations: 68.64 kB / 0.5648 GB, free: 1.695 MB / 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.002664/0.472, allocations: 1.297 MB / 0.566 GB, free: 408 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001844/0.4739, allocations: 1.294 MB / 0.5673 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01106/0.4849, allocations: 3.92 MB / 0.5711 GB, free: 10.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.45e-05/0.485, allocations: 7.656 kB / 0.5711 GB, free: 10.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006534/0.4915, allocations: 2.706 MB / 0.5738 GB, free: 8.176 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.4915, allocations: 42 kB / 0.5738 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.4916, allocations: 16 kB / 0.5738 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/0.4941, allocations: 0.6027 MB / 0.5744 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.4958, allocations: 403.3 kB / 0.5748 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.5076, allocations: 8.967 MB / 0.5836 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.5093, allocations: 139.8 kB / 0.5837 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.5095, allocations: 68.05 kB / 0.5838 GB, free: 13.43 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.000554/0.5101, allocations: 294.4 kB / 0.584 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003714/0.5105, allocations: 159 kB / 0.5842 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005783/0.5162, allocations: 2.385 MB / 0.5865 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.5163, allocations: 22.8 kB / 0.5865 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5163, allocations: 0 / 0.5865 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.5163, allocations: 11.97 kB / 0.5866 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009712/0.526, allocations: 4.382 MB / 0.5908 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.526, allocations: 5.969 kB / 0.5908 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.5273, allocations: 289.4 kB / 0.5911 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.5295, allocations: 0.5738 MB / 0.5917 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/0.5296, allocations: 35.97 kB / 0.5917 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/0.5411, allocations: 9.11 MB / 0.6006 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.5411, allocations: 6.625 kB / 0.6006 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007543/0.5487, allocations: 3.422 MB / 0.604 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.5499, allocations: 306.8 kB / 0.6043 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/0.5502, allocations: 39.92 kB / 0.6043 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.5513, allocations: 103.9 kB / 0.6044 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004029/0.5517, allocations: 120 kB / 0.6045 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.5518, allocations: 35.98 kB / 0.6045 GB, free: 7.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001523/0.5533, allocations: 0.9128 MB / 0.6054 GB, free: 6.668 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5533, allocations: 1.969 kB / 0.6054 GB, free: 6.668 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002735/0.5561, allocations: 0.7812 MB / 0.6062 GB, free: 5.887 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.007811/0.5639, allocations: 4.056 MB / 0.6102 GB, free: 1.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009226/0.5731, allocations: 4.583 MB / 0.6146 GB, free: 13.13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.5731, allocations: 4.062 kB / 0.6146 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003244/0.5764, allocations: 1.706 MB / 0.6163 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.5784, allocations: 417.1 kB / 0.6167 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03027/0.6087, allocations: 16.9 MB / 0.6332 GB, free: 9.602 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/0.6101, allocations: 1.104 MB / 0.6343 GB, free: 8.457 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001644/0.6118, allocations: 493 kB / 0.6348 GB, free: 7.969 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.613, allocations: 0.7726 MB / 0.6355 GB, free: 7.195 MB / 478.1 MB Notification: Performance of SimCode: time 9.81e-07/0.613, allocations: 4 kB / 0.6355 GB, free: 7.191 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1502/0.7632, allocations: 51.16 MB / 0.6855 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/17.31, allocations: 11.33 kB / 0.6855 GB, free: 4.609 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: 21.02506064402405] Failed to read output from testmodel.py, exit status != 0: 17.51982059504371 17.535654786 17.159996041 Calling exit ...