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.001142/0.001141, allocations: 110.9 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.00118/0.00118, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.266/1.266, 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.03736/0.03736, allocations: 8.038 MB / 299.2 MB, free: 6.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.89 kB / 362.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1844, allocations: 51.2 MB / 413.3 MB, free: 26.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.007589/0.1921, allocations: 9.872 MB / 423.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004339/0.1964, allocations: 2.855 MB / 426 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008844/0.1973, allocations: 51.81 kB / 426 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009215/0.1983, allocations: 0.504 MB / 426.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.1997, allocations: 0.7337 MB / 427.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.2005, allocations: 0.5032 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.001717/0.2022, allocations: 2.557 MB / 430.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.2035, allocations: 1.672 MB / 432 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009019/0.2044, allocations: 1.09 MB / 433.1 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.2054, allocations: 1.358 MB / 434.5 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.2057, allocations: 292 kB / 434.8 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/0.2061, allocations: 375.8 kB / 435.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004744/0.2066, allocations: 0.8026 MB / 435.9 MB, free: 3.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007826/0.2074, allocations: 1.303 MB / 437.2 MB, free: 1.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.2097, allocations: 3.695 MB / 440.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2098, allocations: 0 / 440.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.2098, allocations: 0 / 440.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.568e-05/0.2098, allocations: 3.938 kB / 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.004702/0.2145, allocations: 2.743 MB / 443.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2146, allocations: 12.03 kB / 443.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/0.2152, allocations: 269.9 kB / 443.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/0.2175, allocations: 1.381 MB / 445.3 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.2176, allocations: 169.6 kB / 445.5 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.2179, allocations: 203.9 kB / 445.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/0.2218, allocations: 2.606 MB / 448.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.15e-05/0.2218, allocations: 15.78 kB / 448.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.222, allocations: 76 kB / 448.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.573e-05/0.2221, allocations: 103.7 kB / 448.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003528/0.2256, allocations: 2.193 MB / 450.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/0.2368, allocations: 8.228 MB / 458.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.2396, allocations: 1.636 MB / 460.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.241, allocations: 0.8274 MB / 461.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.2413, allocations: 122.1 kB / 461.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.2426, allocations: 0.7989 MB / 462.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/0.2426, allocations: 0 / 462.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01512/0.2577, allocations: 6.646 MB / 468.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.2579, allocations: 171.2 kB / 469.1 MB, free: 1.359 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.002109/0.26, allocations: 1.391 MB / 470.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.2601, allocations: 45.7 kB / 470.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008442/0.261, allocations: 0.9629 MB / 471.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/0.2613, allocations: 437.9 kB / 471.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004388/0.2618, allocations: 267.4 kB / 472.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2619, allocations: 301.1 kB / 472.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.2632, allocations: 0.762 MB / 473.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.2647, allocations: 1.185 MB / 474.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009568/0.2743, allocations: 3.977 MB / 478.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.2743, allocations: 4 kB / 478.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.0056/0.28, allocations: 2.719 MB / 481.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.28, allocations: 33.7 kB / 481.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.28, allocations: 12.38 kB / 481.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002246/0.2823, allocations: 0.6137 MB / 481.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.2837, allocations: 407.4 kB / 482.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.2942, allocations: 9.539 MB / 491.7 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.2956, allocations: 139.8 kB / 491.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.2957, allocations: 67.98 kB / 491.9 MB, free: 9.328 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.002134/0.2979, allocations: 1.276 MB / 493.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001525/0.2994, allocations: 1.17 MB / 494.4 MB, free: 6.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009286/0.3087, allocations: 3.942 MB / 498.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.716e-06/0.3087, allocations: 7.938 kB / 498.3 MB, free: 2.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005363/0.3141, allocations: 2.692 MB / 0.4893 GB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.3142, allocations: 44.52 kB / 0.4893 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.3142, allocations: 16 kB / 0.4893 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/0.3164, allocations: 0.6098 MB / 0.4899 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.3179, allocations: 399.4 kB / 0.4903 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.3284, allocations: 9.534 MB / 0.4996 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.33, allocations: 151.8 kB / 0.4998 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.3302, allocations: 63.98 kB / 0.4998 GB, free: 4.301 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.0004392/0.3306, allocations: 295.4 kB / 0.5001 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.3309, allocations: 150.1 kB / 0.5002 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005187/0.3361, allocations: 2.399 MB / 0.5026 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.3361, allocations: 12 kB / 0.5026 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3361, allocations: 4 kB / 0.5026 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.3362, allocations: 11.97 kB / 0.5026 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1827/0.5189, allocations: 4.676 MB / 0.5072 GB, free: 88.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.5189, allocations: 3.938 kB / 0.5072 GB, free: 88.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.5201, allocations: 291.9 kB / 0.5075 GB, free: 88.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.522, allocations: 0.5788 MB / 0.508 GB, free: 88.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.575e-05/0.5221, allocations: 39.95 kB / 0.5081 GB, free: 88.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008486/0.5306, allocations: 9.689 MB / 0.5175 GB, free: 80.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.5306, allocations: 7.031 kB / 0.5175 GB, free: 80.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005664/0.5363, allocations: 3.431 MB / 0.5209 GB, free: 79.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/0.537, allocations: 382.3 kB / 0.5213 GB, free: 79.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.5372, allocations: 31.28 kB / 0.5213 GB, free: 79.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009055/0.5381, allocations: 104.4 kB / 0.5214 GB, free: 79.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/0.5384, allocations: 121.3 kB / 0.5215 GB, free: 79.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.668e-05/0.5385, allocations: 42.55 kB / 0.5215 GB, free: 79.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001153/0.5397, allocations: 0.9229 MB / 0.5224 GB, free: 78.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5397, allocations: 0 / 0.5224 GB, free: 78.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002162/0.5418, allocations: 0.7801 MB / 0.5232 GB, free: 78.66 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.0003282/0.5422, allocations: 195.4 kB / 0.5234 GB, free: 78.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006483/0.5487, allocations: 4.861 MB / 0.5281 GB, free: 74.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5487, allocations: 0 / 0.5281 GB, free: 74.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002428/0.5511, allocations: 1.83 MB / 0.5299 GB, free: 73.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.5528, allocations: 429.3 kB / 0.5303 GB, free: 72.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/0.5578, allocations: 4.164 MB / 0.5344 GB, free: 68.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008741/0.5587, allocations: 1.683 MB / 0.536 GB, free: 66.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001042/0.5598, allocations: 492.1 kB / 0.5365 GB, free: 66.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.5601, allocations: 107.4 kB / 0.5366 GB, free: 66.3 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5601, allocations: 0 / 0.5366 GB, free: 66.3 MB / 382.1 MB Notification: Performance of Templates: time 0.037/0.5971, allocations: 31.59 MB / 0.5675 GB, free: 34.97 MB / 382.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 -s cvode -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)