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.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_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_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.006352/0.006352, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001332/0.001332, allocations: 191.7 kB / 16.67 MB, free: 5.938 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1664/0.1664, allocations: 8.028 MB / 298.6 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 413.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3265, allocations: 51.19 MB / 464.2 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01256/0.3391, allocations: 9.887 MB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007233/0.3464, allocations: 2.864 MB / 477 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.3488, allocations: 46.5 kB / 477 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.3503, allocations: 0.502 MB / 477.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.3532, allocations: 0.7361 MB / 478.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.3545, allocations: 0.5028 MB / 478.8 MB, free: 8.035 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.003728/0.3582, allocations: 2.557 MB / 481.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002227/0.3604, allocations: 1.67 MB / 483 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.3623, allocations: 1.084 MB / 484.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.3645, allocations: 1.363 MB / 485.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005807/0.3651, allocations: 289.8 kB / 485.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009939/0.3661, allocations: 376.9 kB / 486.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007039/0.3668, allocations: 0.812 MB / 486.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.3681, allocations: 1.289 MB / 488.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003712/0.3718, allocations: 3.711 MB / 491.9 MB, free: 20 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3718, allocations: 0.875 kB / 491.9 MB, free: 20 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3718, allocations: 0 / 491.9 MB, free: 20 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.073e-05/0.3719, allocations: 4 kB / 491.9 MB, free: 16 kB / 350.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.006904/0.3788, allocations: 2.807 MB / 494.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3789, allocations: 9.219 kB / 494.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.38, allocations: 283.9 kB / 495 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.3832, allocations: 1.392 MB / 496.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.3834, allocations: 176.7 kB / 496.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003549/0.3838, allocations: 209.4 kB / 496.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004891/0.3887, allocations: 2.6 MB / 499.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.563e-05/0.3888, allocations: 8 kB / 499.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.389, allocations: 76 kB / 499.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.991e-05/0.3891, allocations: 103.7 kB / 499.6 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00372/0.3928, allocations: 2.189 MB / 0.49 GB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.4052, allocations: 8.269 MB / 0.4981 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.4084, allocations: 1.623 MB / 0.4997 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.4098, allocations: 0.8039 MB / 0.5004 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.4101, allocations: 130 kB / 0.5006 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/0.4116, allocations: 0.7951 MB / 0.5013 GB, free: 11.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/0.4116, allocations: 0 / 0.5013 GB, free: 11.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01718/0.4288, allocations: 6.668 MB / 0.5079 GB, free: 5.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.4289, allocations: 171.2 kB / 0.508 GB, free: 4.828 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.002355/0.4313, allocations: 1.397 MB / 0.5094 GB, free: 3.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.4314, allocations: 45.7 kB / 0.5094 GB, free: 3.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008711/0.4323, allocations: 0.9851 MB / 0.5104 GB, free: 2.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.4327, allocations: 448.2 kB / 0.5108 GB, free: 1.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004906/0.4332, allocations: 271.5 kB / 0.5111 GB, free: 1.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.4333, allocations: 301.1 kB / 0.5114 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.4346, allocations: 0.7659 MB / 0.5121 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.4363, allocations: 1.181 MB / 0.5133 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/0.4469, allocations: 3.977 MB / 0.5172 GB, free: 11.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.231e-05/0.447, allocations: 4 kB / 0.5172 GB, free: 11.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006283/0.4533, allocations: 2.724 MB / 0.5198 GB, free: 8.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/0.4534, allocations: 37.7 kB / 0.5199 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.4534, allocations: 12 kB / 0.5199 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002291/0.4557, allocations: 0.6101 MB / 0.5205 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.4573, allocations: 403.4 kB / 0.5208 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.4683, allocations: 9.56 MB / 0.5302 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.4705, allocations: 135.9 kB / 0.5303 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003727/0.4709, allocations: 67.98 kB / 0.5304 GB, free: 12.75 MB / 414.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = "A" fixed = true stateSelect=StateSelect.prefer ) "Stator zero-sequence current" type: Real myMTPA.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.003029/0.4739, allocations: 1.265 MB / 0.5316 GB, free: 11.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001906/0.4758, allocations: 1.173 MB / 0.5328 GB, free: 10.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01102/0.4869, allocations: 3.939 MB / 0.5366 GB, free: 6.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.987e-05/0.4869, allocations: 7.938 kB / 0.5366 GB, free: 5.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.007224/0.4942, allocations: 2.708 MB / 0.5393 GB, free: 3.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.4942, allocations: 45.58 kB / 0.5393 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/0.4943, allocations: 12 kB / 0.5393 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002359/0.4966, allocations: 0.6066 MB / 0.5399 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.4983, allocations: 407.3 kB / 0.5403 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.5099, allocations: 9.544 MB / 0.5496 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.512, allocations: 147.8 kB / 0.5498 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003584/0.5124, allocations: 67.98 kB / 0.5498 GB, free: 7.695 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = "A" fixed = true stateSelect=StateSelect.prefer ) "Stator zero-sequence current" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real smpm1.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] smpm1.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.tqRef.count,$PRE.tqRef.T_start,tqRef.count,tqRef.T_start,myMTPA.limiting.y,$whenCondition1,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007569/0.5132, allocations: 295.8 kB / 0.5501 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000591/0.5137, allocations: 166.9 kB / 0.5503 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005808/0.5196, allocations: 2.395 MB / 0.5526 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.5196, allocations: 15.94 kB / 0.5526 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.5196, allocations: 0 / 0.5526 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.5196, allocations: 7.969 kB / 0.5526 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.5302, allocations: 4.693 MB / 0.5572 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.5303, allocations: 4.031 kB / 0.5572 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.5315, allocations: 291.6 kB / 0.5575 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/0.5336, allocations: 0.5747 MB / 0.558 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.5338, allocations: 43.91 kB / 0.5581 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.5449, allocations: 9.691 MB / 0.5676 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.5449, allocations: 4 kB / 0.5676 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007531/0.5525, allocations: 3.445 MB / 0.5709 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.5537, allocations: 387.8 kB / 0.5713 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005993/0.5543, allocations: 31.94 kB / 0.5713 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/0.5558, allocations: 111.9 kB / 0.5714 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004279/0.5562, allocations: 108.8 kB / 0.5715 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.5564, allocations: 36.27 kB / 0.5716 GB, free: 476 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002257/0.5586, allocations: 0.9244 MB / 0.5725 GB, free: 15.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5586, allocations: 4 kB / 0.5725 GB, free: 15.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004418/0.5631, allocations: 0.789 MB / 0.5732 GB, free: 14.74 MB / 462.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.0005201/0.5636, allocations: 196.1 kB / 0.5734 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009148/0.5728, allocations: 4.868 MB / 0.5782 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.5728, allocations: 4.062 kB / 0.5782 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003375/0.5762, allocations: 1.829 MB / 0.58 GB, free: 7.566 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/0.5795, allocations: 422.9 kB / 0.5804 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009968/0.5895, allocations: 4.245 MB / 0.5845 GB, free: 2.855 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.5914, allocations: 1.688 MB / 0.5862 GB, free: 1.133 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00177/0.5932, allocations: 488.8 kB / 0.5866 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.5935, allocations: 115.4 kB / 0.5867 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of SimCode: time 2.755e-06/0.5935, allocations: 0 / 0.5867 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of Templates: time 0.2988/0.8923, allocations: 32.02 MB / 0.618 GB, free: 101.8 MB / 462.1 MB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & ./EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)