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.0008444/0.0008444, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008774/0.0008774, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9085/0.9085, allocations: 177.1 MB / 203.8 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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.02587/0.02587, allocations: 6.5 MB / 266.8 MB, free: 6.484 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 285.2 MB, free: 3.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.843e-05, allocations: 2.312 kB / 285.2 MB, free: 3.984 MB / 266.7 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.1097/0.1097, allocations: 9.575 MB / 294.8 MB, free: 17.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004384/0.1141, allocations: 2.959 MB / 297.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.1147, allocations: 64.12 kB / 297.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009273/0.1157, allocations: 0.513 MB / 298.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.1171, allocations: 0.8251 MB / 299.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.1179, allocations: 0.5045 MB / 299.7 MB, free: 14.19 MB / 266.7 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.002127/0.12, allocations: 2.644 MB / 302.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009116/0.1209, allocations: 0.9915 MB / 303.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.1226, allocations: 1.78 MB / 305.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.1236, allocations: 1.18 MB / 306.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.1239, allocations: 281.9 kB / 306.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.1243, allocations: 369.8 kB / 306.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003966/0.1247, allocations: 0.8153 MB / 307.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005092/0.1252, allocations: 0.8779 MB / 308.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.1263, allocations: 2.071 MB / 310.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1264, allocations: 4 kB / 310.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1264, allocations: 3.875 kB / 310.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.1264, allocations: 0 / 310.7 MB, free: 7.574 MB / 266.7 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.002013/0.1284, allocations: 2.532 MB / 313.2 MB, free: 5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.1284, allocations: 8.031 kB / 313.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.1288, allocations: 352.6 kB / 313.6 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009007/0.1297, allocations: 0.9792 MB / 314.6 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.759e-05/0.1298, allocations: 174.3 kB / 314.7 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.13, allocations: 207.9 kB / 314.9 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.1311, allocations: 1.564 MB / 316.5 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.1312, allocations: 4 kB / 316.5 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/0.1313, allocations: 79.98 kB / 316.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.607e-05/0.1313, allocations: 103.7 kB / 316.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007104/0.132, allocations: 0.6009 MB / 317.3 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004867/0.1369, allocations: 5.466 MB / 322.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007648/0.1377, allocations: 0.6114 MB / 323.4 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004597/0.1381, allocations: 366.6 kB / 323.7 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.1382, allocations: 48.97 kB / 323.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004351/0.1387, allocations: 489.6 kB / 324.2 MB, free: 9.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 1.934e-06/0.1387, allocations: 0 / 324.2 MB, free: 9.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.004889/0.1436, allocations: 2.932 MB / 327.2 MB, free: 6.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.1436, allocations: 175.2 kB / 327.3 MB, free: 6.414 MB / 282.7 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.0006291/0.1443, allocations: 0.9233 MB / 328.3 MB, free: 5.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.1443, allocations: 45.7 kB / 328.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.1447, allocations: 0.8221 MB / 329.1 MB, free: 4.594 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.1449, allocations: 444.2 kB / 329.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.1451, allocations: 259.4 kB / 329.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.1452, allocations: 305.1 kB / 330.1 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.1454, allocations: 209.3 kB / 330.3 MB, free: 3.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.1459, allocations: 0.7131 MB / 331 MB, free: 2.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009762/0.1469, allocations: 1.157 MB / 332.2 MB, free: 1.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1469, allocations: 4 kB / 332.2 MB, free: 1.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.001616/0.1485, allocations: 1.216 MB / 333.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.1485, allocations: 37.7 kB / 333.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1485, allocations: 12 kB / 333.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.1501, allocations: 0.6165 MB / 334.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.1508, allocations: 351.4 kB / 334.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.1545, allocations: 6.605 MB / 341 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.1549, allocations: 75.92 kB / 341.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.155, allocations: 59.95 kB / 341.2 MB, free: 7.617 MB / 298.7 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.0004633/0.1555, allocations: 335.4 kB / 341.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004248/0.1559, allocations: 0.7208 MB / 342.2 MB, free: 6.352 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009378/0.1568, allocations: 1.142 MB / 343.3 MB, free: 5.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.588e-06/0.1568, allocations: 8 kB / 343.4 MB, free: 5.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.001608/0.1584, allocations: 1.212 MB / 344.6 MB, free: 3.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.1585, allocations: 39.42 kB / 344.6 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1585, allocations: 15.98 kB / 344.6 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.16, allocations: 0.6145 MB / 345.2 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.1607, allocations: 351.4 kB / 345.6 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.1642, allocations: 6.588 MB / 352.2 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.1646, allocations: 92.09 kB / 352.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.329e-05/0.1647, allocations: 51.98 kB / 352.3 MB, free: 11.53 MB / 314.7 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 {(1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.1649, allocations: 302.7 kB / 352.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.165, allocations: 124 kB / 352.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.1665, allocations: 1.032 MB / 353.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1665, allocations: 12 kB / 353.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1665, allocations: 11.92 kB / 353.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1665, allocations: 7.922 kB / 353.8 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/0.1692, allocations: 2.168 MB / 356 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1692, allocations: 4.281 kB / 356 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000507/0.1697, allocations: 231.7 kB / 356.2 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.1711, allocations: 0.6105 MB / 356.8 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.357e-05/0.1712, allocations: 39.97 kB / 356.8 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00344/0.1746, allocations: 6.68 MB / 363.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1746, allocations: 8.031 kB / 363.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.1764, allocations: 1.415 MB / 364.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.1766, allocations: 178.9 kB / 365.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.1767, allocations: 28 kB / 365.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.1771, allocations: 59.89 kB / 365.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.1772, allocations: 120.7 kB / 365.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.1773, allocations: 31.98 kB / 365.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003195/0.1776, allocations: 445.7 kB / 365.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1776, allocations: 0 / 365.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001244/0.1788, allocations: 0.7617 MB / 366.5 MB, free: 12.6 MB / 330.7 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 {(1,2,100.0%), (1,1,100.0%), (1,2,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.0002191/0.179, allocations: 176.5 kB / 366.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002422/0.1815, allocations: 2.816 MB / 369.5 MB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/0.1815, allocations: 16.5 kB / 369.5 MB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008827/0.1824, allocations: 1.112 MB / 370.7 MB, free: 8.234 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008138/0.1832, allocations: 398.2 kB / 371 MB, free: 7.859 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.1868, allocations: 3.416 MB / 374.5 MB, free: 4.371 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1871, allocations: 471 kB / 374.9 MB, free: 3.891 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004787/0.1876, allocations: 212 kB / 375.1 MB, free: 3.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005913/0.1882, allocations: 381.1 kB / 375.5 MB, free: 3.309 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1882, allocations: 0 / 375.5 MB, free: 3.309 MB / 330.7 MB Notification: Performance of Templates: time 0.0321/0.2203, allocations: 31.75 MB / 407.3 MB, free: 3.977 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.314622832927853]