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.001136/0.001136, allocations: 105.7 kB / 16.37 MB, free: 6.469 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.001198/0.001198, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03976/0.03976, allocations: 8.04 MB / 299.2 MB, free: 6.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.89 kB / 362.1 MB, free: 7.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2581, allocations: 51.19 MB / 413.3 MB, free: 26.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.009977/0.2681, allocations: 9.872 MB / 423.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005744/0.2739, allocations: 2.859 MB / 426 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.2756, allocations: 47.81 kB / 426.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.2769, allocations: 0.5118 MB / 426.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.2791, allocations: 0.7337 MB / 427.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2802, allocations: 0.4954 MB / 427.8 MB, free: 11.46 MB / 302.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.002676/0.2829, allocations: 2.558 MB / 430.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.2844, allocations: 1.676 MB / 432 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.2857, allocations: 1.082 MB / 433.1 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.2875, allocations: 1.362 MB / 434.5 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005551/0.2881, allocations: 295.9 kB / 434.8 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009299/0.2891, allocations: 375.8 kB / 435.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008586/0.2899, allocations: 0.8025 MB / 435.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.2912, allocations: 1.295 MB / 437.2 MB, free: 1.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003231/0.2945, allocations: 3.699 MB / 440.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2945, allocations: 0 / 440.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.2945, allocations: 3.938 kB / 440.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.639e-05/0.2946, allocations: 0 / 440.9 MB, free: 14.25 MB / 318.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.005941/0.3005, allocations: 2.743 MB / 443.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3006, allocations: 8.031 kB / 443.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007195/0.3013, allocations: 273.9 kB / 443.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.304, allocations: 1.384 MB / 445.3 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.3042, allocations: 177.6 kB / 445.5 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.3045, allocations: 199.9 kB / 445.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004505/0.309, allocations: 2.598 MB / 448.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.156e-05/0.3091, allocations: 15.84 kB / 448.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.3093, allocations: 79.94 kB / 448.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.3094, allocations: 99.73 kB / 448.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003863/0.3133, allocations: 2.193 MB / 450.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.3271, allocations: 8.224 MB / 458.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.3301, allocations: 1.635 MB / 460.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/0.3317, allocations: 0.8287 MB / 461.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.332, allocations: 126 kB / 461.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/0.3334, allocations: 0.795 MB / 462.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.537e-06/0.3334, allocations: 4 kB / 462.3 MB, free: 8.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01709/0.3505, allocations: 6.638 MB / 468.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.3507, allocations: 171.2 kB / 469.1 MB, free: 1.363 MB / 334.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.002904/0.3537, allocations: 1.389 MB / 470.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001933/0.3539, allocations: 49.7 kB / 470.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009349/0.3548, allocations: 0.9708 MB / 471.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004985/0.3553, allocations: 425.9 kB / 471.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005762/0.3559, allocations: 275.4 kB / 472.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.356, allocations: 301.1 kB / 472.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.3575, allocations: 0.7504 MB / 473.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.3594, allocations: 1.197 MB / 474.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.3706, allocations: 3.97 MB / 478.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/0.3707, allocations: 8 kB / 478.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006455/0.3771, allocations: 2.715 MB / 481.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/0.3772, allocations: 41.7 kB / 481.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.3773, allocations: 12 kB / 481.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002513/0.3798, allocations: 0.6063 MB / 481.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.3815, allocations: 415.4 kB / 482.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.3929, allocations: 9.535 MB / 491.7 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.3947, allocations: 147.8 kB / 491.9 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/0.3951, allocations: 59.98 kB / 491.9 MB, free: 9.332 MB / 366.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.002657/0.3978, allocations: 1.275 MB / 493.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001749/0.3995, allocations: 1.17 MB / 494.4 MB, free: 6.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01055/0.4101, allocations: 3.938 MB / 498.3 MB, free: 2.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.761e-05/0.4102, allocations: 11.92 kB / 498.3 MB, free: 2.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006511/0.4167, allocations: 2.696 MB / 0.4893 GB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.4168, allocations: 43.83 kB / 0.4893 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/0.4168, allocations: 12.38 kB / 0.4893 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/0.4192, allocations: 0.6098 MB / 0.4899 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.4207, allocations: 407.4 kB / 0.4903 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.4319, allocations: 9.534 MB / 0.4996 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.4339, allocations: 151.8 kB / 0.4998 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003328/0.4343, allocations: 63.98 kB / 0.4998 GB, free: 4.293 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.0006896/0.435, allocations: 291.1 kB / 0.5001 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004885/0.4355, allocations: 162 kB / 0.5003 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00571/0.4412, allocations: 2.387 MB / 0.5026 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.4412, allocations: 12 kB / 0.5026 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.4412, allocations: 4 kB / 0.5026 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.4413, allocations: 11.97 kB / 0.5026 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.199/0.6403, allocations: 4.672 MB / 0.5072 GB, free: 88.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.6403, allocations: 6.297 kB / 0.5072 GB, free: 88.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.6416, allocations: 292 kB / 0.5075 GB, free: 88.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/0.6435, allocations: 0.588 MB / 0.508 GB, free: 88.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.28e-05/0.6436, allocations: 32.52 kB / 0.5081 GB, free: 88.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008831/0.6524, allocations: 9.686 MB / 0.5175 GB, free: 80.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.6525, allocations: 6.875 kB / 0.5175 GB, free: 80.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005898/0.6584, allocations: 3.434 MB / 0.5209 GB, free: 79.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007888/0.6592, allocations: 370.6 kB / 0.5212 GB, free: 79.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.6594, allocations: 41.22 kB / 0.5213 GB, free: 79.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009437/0.6604, allocations: 102.7 kB / 0.5214 GB, free: 79.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/0.6607, allocations: 114.1 kB / 0.5215 GB, free: 79.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.373e-05/0.6608, allocations: 46.58 kB / 0.5215 GB, free: 79.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001142/0.6619, allocations: 0.9176 MB / 0.5224 GB, free: 78.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6619, allocations: 0 / 0.5224 GB, free: 78.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002051/0.664, allocations: 0.7909 MB / 0.5232 GB, free: 78.72 MB / 382.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.0002978/0.6643, allocations: 193.4 kB / 0.5234 GB, free: 78.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006859/0.6712, allocations: 4.856 MB / 0.5281 GB, free: 74.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.6712, allocations: 0 / 0.5281 GB, free: 74.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002713/0.6739, allocations: 1.837 MB / 0.5299 GB, free: 73.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.6759, allocations: 421 kB / 0.5303 GB, free: 72.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007325/0.6832, allocations: 4.175 MB / 0.5344 GB, free: 68.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.6847, allocations: 1.672 MB / 0.536 GB, free: 66.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001388/0.6861, allocations: 492.7 kB / 0.5365 GB, free: 66.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.6865, allocations: 111.4 kB / 0.5366 GB, free: 66.25 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6865, allocations: 3.938 kB / 0.5366 GB, free: 66.25 MB / 382.1 MB Notification: Performance of Templates: time 0.04279/0.7293, allocations: 31.59 MB / 0.5675 GB, free: 34.93 MB / 382.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 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)