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.001591/0.001591, allocations: 110 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.001809/0.001809, allocations: 195.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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03809/0.03809, allocations: 8.032 MB / 299.2 MB, free: 6.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 362.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2092, allocations: 51.2 MB / 413.3 MB, free: 26.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.007981/0.2172, allocations: 9.871 MB / 423.1 MB, free: 16.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005052/0.2223, allocations: 2.863 MB / 426 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.2237, allocations: 55.75 kB / 426.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.2251, allocations: 0.5001 MB / 426.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.2269, allocations: 0.7337 MB / 427.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007908/0.2277, allocations: 0.5023 MB / 427.8 MB, free: 11.47 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.002053/0.2298, allocations: 2.558 MB / 430.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.2311, allocations: 1.668 MB / 432 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.2323, allocations: 1.09 MB / 433.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.2336, allocations: 1.358 MB / 434.5 MB, free: 4.738 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.2339, allocations: 292 kB / 434.8 MB, free: 4.453 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.2344, allocations: 379.8 kB / 435.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005944/0.235, allocations: 0.7987 MB / 435.9 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.2362, allocations: 1.303 MB / 437.2 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.2397, allocations: 3.699 MB / 440.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2397, allocations: 0 / 440.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.13e-05/0.2397, allocations: 4 kB / 440.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.905e-05/0.2398, 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.005629/0.2454, allocations: 2.739 MB / 443.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2455, allocations: 8.031 kB / 443.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.2461, allocations: 273.9 kB / 443.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.2486, allocations: 1.381 MB / 445.3 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.2488, allocations: 189.5 kB / 445.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002859/0.2491, allocations: 195.9 kB / 445.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004566/0.2536, allocations: 2.598 MB / 448.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-05/0.2537, allocations: 7.906 kB / 448.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.2539, allocations: 76 kB / 448.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.254, allocations: 107.7 kB / 448.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003763/0.2578, allocations: 2.197 MB / 450.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.2697, allocations: 8.228 MB / 458.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/0.2725, allocations: 1.643 MB / 460.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.274, allocations: 0.8235 MB / 461.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.2742, allocations: 118.1 kB / 461.5 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/0.2755, allocations: 0.8029 MB / 462.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.314e-06/0.2755, allocations: 0 / 462.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01571/0.2913, allocations: 6.632 MB / 468.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.2914, allocations: 175.1 kB / 469.1 MB, free: 1.371 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.002133/0.2935, allocations: 1.396 MB / 470.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.2937, allocations: 45.7 kB / 470.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007764/0.2944, allocations: 0.9669 MB / 471.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.2948, allocations: 425.9 kB / 471.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004284/0.2952, allocations: 267.4 kB / 472.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.2953, allocations: 305.1 kB / 472.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.2966, allocations: 0.7543 MB / 473.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.2981, allocations: 1.181 MB / 474.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009882/0.308, allocations: 3.989 MB / 478.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.3081, allocations: 4 kB / 478.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005945/0.314, allocations: 2.723 MB / 481.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.3141, allocations: 37.7 kB / 481.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.3141, allocations: 12 kB / 481.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/0.3164, allocations: 0.5985 MB / 481.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.3179, allocations: 411.4 kB / 482.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.3284, allocations: 9.539 MB / 491.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.33, allocations: 139.9 kB / 491.9 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.3302, allocations: 63.98 kB / 491.9 MB, free: 9.344 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.002128/0.3323, allocations: 1.27 MB / 493.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001487/0.3338, allocations: 1.177 MB / 494.4 MB, free: 6.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009659/0.3435, allocations: 3.95 MB / 498.3 MB, free: 2.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.165e-05/0.3435, allocations: 7.938 kB / 498.3 MB, free: 2.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005585/0.3491, allocations: 2.692 MB / 0.4893 GB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.3492, allocations: 37.64 kB / 0.4893 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.3492, allocations: 15.98 kB / 0.4893 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.3515, allocations: 0.6102 MB / 0.4899 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.3529, allocations: 399.4 kB / 0.4903 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.3637, allocations: 9.532 MB / 0.4996 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.3655, allocations: 147.7 kB / 0.4998 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.3656, allocations: 71.98 kB / 0.4998 GB, free: 4.309 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.0005081/0.3661, allocations: 300.7 kB / 0.5001 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004044/0.3665, allocations: 150.3 kB / 0.5002 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005428/0.372, allocations: 2.399 MB / 0.5026 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.372, allocations: 12 kB / 0.5026 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.372, allocations: 4 kB / 0.5026 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.372, allocations: 7.969 kB / 0.5026 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.217/0.589, allocations: 4.675 MB / 0.5072 GB, free: 88.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.5891, allocations: 0 / 0.5072 GB, free: 88.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.5904, allocations: 291.6 kB / 0.5075 GB, free: 88.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002198/0.5926, allocations: 0.5898 MB / 0.508 GB, free: 88.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.5927, allocations: 33.39 kB / 0.5081 GB, free: 88.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009588/0.6023, allocations: 9.69 MB / 0.5175 GB, free: 80.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6023, allocations: 6.781 kB / 0.5175 GB, free: 80.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00638/0.6087, allocations: 3.43 MB / 0.5209 GB, free: 79.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009367/0.6097, allocations: 382.8 kB / 0.5213 GB, free: 79.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.6099, allocations: 28 kB / 0.5213 GB, free: 79.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009677/0.6109, allocations: 108.4 kB / 0.5214 GB, free: 79.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/0.6112, allocations: 114.2 kB / 0.5215 GB, free: 79.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.309e-05/0.6113, allocations: 46.55 kB / 0.5215 GB, free: 79.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001216/0.6125, allocations: 0.9185 MB / 0.5224 GB, free: 78.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6125, allocations: 0 / 0.5224 GB, free: 78.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002151/0.6147, allocations: 0.7846 MB / 0.5232 GB, free: 78.67 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.0003202/0.615, allocations: 198 kB / 0.5234 GB, free: 78.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007154/0.6222, allocations: 4.854 MB / 0.5281 GB, free: 74.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6222, allocations: 0 / 0.5281 GB, free: 74.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002825/0.6251, allocations: 1.829 MB / 0.5299 GB, free: 73.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.627, allocations: 430.4 kB / 0.5303 GB, free: 72.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005844/0.6329, allocations: 4.174 MB / 0.5344 GB, free: 68.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009294/0.6338, allocations: 1.68 MB / 0.536 GB, free: 66.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001195/0.635, allocations: 484.8 kB / 0.5365 GB, free: 66.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.6354, allocations: 107.4 kB / 0.5366 GB, free: 66.27 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6354, allocations: 0 / 0.5366 GB, free: 66.27 MB / 382.1 MB Notification: Performance of Templates: time 0.04307/0.6784, allocations: 31.6 MB / 0.5675 GB, free: 34.94 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 gbode -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)