Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.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.001483/0.001483, 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.001668/0.001668, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.04022/0.04022, allocations: 8.541 MB / 321.7 MB, free: 10.62 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: translateModel(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds") [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.002216/0.002216, allocations: 67.89 kB / 448.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1215, allocations: 55.42 MB / 0.4918 GB, free: 7.957 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=1e-5) 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.SmaAllSpeeds): time 0.0154/0.1369, allocations: 11.72 MB / 0.5032 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007235/0.1441, allocations: 3.272 MB / 0.5064 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.1461, allocations: 87.44 kB / 0.5065 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.1484, allocations: 0.64 MB / 0.5072 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.1517, allocations: 0.8734 MB / 0.508 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.1535, allocations: 0.6241 MB / 0.5086 GB, free: 6.656 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.005064/0.1586, allocations: 3.114 MB / 0.5117 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.1618, allocations: 1.541 MB / 0.5132 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.1643, allocations: 1.386 MB / 0.5145 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2126/0.3768, allocations: 1.693 MB / 0.5162 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007463/0.3776, allocations: 387.8 kB / 0.5165 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009602/0.3786, allocations: 481.2 kB / 0.517 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008431/0.3794, allocations: 1.012 MB / 0.518 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.3811, allocations: 1.654 MB / 0.5196 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005234/0.3863, allocations: 4.809 MB / 0.5243 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3863, allocations: 7.172 kB / 0.5243 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3863, allocations: 1.781 kB / 0.5243 GB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001362/0.3864, allocations: 0 / 0.5243 GB, free: 10.44 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: 699 * Number of variables: 699 Notification: Performance of Generate backend data structure: time 0.007049/0.3935, allocations: 3.268 MB / 0.5275 GB, free: 9.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3935, allocations: 11.14 kB / 0.5275 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008715/0.3944, allocations: 346.5 kB / 0.5278 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/0.3974, allocations: 1.634 MB / 0.5294 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.3976, allocations: 235.1 kB / 0.5297 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/0.398, allocations: 275.4 kB / 0.5299 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005805/0.4038, allocations: 3.324 MB / 0.5332 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.087e-05/0.4039, allocations: 7.094 kB / 0.5332 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/0.4042, allocations: 115.2 kB / 0.5333 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/0.4043, allocations: 122.8 kB / 0.5334 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/0.4089, allocations: 2.642 MB / 0.536 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01535/0.4242, allocations: 10.47 MB / 0.5462 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/0.4273, allocations: 1.479 MB / 0.5476 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.4288, allocations: 0.8627 MB / 0.5485 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.4291, allocations: 44.55 kB / 0.5485 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.4291, allocations: 52.2 kB / 0.5486 GB, free: 14.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 2.976e-06/0.4291, allocations: 0 / 0.5486 GB, free: 14.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=132): time 0.02023/0.4493, allocations: 7.089 MB / 0.5555 GB, free: 10.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.4494, allocations: 98.34 kB / 0.5556 GB, free: 10.44 MB / 398.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.002323/0.4517, allocations: 1.411 MB / 0.557 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.452, allocations: 53.7 kB / 0.557 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.453, allocations: 1.245 MB / 0.5582 GB, free: 8.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000552/0.4536, allocations: 482.3 kB / 0.5587 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005018/0.4541, allocations: 295.5 kB / 0.559 GB, free: 7.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4542, allocations: 305.1 kB / 0.5593 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.4558, allocations: 0.7738 MB / 0.56 GB, free: 6.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.4576, allocations: 1.233 MB / 0.5612 GB, free: 4.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/0.4685, allocations: 4.022 MB / 0.5652 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.4685, allocations: 7.984 kB / 0.5652 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00771/0.4762, allocations: 3.012 MB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.4763, allocations: 12 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.4763, allocations: 12 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/0.4794, allocations: 0.7095 MB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.4809, allocations: 389.4 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/0.4946, allocations: 8.036 MB / 0.577 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.4964, allocations: 131.7 kB / 0.5772 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002024/0.4966, allocations: 71.98 kB / 0.5772 GB, free: 4.219 MB / 414.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.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real myMTPA.pi.x:VARIABLE(start = myMTPA.pi.x_start fixed = true ) \"State of block\" 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.002739/0.4993, allocations: 1.408 MB / 0.5786 GB, free: 2.812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001744/0.501, allocations: 1.224 MB / 0.5798 GB, free: 1.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01051/0.5115, allocations: 3.996 MB / 0.5837 GB, free: 13.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.612e-05/0.5116, allocations: 7.938 kB / 0.5837 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.007169/0.5187, allocations: 2.934 MB / 0.5866 GB, free: 10.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.5188, allocations: 14.34 kB / 0.5866 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.5188, allocations: 16 kB / 0.5866 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002853/0.5216, allocations: 0.6929 MB / 0.5873 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.5232, allocations: 389.6 kB / 0.5877 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.536, allocations: 7.813 MB / 0.5953 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.5377, allocations: 119.8 kB / 0.5954 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002847/0.538, allocations: 71.98 kB / 0.5955 GB, free: 1.004 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.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real myMTPA.pi.x:VARIABLE(start = myMTPA.pi.x_start fixed = true ) \"State of block\" 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: 65 * Number of states: 0 () * Number of discrete variables: 2 (myMTPA.limiting.y,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006253/0.5386, allocations: 300.3 kB / 0.5958 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004937/0.5391, allocations: 178.9 kB / 0.5959 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006676/0.5458, allocations: 2.642 MB / 0.5985 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.5458, allocations: 12 kB / 0.5985 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.5458, allocations: 7.938 kB / 0.5985 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/0.5459, allocations: 7.969 kB / 0.5985 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.558, allocations: 5.284 MB / 0.6037 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.558, allocations: 4 kB / 0.6037 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.5592, allocations: 251.7 kB / 0.6039 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002656/0.5618, allocations: 0.6862 MB / 0.6046 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001702/0.562, allocations: 39.92 kB / 0.6047 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/0.5757, allocations: 8.175 MB / 0.6126 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5757, allocations: 4 kB / 0.6126 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008683/0.5844, allocations: 3.729 MB / 0.6163 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.5855, allocations: 326.7 kB / 0.6166 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004375/0.586, allocations: 27.98 kB / 0.6166 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.5872, allocations: 95.89 kB / 0.6167 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/0.5875, allocations: 129 kB / 0.6168 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.5876, allocations: 39.98 kB / 0.6169 GB, free: 10.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001785/0.5894, allocations: 0.9503 MB / 0.6178 GB, free: 9.793 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5894, allocations: 0 / 0.6178 GB, free: 9.793 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003478/0.5929, allocations: 0.9023 MB / 0.6187 GB, free: 8.891 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder1.y,myMTPA.pi.x,speed.phi,speed.w) * Number of discrete variables: 1 (myMTPA.limiting.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004445/0.5933, allocations: 193.7 kB / 0.6189 GB, free: 8.703 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009053/0.6024, allocations: 4.277 MB / 0.623 GB, free: 4.453 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.6024, allocations: 4 kB / 0.623 GB, free: 4.449 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00346/0.6058, allocations: 1.609 MB / 0.6246 GB, free: 2.832 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.6085, allocations: 454.4 kB / 0.6251 GB, free: 2.406 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.6188, allocations: 4.999 MB / 0.6299 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/0.6208, allocations: 1.905 MB / 0.6318 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00062/0.6214, allocations: 123.4 kB / 0.6319 GB, free: 11.29 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6214, allocations: 0 / 0.6319 GB, free: 11.29 MB / 478.1 MB Notification: Performance of Templates: time 0.09954/0.7209, allocations: 80.39 MB / 0.7104 GB, free: 10.94 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.sim & ./EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.122965940041468] Failed to read output from testmodel.py, exit status != 0: 0.7308561240788549 0.899753095 0.510224409 Calling exit ...