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.002078/0.002078, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001619/0.001619, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.789 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.04672/0.04672, allocations: 8.543 MB / 321 MB, free: 10.41 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.002387/0.002387, allocations: 67.89 kB / 447.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1131, allocations: 55.42 MB / 0.491 GB, free: 7.648 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.01319/0.1263, allocations: 8.788 MB / 0.4996 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007917/0.1342, allocations: 2.782 MB / 0.5023 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.1359, allocations: 63.56 kB / 0.5023 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.1379, allocations: 0.5043 MB / 0.5028 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.1411, allocations: 0.7883 MB / 0.5036 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.1428, allocations: 0.5031 MB / 0.5041 GB, free: 10.16 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.004327/0.1471, allocations: 2.576 MB / 0.5066 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.1492, allocations: 0.958 MB / 0.5075 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.1513, allocations: 1.129 MB / 0.5087 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.1541, allocations: 1.307 MB / 0.5099 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009046/0.155, allocations: 292 kB / 0.5102 GB, free: 3.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.1565, allocations: 379.8 kB / 0.5106 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.1579, allocations: 0.8219 MB / 0.5114 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002021/0.16, allocations: 1.058 MB / 0.5124 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2475/0.4074, allocations: 3.73 MB / 0.516 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.006e-06/0.4074, allocations: 4.656 kB / 0.5161 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4074, allocations: 0 / 0.5161 GB, free: 14.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001208/0.4075, allocations: 3.156 kB / 0.5161 GB, free: 14.23 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.006341/0.4139, allocations: 2.737 MB / 0.5187 GB, free: 13.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4139, allocations: 11.53 kB / 0.5187 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007311/0.4147, allocations: 284.2 kB / 0.519 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/0.4174, allocations: 1.37 MB / 0.5203 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.4176, allocations: 185.3 kB / 0.5205 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/0.4179, allocations: 199.3 kB / 0.5207 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004687/0.4226, allocations: 2.693 MB / 0.5233 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.343e-05/0.4227, allocations: 11.55 kB / 0.5234 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.4229, allocations: 83.02 kB / 0.5234 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.423, allocations: 96.52 kB / 0.5235 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004335/0.4273, allocations: 2.179 MB / 0.5257 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.44, allocations: 7.174 MB / 0.5327 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003785/0.4438, allocations: 1.342 MB / 0.534 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.4457, allocations: 0.7383 MB / 0.5347 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.446, allocations: 55.03 kB / 0.5347 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001501/0.4475, allocations: 0.8772 MB / 0.5356 GB, free: 7.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.506e-06/0.4475, allocations: 0 / 0.5356 GB, free: 7.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01621/0.4637, allocations: 6.262 MB / 0.5417 GB, free: 5.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.4638, allocations: 176.4 kB / 0.5419 GB, free: 5.215 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.001784/0.4656, allocations: 1.205 MB / 0.5431 GB, free: 4.551 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.4657, allocations: 45.3 kB / 0.5431 GB, free: 4.504 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006695/0.4664, allocations: 1.004 MB / 0.5441 GB, free: 3.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/0.4667, allocations: 445.3 kB / 0.5445 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003784/0.467, allocations: 275.2 kB / 0.5448 GB, free: 3.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.4671, allocations: 302.7 kB / 0.5451 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.4683, allocations: 0.7708 MB / 0.5458 GB, free: 2.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.4697, allocations: 1.308 MB / 0.5471 GB, free: 1.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.48, allocations: 3.954 MB / 0.551 GB, free: 15.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-05/0.48, allocations: 3.812 kB / 0.551 GB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006439/0.4865, allocations: 2.727 MB / 0.5536 GB, free: 13.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/0.4865, allocations: 40.61 kB / 0.5537 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.322e-05/0.4866, allocations: 12 kB / 0.5537 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002555/0.4891, allocations: 0.5995 MB / 0.5543 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.4909, allocations: 413 kB / 0.5546 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.503, allocations: 8.844 MB / 0.5633 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.5048, allocations: 147.8 kB / 0.5634 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.5049, allocations: 63.98 kB / 0.5635 GB, free: 2.695 MB / 398.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = \"A\" fixed = true stateSelect=StateSelect.prefer ) \"Stator zero-sequence current\" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real smpm1.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] smpm1.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002645/0.5076, allocations: 1.288 MB / 0.5647 GB, free: 1.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001939/0.5095, allocations: 1.297 MB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01109/0.5206, allocations: 3.92 MB / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.366e-05/0.5206, allocations: 6.297 kB / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006582/0.5272, allocations: 2.698 MB / 0.5725 GB, free: 9.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.5272, allocations: 42.06 kB / 0.5725 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.5273, allocations: 16 kB / 0.5725 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/0.5298, allocations: 0.5985 MB / 0.5731 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.5315, allocations: 399.2 kB / 0.5735 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.5436, allocations: 8.866 MB / 0.5822 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.5456, allocations: 143.9 kB / 0.5823 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/0.5459, allocations: 63.98 kB / 0.5824 GB, free: 14.62 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.0005853/0.5465, allocations: 294.9 kB / 0.5826 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.5469, allocations: 147.1 kB / 0.5828 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006019/0.5529, allocations: 2.379 MB / 0.5851 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.5529, allocations: 13.97 kB / 0.5851 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.5529, allocations: 0 / 0.5851 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.553, allocations: 3.984 kB / 0.5851 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009967/0.5629, allocations: 4.146 MB / 0.5892 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.5629, allocations: 0 / 0.5892 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.5643, allocations: 292.4 kB / 0.5894 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002161/0.5664, allocations: 0.5819 MB / 0.59 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.5665, allocations: 35.97 kB / 0.59 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/0.5785, allocations: 8.991 MB / 0.5988 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.5785, allocations: 8.078 kB / 0.5988 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007802/0.5863, allocations: 3.411 MB / 0.6022 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009686/0.5873, allocations: 294.9 kB / 0.6024 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.5875, allocations: 28 kB / 0.6025 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.5886, allocations: 107.9 kB / 0.6026 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/0.5889, allocations: 128 kB / 0.6027 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.5891, allocations: 35.98 kB / 0.6027 GB, free: 9.258 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00129/0.5904, allocations: 0.7878 MB / 0.6035 GB, free: 8.465 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5904, allocations: 0 / 0.6035 GB, free: 8.465 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002529/0.5929, allocations: 0.7812 MB / 0.6043 GB, free: 7.684 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.0003861/0.5933, allocations: 186.8 kB / 0.6044 GB, free: 7.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009093/0.6024, allocations: 4.588 MB / 0.6089 GB, free: 2.848 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.6024, allocations: 0 / 0.6089 GB, free: 2.848 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003554/0.606, allocations: 1.699 MB / 0.6106 GB, free: 1.105 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.6081, allocations: 370.2 kB / 0.6109 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007976/0.6161, allocations: 4.243 MB / 0.6151 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/0.6175, allocations: 1.106 MB / 0.6162 GB, free: 11.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00162/0.6191, allocations: 467.8 kB / 0.6166 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.6195, allocations: 107.4 kB / 0.6167 GB, free: 10.78 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6195, allocations: 0 / 0.6167 GB, free: 10.78 MB / 462.1 MB Notification: Performance of Templates: time 0.05659/0.6761, allocations: 33.21 MB / 0.6491 GB, free: 10.02 MB / 494.1 MB " [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: 6.258268408477306] Failed to read output from testmodel.py, exit status != 0: 0.6851191837340593 0.700328906 0.289645772 Calling exit ...