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.001643/0.001643, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002046/0.002046, allocations: 215.1 kB / 23.04 MB, free: 5.074 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.04392/0.04392, allocations: 8.548 MB / 321.8 MB, free: 10.6 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.001934/0.001934, allocations: 68.08 kB / 447.7 MB, free: 76 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1323, allocations: 55.41 MB / 0.4913 GB, free: 8.559 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.01442/0.1467, allocations: 10.04 MB / 0.5011 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009061/0.1557, allocations: 2.902 MB / 0.504 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.158, allocations: 63.56 kB / 0.504 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.1598, allocations: 0.5432 MB / 0.5046 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.1632, allocations: 0.7922 MB / 0.5053 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.1646, allocations: 0.5069 MB / 0.5058 GB, free: 9.645 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.004026/0.1686, allocations: 2.581 MB / 0.5084 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.1704, allocations: 1.001 MB / 0.5093 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.1723, allocations: 1.129 MB / 0.5104 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/0.1747, allocations: 1.397 MB / 0.5118 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004521/0.1751, allocations: 292 kB / 0.5121 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007606/0.1759, allocations: 387.8 kB / 0.5125 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008491/0.1767, allocations: 0.818 MB / 0.5133 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.1782, allocations: 1.303 MB / 0.5145 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2592/0.4374, allocations: 3.71 MB / 0.5182 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4374, allocations: 0 / 0.5182 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4374, allocations: 5.375 kB / 0.5182 GB, free: 13.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001148/0.4375, allocations: 0 / 0.5182 GB, free: 13.91 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.006387/0.4439, allocations: 2.744 MB / 0.5208 GB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4439, allocations: 10.06 kB / 0.5208 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.703e-05/0.444, allocations: 52.2 kB / 0.5209 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003822/0.4444, allocations: 285.9 kB / 0.5212 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007156/0.4451, allocations: 285.6 kB / 0.5214 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.4475, allocations: 1.369 MB / 0.5228 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.4477, allocations: 189.4 kB / 0.523 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/0.448, allocations: 196.5 kB / 0.5231 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004406/0.4524, allocations: 2.595 MB / 0.5257 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.098e-05/0.4524, allocations: 12.91 kB / 0.5257 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001886/0.4526, allocations: 78.59 kB / 0.5258 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.4527, allocations: 100 kB / 0.5259 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004305/0.4571, allocations: 2.184 MB / 0.528 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.4704, allocations: 8.086 MB / 0.5359 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.4734, allocations: 1.34 MB / 0.5372 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.4749, allocations: 0.7495 MB / 0.5379 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.4751, allocations: 49.66 kB / 0.538 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/0.4766, allocations: 0.8014 MB / 0.5388 GB, free: 7.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.695e-06/0.4766, allocations: 0 / 0.5388 GB, free: 7.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01681/0.4934, allocations: 6.289 MB / 0.5449 GB, free: 3.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.4935, allocations: 168.5 kB / 0.5451 GB, free: 3.801 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.001653/0.4951, allocations: 1.347 MB / 0.5464 GB, free: 3.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.4952, allocations: 48.95 kB / 0.5464 GB, free: 3.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005636/0.4958, allocations: 0.9915 MB / 0.5474 GB, free: 2.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.496, allocations: 446.9 kB / 0.5478 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/0.4964, allocations: 268.5 kB / 0.5481 GB, free: 1.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.383e-05/0.4965, allocations: 302.5 kB / 0.5484 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.4977, allocations: 0.7519 MB / 0.5491 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.4992, allocations: 1.178 MB / 0.5503 GB, free: 24 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.5096, allocations: 3.958 MB / 0.5541 GB, free: 13.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.5097, allocations: 5.531 kB / 0.5541 GB, free: 13.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006496/0.5161, allocations: 2.699 MB / 0.5568 GB, free: 11.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/0.5162, allocations: 45.69 kB / 0.5568 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.5162, allocations: 12 kB / 0.5568 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/0.5188, allocations: 0.5976 MB / 0.5574 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.5204, allocations: 412.8 kB / 0.5578 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.5325, allocations: 9.008 MB / 0.5666 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.5347, allocations: 147.8 kB / 0.5667 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.5349, allocations: 66.52 kB / 0.5668 GB, free: 368 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.002803/0.5377, allocations: 1.267 MB / 0.568 GB, free: 15.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001886/0.5396, allocations: 1.165 MB / 0.5692 GB, free: 13.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01155/0.5511, allocations: 3.922 MB / 0.573 GB, free: 9.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.337e-05/0.5511, allocations: 4 kB / 0.573 GB, free: 9.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.007506/0.5587, allocations: 2.695 MB / 0.5756 GB, free: 7.055 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/0.5587, allocations: 37.64 kB / 0.5757 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/0.5587, allocations: 12 kB / 0.5757 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.5614, allocations: 0.6003 MB / 0.5763 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.5631, allocations: 406.6 kB / 0.5767 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.5756, allocations: 9.024 MB / 0.5855 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.5775, allocations: 147.8 kB / 0.5856 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003341/0.5778, allocations: 64.12 kB / 0.5857 GB, free: 12.25 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.0006541/0.5785, allocations: 300.2 kB / 0.586 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005097/0.579, allocations: 163 kB / 0.5861 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006305/0.5853, allocations: 2.388 MB / 0.5884 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.5853, allocations: 12 kB / 0.5885 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.5853, allocations: 4 kB / 0.5885 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.5854, allocations: 6.609 kB / 0.5885 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.5974, allocations: 4.629 MB / 0.593 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.5974, allocations: 4 kB / 0.593 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.5989, allocations: 290.9 kB / 0.5933 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002327/0.6012, allocations: 0.5773 MB / 0.5938 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/0.6014, allocations: 35.97 kB / 0.5939 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/0.6139, allocations: 9.17 MB / 0.6028 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.6139, allocations: 7.25 kB / 0.6028 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008715/0.6227, allocations: 3.421 MB / 0.6062 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/0.6242, allocations: 310.8 kB / 0.6065 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007656/0.625, allocations: 35.94 kB / 0.6065 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.6264, allocations: 103.9 kB / 0.6066 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005168/0.6269, allocations: 119.4 kB / 0.6067 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.6271, allocations: 40.12 kB / 0.6067 GB, free: 6.086 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003078/0.6302, allocations: 0.9089 MB / 0.6076 GB, free: 5.176 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6302, allocations: 0 / 0.6076 GB, free: 5.176 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004914/0.6351, allocations: 0.7773 MB / 0.6084 GB, free: 4.398 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.009292/0.6444, allocations: 4.065 MB / 0.6124 GB, free: 300 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01032/0.6547, allocations: 4.527 MB / 0.6168 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.6547, allocations: 0.8125 kB / 0.6168 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003723/0.6584, allocations: 1.713 MB / 0.6185 GB, free: 9.957 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.6611, allocations: 426.6 kB / 0.6189 GB, free: 9.555 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0407/0.7018, allocations: 16.78 MB / 0.6353 GB, free: 8.309 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/0.7041, allocations: 1.684 MB / 0.6369 GB, free: 6.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001904/0.706, allocations: 493 kB / 0.6374 GB, free: 6.102 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/0.7075, allocations: 0.7726 MB / 0.6381 GB, free: 5.328 MB / 478.1 MB Notification: Performance of SimCode: time 1.453e-06/0.7075, allocations: 0 / 0.6381 GB, free: 5.328 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1255/0.833, allocations: 49.81 MB / 0.6868 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.27/17.1, allocations: 7.625 kB / 0.6868 GB, free: 3.961 MB / 0.5137 GB " [Timeout remaining time 643] (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.09928382700309] Failed to read output from testmodel.py, exit status != 0: 17.316224633948877 17.344851663 16.901999017 Calling exit ...