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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00518/0.00518, allocations: 102.7 kB / 15.74 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 194.1 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04057/0.04057, allocations: 8.039 MB / 298.6 MB, free: 6.797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 60.09 kB / 413.1 MB, free: 22.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08622/0.0873, allocations: 51.18 MB / 464.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01033/0.09766, allocations: 9.883 MB / 474.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005303/0.103, allocations: 2.867 MB / 477 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.1041, allocations: 47.81 kB / 477 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.1053, allocations: 0.5042 MB / 477.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.1071, allocations: 0.7376 MB / 478.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009183/0.1081, allocations: 0.4944 MB / 478.8 MB, free: 4.477 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 / (2.0 * smpm1.pi * smpm1.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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 / (2.0 * smpm1.pi * smpm1.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.002346/0.1104, allocations: 2.575 MB / 481.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.112, allocations: 1.668 MB / 483 MB, free: 180 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.1132, allocations: 1.078 MB / 484.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.1147, allocations: 1.358 MB / 485.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003521/0.1151, allocations: 292 kB / 485.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006312/0.1157, allocations: 383.8 kB / 486.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007188/0.1165, allocations: 0.8064 MB / 486.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.1176, allocations: 1.291 MB / 488.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003236/0.1208, allocations: 3.713 MB / 491.9 MB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1209, allocations: 0 / 491.9 MB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1209, allocations: 7.938 kB / 491.9 MB, free: 7.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.975e-05/0.1209, allocations: 0 / 491.9 MB, free: 7.23 MB / 366.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.004889/0.1258, allocations: 2.81 MB / 494.7 MB, free: 4.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1259, allocations: 12.03 kB / 494.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006466/0.1265, allocations: 275.3 kB / 495 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.1284, allocations: 1.393 MB / 496.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.1286, allocations: 181.6 kB / 496.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.1288, allocations: 203.9 kB / 496.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003979/0.1328, allocations: 2.598 MB / 499.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.324e-05/0.1329, allocations: 7.938 kB / 499.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.1331, allocations: 84 kB / 499.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.1332, allocations: 99.73 kB / 499.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003536/0.1367, allocations: 2.193 MB / 0.49 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.1476, allocations: 8.254 MB / 0.4981 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.1505, allocations: 1.623 MB / 0.4997 GB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.1518, allocations: 0.8041 MB / 0.5004 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/0.1521, allocations: 122.1 kB / 0.5006 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/0.1534, allocations: 0.8028 MB / 0.5013 GB, free: 1.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.415e-06/0.1534, allocations: 0 / 0.5013 GB, free: 1.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.1944/0.3478, allocations: 6.661 MB / 0.5079 GB, free: 43.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.3479, allocations: 169.1 kB / 0.508 GB, free: 43.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 / (6.283185307179586 * smpm1.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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 / (6.283185307179586 * smpm1.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.35, allocations: 1.397 MB / 0.5094 GB, free: 43.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.562e-05/0.3501, allocations: 50.42 kB / 0.5094 GB, free: 43.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006412/0.3508, allocations: 0.9907 MB / 0.5104 GB, free: 42.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.351, allocations: 442.2 kB / 0.5108 GB, free: 42.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/0.3515, allocations: 274.1 kB / 0.5111 GB, free: 42.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.3515, allocations: 305.7 kB / 0.5114 GB, free: 41.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.3528, allocations: 0.7509 MB / 0.5121 GB, free: 41.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.3543, allocations: 1.187 MB / 0.5133 GB, free: 40.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009339/0.3636, allocations: 3.98 MB / 0.5171 GB, free: 39.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.3637, allocations: 3.219 kB / 0.5171 GB, free: 39.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005109/0.3688, allocations: 2.731 MB / 0.5198 GB, free: 38.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.3688, allocations: 38.08 kB / 0.5199 GB, free: 38.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.3688, allocations: 11 kB / 0.5199 GB, free: 38.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/0.3709, allocations: 0.6044 MB / 0.5205 GB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.3723, allocations: 411 kB / 0.5208 GB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007717/0.38, allocations: 9.544 MB / 0.5302 GB, free: 29.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.3813, allocations: 141.6 kB / 0.5303 GB, free: 29.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.3814, allocations: 72.48 kB / 0.5304 GB, free: 29.24 MB / 382.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.001813/0.3833, allocations: 1.268 MB / 0.5316 GB, free: 28.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00116/0.3844, allocations: 1.17 MB / 0.5327 GB, free: 27.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008126/0.3926, allocations: 3.933 MB / 0.5366 GB, free: 23.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/0.3926, allocations: 10.34 kB / 0.5366 GB, free: 23.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.004702/0.3973, allocations: 2.703 MB / 0.5392 GB, free: 21.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.3973, allocations: 37.7 kB / 0.5393 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3974, allocations: 16 kB / 0.5393 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.3993, allocations: 0.6009 MB / 0.5399 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.4006, allocations: 407.4 kB / 0.5403 GB, free: 19.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00776/0.4083, allocations: 9.563 MB / 0.5496 GB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.4098, allocations: 151.9 kB / 0.5498 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.4099, allocations: 63.98 kB / 0.5498 GB, free: 9.539 MB / 382.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.0003896/0.4103, allocations: 291 kB / 0.5501 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/0.4107, allocations: 159 kB / 0.5502 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/0.4153, allocations: 2.393 MB / 0.5526 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.4154, allocations: 12 kB / 0.5526 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.4154, allocations: 4 kB / 0.5526 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.4154, allocations: 11.91 kB / 0.5526 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007496/0.4229, allocations: 4.684 MB / 0.5572 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.4229, allocations: 12.02 kB / 0.5572 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.424, allocations: 279.6 kB / 0.5575 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/0.4258, allocations: 0.5864 MB / 0.558 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.746e-05/0.4259, allocations: 36.22 kB / 0.5581 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009876/0.4358, allocations: 9.711 MB / 0.5675 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.4358, allocations: 4.031 kB / 0.5676 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006789/0.4426, allocations: 3.429 MB / 0.5709 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.4438, allocations: 387.9 kB / 0.5713 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004278/0.4443, allocations: 28 kB / 0.5713 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.4454, allocations: 107.9 kB / 0.5714 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.4457, allocations: 116.7 kB / 0.5715 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.021e-05/0.4458, allocations: 43.97 kB / 0.5716 GB, free: 2.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001368/0.4472, allocations: 0.9205 MB / 0.5725 GB, free: 1.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4472, allocations: 4 kB / 0.5725 GB, free: 1.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002573/0.4498, allocations: 0.7851 MB / 0.5732 GB, free: 0.6719 MB / 398.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.0003505/0.4501, allocations: 203.4 kB / 0.5734 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008203/0.4583, allocations: 4.865 MB / 0.5782 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4584, allocations: 0 / 0.5782 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003066/0.4614, allocations: 1.84 MB / 0.58 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.4635, allocations: 426.8 kB / 0.5804 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006904/0.4704, allocations: 4.254 MB / 0.5845 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.4717, allocations: 1.676 MB / 0.5862 GB, free: 3.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001255/0.473, allocations: 488.8 kB / 0.5866 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.4733, allocations: 107.4 kB / 0.5867 GB, free: 2.477 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4733, allocations: 3.938 kB / 0.5867 GB, free: 2.473 MB / 414.1 MB Notification: Performance of Templates: time 0.04713/0.5205, allocations: 32.03 MB / 0.618 GB, free: 2.684 MB / 446.1 MB make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & ./EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)