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.0007866/0.0007866, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001874, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001074/0.001074, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001527/0.002601, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9812/0.9812, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08873/1.07, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.03349/0.03349, allocations: 6.478 MB / 250.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005074/0.03857, allocations: 2.487 MB / 252.9 MB, free: 5.957 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-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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 254.3 MB, free: 4.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.092e-05, allocations: 2.312 kB / 254.3 MB, free: 4.562 MB / 250.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.01299/0.01301, allocations: 9.693 MB / 264 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006318/0.01933, allocations: 2.983 MB / 267 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007865/0.02012, allocations: 63.56 kB / 267.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.02118, allocations: 0.5275 MB / 267.6 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.02294, allocations: 0.8109 MB / 268.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008843/0.02382, allocations: 0.4991 MB / 268.9 MB, free: 5.922 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.002499/0.02632, allocations: 2.658 MB / 271.6 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.02753, allocations: 0.9892 MB / 272.5 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.02953, allocations: 1.934 MB / 274.5 MB, free: 252 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1252/0.1548, allocations: 1.185 MB / 275.7 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008769/0.1556, allocations: 281.6 kB / 275.9 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.1571, allocations: 374.1 kB / 276.3 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009925/0.1581, allocations: 0.6562 MB / 277 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.1597, allocations: 0.7188 MB / 277.7 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003467/0.1632, allocations: 1.927 MB / 279.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.051e-05/0.1632, allocations: 1.125 kB / 279.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1632, allocations: 3.5 kB / 279.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000164/0.1634, allocations: 0 / 279.6 MB, free: 5.359 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.006279/0.1697, allocations: 2.99 MB / 282.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1697, allocations: 14.14 kB / 282.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008512/0.1705, allocations: 435.8 kB / 283 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.1723, allocations: 0.9647 MB / 284 MB, free: 3.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.1724, allocations: 177.2 kB / 284.2 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.1726, allocations: 201.8 kB / 284.4 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.1748, allocations: 1.567 MB / 285.9 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.181e-05/0.1749, allocations: 10.02 kB / 286 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.175, allocations: 76.06 kB / 286 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.1751, allocations: 104.1 kB / 286.1 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.1761, allocations: 0.6041 MB / 286.7 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006497/0.1826, allocations: 5.495 MB / 292.2 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.1834, allocations: 0.5987 MB / 292.8 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004319/0.1838, allocations: 368.3 kB / 293.2 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.184, allocations: 48.48 kB / 293.2 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004447/0.1844, allocations: 493 kB / 293.7 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.475e-06/0.1844, allocations: 1.75 kB / 293.7 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.00562/0.19, allocations: 2.926 MB / 296.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.1901, allocations: 71.41 kB / 296.7 MB, free: 15.43 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.0007747/0.1909, allocations: 0.9299 MB / 297.6 MB, free: 14.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/0.1909, allocations: 49.7 kB / 297.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006269/0.1915, allocations: 0.8239 MB / 298.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.1918, allocations: 435 kB / 298.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.192, allocations: 263.2 kB / 299.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.1921, allocations: 305.1 kB / 299.5 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.1924, allocations: 215.4 kB / 299.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.1929, allocations: 0.7116 MB / 300.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.194, allocations: 1.166 MB / 301.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.194, allocations: 4 kB / 301.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002004/0.196, allocations: 1.21 MB / 302.8 MB, free: 9.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.1961, allocations: 41.69 kB / 302.8 MB, free: 9.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.1961, allocations: 15.56 kB / 302.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/0.1978, allocations: 0.6145 MB / 303.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008525/0.1987, allocations: 394.2 kB / 303.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/0.203, allocations: 6.618 MB / 310.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009825/0.204, allocations: 80.02 kB / 310.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/0.2041, allocations: 60.16 kB / 310.6 MB, free: 1.223 MB / 282.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.firstOrderWithGain.y:VARIABLE(flow=false start = myMTPA.firstOrderWithGain.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.0007962/0.2048, allocations: 337 kB / 310.9 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000434/0.2053, allocations: 0.7147 MB / 311.7 MB, free: 4 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001/0.2063, allocations: 1.153 MB / 312.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.554e-06/0.2063, allocations: 8 kB / 312.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.00181/0.2081, allocations: 1.216 MB / 314 MB, free: 13.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.2081, allocations: 37.7 kB / 314.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.2081, allocations: 16 kB / 314.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.2098, allocations: 0.6189 MB / 314.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/0.2105, allocations: 394.5 kB / 315.1 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/0.2143, allocations: 6.623 MB / 321.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/0.2152, allocations: 87.91 kB / 321.8 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.2152, allocations: 54.72 kB / 321.8 MB, free: 5.398 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.firstOrderWithGain.y:VARIABLE(flow=false start = myMTPA.firstOrderWithGain.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.0002981/0.2155, allocations: 297.7 kB / 322.1 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.2157, allocations: 135.8 kB / 322.3 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.2173, allocations: 1.02 MB / 323.3 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.2173, allocations: 16 kB / 323.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.2173, allocations: 3.984 kB / 323.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.2173, allocations: 3.984 kB / 323.3 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/0.2204, allocations: 2.17 MB / 325.5 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2205, allocations: 4 kB / 325.5 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/0.2211, allocations: 274.5 kB / 325.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.2214, allocations: 171 kB / 325.9 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/0.223, allocations: 0.6066 MB / 326.5 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/0.2231, allocations: 35.36 kB / 326.6 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003997/0.2271, allocations: 6.712 MB / 333.3 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.2271, allocations: 0 / 333.3 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.2291, allocations: 1.406 MB / 334.7 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.2293, allocations: 35.98 kB / 334.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.2297, allocations: 55.95 kB / 334.8 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.23, allocations: 128.2 kB / 334.9 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.23, allocations: 27.98 kB / 334.9 MB, free: 8.074 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004804/0.2305, allocations: 448.7 kB / 335.4 MB, free: 7.684 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2305, allocations: 0 / 335.4 MB, free: 7.684 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002118/0.2326, allocations: 0.7617 MB / 336.1 MB, free: 6.922 MB / 314.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.firstOrderWithGain.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.0003227/0.2329, allocations: 166.4 kB / 336.3 MB, free: 6.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003235/0.2362, allocations: 2.839 MB / 339.1 MB, free: 3.867 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-05/0.2362, allocations: 27.91 kB / 339.2 MB, free: 3.844 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.2374, allocations: 1.109 MB / 340.3 MB, free: 2.695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.2385, allocations: 500 kB / 340.8 MB, free: 2.219 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.2526, allocations: 3.572 MB / 344.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.2531, allocations: 479 kB / 344.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009444/0.2541, allocations: 200.1 kB / 345 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006946/0.2548, allocations: 385 kB / 345.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of SimCode: time 2.134e-06/0.2548, allocations: 0 / 345.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of Templates: time 0.04158/0.2963, allocations: 32.79 MB / 378.2 MB, free: 13.21 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6936256121844053]