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.001229/0.001229, 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.00143/0.00143, allocations: 223.6 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.04135/0.04135, allocations: 8.54 MB / 321.7 MB, free: 10.61 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.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_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.002008/0.002008, allocations: 71.88 kB / 448.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.127, allocations: 55.41 MB / 0.4918 GB, free: 7.961 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.01428/0.1412, allocations: 10.04 MB / 0.5016 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.1481, allocations: 2.906 MB / 0.5044 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.1499, allocations: 63.56 kB / 0.5045 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.1518, allocations: 0.551 MB / 0.505 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.1547, allocations: 0.7882 MB / 0.5058 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.1563, allocations: 0.507 MB / 0.5063 GB, free: 9.035 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.004269/0.1605, allocations: 2.573 MB / 0.5088 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.1624, allocations: 1.009 MB / 0.5098 GB, free: 5.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.1644, allocations: 1.125 MB / 0.5109 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.1671, allocations: 1.397 MB / 0.5123 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000818/0.1679, allocations: 292 kB / 0.5125 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.1691, allocations: 387.8 kB / 0.5129 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.1704, allocations: 0.818 MB / 0.5137 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002313/0.1727, allocations: 1.303 MB / 0.515 GB, free: 72 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2144/0.3871, allocations: 3.713 MB / 0.5186 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3871, allocations: 1.125 kB / 0.5186 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3871, allocations: 0 / 0.5186 GB, free: 14.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.558e-05/0.3872, allocations: 0 / 0.5186 GB, free: 14.25 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.005918/0.3931, allocations: 2.744 MB / 0.5213 GB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3932, allocations: 9.875 kB / 0.5213 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.3939, allocations: 289.8 kB / 0.5216 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.3964, allocations: 1.366 MB / 0.5229 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.3966, allocations: 182.3 kB / 0.5231 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.3969, allocations: 201.1 kB / 0.5233 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004318/0.4012, allocations: 2.593 MB / 0.5258 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.931e-05/0.4012, allocations: 10.59 kB / 0.5258 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.4014, allocations: 79.64 kB / 0.5259 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/0.4016, allocations: 99.58 kB / 0.526 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003821/0.4054, allocations: 2.184 MB / 0.5281 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.4174, allocations: 8.086 MB / 0.536 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.42, allocations: 1.344 MB / 0.5373 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.4213, allocations: 0.7528 MB / 0.5381 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.4216, allocations: 45.36 kB / 0.5381 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.4229, allocations: 0.7989 MB / 0.5389 GB, free: 7.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.805e-06/0.4229, allocations: 0 / 0.5389 GB, free: 7.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01518/0.438, allocations: 6.287 MB / 0.545 GB, free: 4.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.4381, allocations: 172.2 kB / 0.5452 GB, free: 3.926 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.001863/0.44, allocations: 1.344 MB / 0.5465 GB, free: 3.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.4401, allocations: 51.61 kB / 0.5465 GB, free: 3.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006857/0.4408, allocations: 0.9912 MB / 0.5475 GB, free: 2.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/0.4411, allocations: 449.2 kB / 0.5479 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/0.4415, allocations: 269.6 kB / 0.5482 GB, free: 1.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.02e-05/0.4415, allocations: 301.1 kB / 0.5485 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.4427, allocations: 0.7448 MB / 0.5492 GB, free: 1.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.444, allocations: 1.18 MB / 0.5504 GB, free: 156 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/0.4541, allocations: 3.958 MB / 0.5542 GB, free: 13.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.4541, allocations: 4 kB / 0.5542 GB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006392/0.4605, allocations: 2.705 MB / 0.5569 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/0.4605, allocations: 41.7 kB / 0.5569 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.4605, allocations: 12 kB / 0.5569 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002421/0.463, allocations: 0.597 MB / 0.5575 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.4646, allocations: 411.7 kB / 0.5579 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.4763, allocations: 9.011 MB / 0.5667 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.478, allocations: 139.9 kB / 0.5668 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.4782, allocations: 67.97 kB / 0.5669 GB, free: 316 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.002567/0.4808, allocations: 1.272 MB / 0.5681 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001735/0.4825, allocations: 1.168 MB / 0.5693 GB, free: 13.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01054/0.493, allocations: 3.912 MB / 0.5731 GB, free: 9.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.328e-05/0.493, allocations: 6.625 kB / 0.5731 GB, free: 9.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006313/0.4994, allocations: 2.686 MB / 0.5757 GB, free: 7.016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.279e-05/0.4994, allocations: 45.69 kB / 0.5758 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.4994, allocations: 12 kB / 0.5758 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002394/0.5018, allocations: 0.6009 MB / 0.5764 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.5037, allocations: 406.8 kB / 0.5768 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/0.5198, allocations: 9.024 MB / 0.5856 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.5222, allocations: 139.9 kB / 0.5857 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002962/0.5225, allocations: 63.98 kB / 0.5858 GB, free: 12.21 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.0006681/0.5232, allocations: 297.7 kB / 0.5861 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005748/0.5238, allocations: 163 kB / 0.5862 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008103/0.5319, allocations: 2.392 MB / 0.5885 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.5319, allocations: 12 kB / 0.5886 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.5319, allocations: 4 kB / 0.5886 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.5319, allocations: 11.97 kB / 0.5886 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/0.5461, allocations: 4.638 MB / 0.5931 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.5461, allocations: 4 kB / 0.5931 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/0.548, allocations: 284 kB / 0.5934 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002889/0.5509, allocations: 0.5804 MB / 0.5939 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.551, allocations: 35.98 kB / 0.594 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/0.5648, allocations: 9.163 MB / 0.6029 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5648, allocations: 11 kB / 0.6029 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007476/0.5723, allocations: 3.419 MB / 0.6063 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.5734, allocations: 306.8 kB / 0.6066 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003939/0.5738, allocations: 35.98 kB / 0.6066 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.575, allocations: 103.8 kB / 0.6067 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003243/0.5753, allocations: 127.8 kB / 0.6068 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.543e-05/0.5754, allocations: 35.98 kB / 0.6069 GB, free: 6.043 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001654/0.577, allocations: 0.905 MB / 0.6077 GB, free: 5.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.577, allocations: 0 / 0.6077 GB, free: 5.137 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002818/0.5798, allocations: 0.7865 MB / 0.6085 GB, free: 4.352 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.0003877/0.5802, allocations: 187.7 kB / 0.6087 GB, free: 4.172 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008629/0.5889, allocations: 4.538 MB / 0.6131 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5889, allocations: 0 / 0.6131 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003153/0.592, allocations: 1.701 MB / 0.6148 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.594, allocations: 430.7 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.007451/0.6014, allocations: 4.321 MB / 0.6194 GB, free: 9.078 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/0.6029, allocations: 1.664 MB / 0.621 GB, free: 7.379 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005168/0.6035, allocations: 119.4 kB / 0.6212 GB, free: 7.262 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6035, allocations: 0 / 0.6212 GB, free: 7.262 MB / 462.1 MB Notification: Performance of Templates: time 0.09447/0.6979, allocations: 84.81 MB / 0.704 GB, free: 2.461 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile [Timeout 660] (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 & ./EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.274929080856964] Failed to read output from testmodel.py, exit status != 0: 0.7069123091641814 0.722015804 0.33175437300000005 Calling exit ...