Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002574/0.002574, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.0434/0.0434, allocations: 8.547 MB / 321.8 MB, free: 10.43 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_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.00203/0.00203, allocations: 63.91 kB / 447.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1084, allocations: 55.42 MB / 0.4913 GB, free: 8.301 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.01141/0.1198, allocations: 8.774 MB / 0.4998 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005552/0.1253, allocations: 2.77 MB / 0.5025 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009746/0.1263, allocations: 67.56 kB / 0.5026 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.1276, allocations: 0.5003 MB / 0.5031 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.1297, allocations: 0.7961 MB / 0.5039 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1309, allocations: 0.4973 MB / 0.5043 GB, free: 10.83 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.003239/0.1341, allocations: 2.58 MB / 0.5069 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.1355, allocations: 1.009 MB / 0.5078 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.1375, allocations: 1.125 MB / 0.5089 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.1398, allocations: 1.405 MB / 0.5103 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005575/0.1403, allocations: 292 kB / 0.5106 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008209/0.1412, allocations: 375.8 kB / 0.511 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000872/0.142, allocations: 0.8297 MB / 0.5118 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.1435, allocations: 1.05 MB / 0.5128 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2129/0.3564, allocations: 3.738 MB / 0.5164 GB, free: 13.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3564, allocations: 0 / 0.5164 GB, free: 13.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3564, allocations: 0 / 0.5164 GB, free: 13.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001354/0.3565, allocations: 0 / 0.5164 GB, free: 13.73 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.006863/0.3634, allocations: 2.741 MB / 0.5191 GB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.3634, allocations: 11.41 kB / 0.5191 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.712e-05/0.3635, allocations: 52.3 kB / 0.5192 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003859/0.3639, allocations: 287.4 kB / 0.5195 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008844/0.3648, allocations: 284.3 kB / 0.5197 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/0.3675, allocations: 1.371 MB / 0.5211 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.3677, allocations: 180.8 kB / 0.5212 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.368, allocations: 203.2 kB / 0.5214 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00526/0.3733, allocations: 2.695 MB / 0.5241 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-05/0.3733, allocations: 10.86 kB / 0.5241 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.3735, allocations: 79.12 kB / 0.5241 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.3736, allocations: 98.38 kB / 0.5242 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004471/0.3781, allocations: 2.182 MB / 0.5264 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.3898, allocations: 7.479 MB / 0.5337 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.3925, allocations: 1.331 MB / 0.535 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.3938, allocations: 0.75 MB / 0.5357 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.394, allocations: 48.33 kB / 0.5358 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001277/0.3953, allocations: 0.8781 MB / 0.5366 GB, free: 7.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.346e-06/0.3953, allocations: 0 / 0.5366 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01507/0.4104, allocations: 6.279 MB / 0.5427 GB, free: 4.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.4104, allocations: 177.7 kB / 0.5429 GB, free: 4.637 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.001638/0.412, allocations: 1.34 MB / 0.5442 GB, free: 3.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.4122, allocations: 47.36 kB / 0.5443 GB, free: 3.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005615/0.4127, allocations: 0.9937 MB / 0.5452 GB, free: 2.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.4129, allocations: 448.7 kB / 0.5457 GB, free: 2.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003793/0.4133, allocations: 274.1 kB / 0.5459 GB, free: 2.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.312e-05/0.4134, allocations: 304.6 kB / 0.5462 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.4145, allocations: 0.7705 MB / 0.547 GB, free: 1.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.4158, allocations: 1.309 MB / 0.5482 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/0.426, allocations: 3.953 MB / 0.5521 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/0.426, allocations: 3.969 kB / 0.5521 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006599/0.4326, allocations: 2.734 MB / 0.5548 GB, free: 12.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.618e-05/0.4327, allocations: 43.56 kB / 0.5548 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.4327, allocations: 16 kB / 0.5548 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.4353, allocations: 0.5986 MB / 0.5554 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.4371, allocations: 408.1 kB / 0.5558 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.4492, allocations: 8.964 MB / 0.5646 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.4513, allocations: 135.8 kB / 0.5647 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.4515, allocations: 68.05 kB / 0.5648 GB, free: 1.672 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.002504/0.454, allocations: 1.284 MB / 0.566 GB, free: 392 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001822/0.4558, allocations: 1.298 MB / 0.5673 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01092/0.4668, allocations: 3.925 MB / 0.5711 GB, free: 10.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.267e-05/0.4668, allocations: 4 kB / 0.5711 GB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006396/0.4732, allocations: 2.712 MB / 0.5738 GB, free: 8.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.4732, allocations: 45.62 kB / 0.5738 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.4732, allocations: 17.5 kB / 0.5738 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/0.4757, allocations: 0.5939 MB / 0.5744 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.4773, allocations: 404 kB / 0.5748 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.4889, allocations: 8.96 MB / 0.5835 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.4906, allocations: 143.9 kB / 0.5837 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.4908, allocations: 71.97 kB / 0.5837 GB, free: 13.41 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.0004952/0.4912, allocations: 296.1 kB / 0.584 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.4916, allocations: 163 kB / 0.5842 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005751/0.4973, allocations: 2.395 MB / 0.5865 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.4973, allocations: 14.08 kB / 0.5865 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4973, allocations: 8 kB / 0.5865 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.4973, allocations: 7.969 kB / 0.5866 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009749/0.5071, allocations: 4.374 MB / 0.5908 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5071, allocations: 4 kB / 0.5908 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.5084, allocations: 290.7 kB / 0.5911 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002149/0.5106, allocations: 0.5779 MB / 0.5917 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.5107, allocations: 31.97 kB / 0.5917 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/0.5221, allocations: 9.098 MB / 0.6006 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.5222, allocations: 6.844 kB / 0.6006 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007368/0.5295, allocations: 3.421 MB / 0.6039 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008944/0.5304, allocations: 314.8 kB / 0.6042 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/0.5307, allocations: 38.33 kB / 0.6043 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5317, allocations: 99.88 kB / 0.6044 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003315/0.5321, allocations: 128 kB / 0.6045 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.925e-05/0.5322, allocations: 43.97 kB / 0.6045 GB, free: 7.547 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001407/0.5336, allocations: 0.9089 MB / 0.6054 GB, free: 6.637 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5336, allocations: 0 / 0.6054 GB, free: 6.637 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002437/0.536, allocations: 0.7773 MB / 0.6062 GB, free: 5.859 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (inertia.w,smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder.y,myMTPA.firstOrder1.y,tRes.phi) * Number of discrete variables: 4 ($whenCondition1,myMTPA.limiting.y,tqRef.T_start,tqRef.count) * Number of discrete states: 1 (tqRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,4), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0077/0.5437, allocations: 4.068 MB / 0.6102 GB, free: 1.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008966/0.5527, allocations: 4.58 MB / 0.6146 GB, free: 13.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.5527, allocations: 256 / 0.6146 GB, free: 13.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003259/0.5559, allocations: 1.703 MB / 0.6163 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.558, allocations: 430.5 kB / 0.6167 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03101/0.589, allocations: 16.89 MB / 0.6332 GB, free: 9.574 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.5905, allocations: 1.108 MB / 0.6343 GB, free: 8.426 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001584/0.5921, allocations: 489 kB / 0.6347 GB, free: 7.941 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/0.5933, allocations: 0.7726 MB / 0.6355 GB, free: 7.168 MB / 478.1 MB Notification: Performance of SimCode: time 1.103e-06/0.5933, allocations: 4 kB / 0.6355 GB, free: 7.164 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/0.7484, allocations: 51.16 MB / 0.6855 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.14, allocations: 14.77 kB / 0.6855 GB, free: 4.586 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.927162145031616] Failed to read output from testmodel.py, exit status != 0: 17.35442739899736 17.381044234 17.019780853 Calling exit ...