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.001573/0.001573, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002083/0.002083, allocations: 220.9 kB / 23.01 MB, free: 4.609 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.04144/0.04144, allocations: 8.556 MB / 321.7 MB, free: 10.64 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: translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") [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.002089/0.002089, allocations: 71.89 kB / 448.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1035, allocations: 55.42 MB / 0.4918 GB, free: 8.004 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.01272/0.1162, allocations: 10.03 MB / 0.5016 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005728/0.1219, allocations: 2.91 MB / 0.5044 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.1232, allocations: 63.56 kB / 0.5045 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.1247, allocations: 0.5394 MB / 0.505 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.1271, allocations: 0.7999 MB / 0.5058 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1283, allocations: 0.4992 MB / 0.5063 GB, free: 9.09 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.003522/0.1319, allocations: 2.581 MB / 0.5088 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.1334, allocations: 1.001 MB / 0.5098 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.1351, allocations: 1.129 MB / 0.5109 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.1371, allocations: 1.401 MB / 0.5123 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004256/0.1376, allocations: 292 kB / 0.5125 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008731/0.1384, allocations: 387.8 kB / 0.5129 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008804/0.1393, allocations: 0.8219 MB / 0.5137 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.1408, allocations: 1.299 MB / 0.515 GB, free: 120 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2038/0.3446, allocations: 3.711 MB / 0.5186 GB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3446, allocations: 0 / 0.5186 GB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3446, allocations: 1.156 kB / 0.5186 GB, free: 14.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.93e-05/0.3447, allocations: 0 / 0.5186 GB, free: 14.29 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.005958/0.3506, allocations: 2.743 MB / 0.5213 GB, free: 13.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.3507, allocations: 7.562 kB / 0.5213 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007168/0.3514, allocations: 285.8 kB / 0.5216 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.3539, allocations: 1.371 MB / 0.5229 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.3541, allocations: 180.5 kB / 0.5231 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.3544, allocations: 204.3 kB / 0.5233 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004933/0.3594, allocations: 2.592 MB / 0.5258 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.713e-05/0.3594, allocations: 16.33 kB / 0.5258 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.3596, allocations: 77 kB / 0.5259 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.3597, allocations: 97.97 kB / 0.526 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004568/0.3643, allocations: 2.183 MB / 0.5281 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.3779, allocations: 8.091 MB / 0.536 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.3809, allocations: 1.344 MB / 0.5373 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.3824, allocations: 0.7491 MB / 0.5381 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/0.3826, allocations: 47 kB / 0.5381 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.3839, allocations: 0.7968 MB / 0.5389 GB, free: 7.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.557e-06/0.3839, allocations: 0 / 0.5389 GB, free: 7.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01574/0.3997, allocations: 6.29 MB / 0.545 GB, free: 4.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.3997, allocations: 172.3 kB / 0.5452 GB, free: 3.957 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.00193/0.4017, allocations: 1.349 MB / 0.5465 GB, free: 3.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.4018, allocations: 48.14 kB / 0.5466 GB, free: 3.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007092/0.4025, allocations: 0.9902 MB / 0.5475 GB, free: 2.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.4028, allocations: 448.7 kB / 0.548 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.4032, allocations: 268.5 kB / 0.5482 GB, free: 1.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.921e-05/0.4033, allocations: 302.3 kB / 0.5485 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.4045, allocations: 0.7529 MB / 0.5492 GB, free: 1.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.4058, allocations: 1.174 MB / 0.5504 GB, free: 188 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/0.416, allocations: 3.959 MB / 0.5542 GB, free: 13.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.416, allocations: 4 kB / 0.5543 GB, free: 13.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006813/0.4228, allocations: 2.705 MB / 0.5569 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.1e-05/0.4229, allocations: 37.7 kB / 0.5569 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/0.4229, allocations: 16 kB / 0.5569 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/0.4253, allocations: 0.5936 MB / 0.5575 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.4271, allocations: 408.4 kB / 0.5579 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.4392, allocations: 9.019 MB / 0.5667 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.4411, allocations: 143.9 kB / 0.5669 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/0.4413, allocations: 67.97 kB / 0.5669 GB, free: 320 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.002502/0.4438, allocations: 1.262 MB / 0.5682 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001806/0.4456, allocations: 1.165 MB / 0.5693 GB, free: 13.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01045/0.456, allocations: 3.919 MB / 0.5731 GB, free: 9.664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-05/0.456, allocations: 6.625 kB / 0.5731 GB, free: 9.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006339/0.4624, allocations: 2.687 MB / 0.5758 GB, free: 7.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.4624, allocations: 41.69 kB / 0.5758 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.4624, allocations: 13.62 kB / 0.5758 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/0.4648, allocations: 0.5954 MB / 0.5764 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.4665, allocations: 411.7 kB / 0.5768 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.4782, allocations: 9.032 MB / 0.5856 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.4801, allocations: 139.9 kB / 0.5857 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/0.4803, allocations: 63.98 kB / 0.5858 GB, free: 12.22 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.0007083/0.481, allocations: 303.6 kB / 0.5861 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004823/0.4815, allocations: 159.1 kB / 0.5862 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005965/0.4874, allocations: 2.396 MB / 0.5886 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.4875, allocations: 12 kB / 0.5886 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4875, allocations: 0 / 0.5886 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/0.4875, allocations: 7.969 kB / 0.5886 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.4981, allocations: 4.635 MB / 0.5931 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.4981, allocations: 0 / 0.5931 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.4994, allocations: 287.8 kB / 0.5934 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/0.5016, allocations: 0.5801 MB / 0.594 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/0.5018, allocations: 31.98 kB / 0.594 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/0.5132, allocations: 9.171 MB / 0.6029 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5132, allocations: 0 / 0.6029 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007431/0.5206, allocations: 3.426 MB / 0.6063 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.5217, allocations: 306.8 kB / 0.6066 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.522, allocations: 31.98 kB / 0.6066 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5231, allocations: 107.8 kB / 0.6067 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003235/0.5234, allocations: 126 kB / 0.6068 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/0.5235, allocations: 35.98 kB / 0.6069 GB, free: 6.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001464/0.5249, allocations: 0.9154 MB / 0.6078 GB, free: 5.141 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5249, allocations: 0 / 0.6078 GB, free: 5.141 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003181/0.5281, allocations: 0.7812 MB / 0.6085 GB, free: 4.359 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.000448/0.5286, allocations: 190.7 kB / 0.6087 GB, free: 4.176 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009077/0.5376, allocations: 4.538 MB / 0.6131 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.5376, allocations: 0 / 0.6131 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003424/0.5411, allocations: 1.695 MB / 0.6148 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.5434, allocations: 432.1 kB / 0.6152 GB, free: 13.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008065/0.5515, allocations: 4.318 MB / 0.6194 GB, free: 9.082 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.553, allocations: 1.659 MB / 0.621 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000594/0.5536, allocations: 119.4 kB / 0.6212 GB, free: 7.27 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5536, allocations: 0 / 0.6212 GB, free: 7.27 MB / 462.1 MB Notification: Performance of Templates: time 0.09976/0.6534, allocations: 84.82 MB / 0.704 GB, free: 2.469 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile [Timeout 660] (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 & ./EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.991141081089154] Failed to read output from testmodel.py, exit status != 0: 0.6624222320970148 0.678765011 0.33089591300000004 Calling exit ...