Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.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: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001009, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009881/0.0009882, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1385/0.1385, allocations: 8.024 MB / 298 MB, free: 2.484 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 59.91 kB / 360.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08806/0.08918, allocations: 51.2 MB / 411.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.1585/0.2477, allocations: 11.47 MB / 422.7 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005204/0.253, allocations: 3.152 MB / 425.9 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.2541, allocations: 62.94 kB / 425.9 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.2552, allocations: 0.5084 MB / 426.4 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.2568, allocations: 0.7157 MB / 427.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009121/0.2577, allocations: 0.5626 MB / 427.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002227/0.26, allocations: 3.327 MB / 431 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.2618, allocations: 2.148 MB / 433.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.2632, allocations: 1.174 MB / 434.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.2647, allocations: 1.583 MB / 435.9 MB, free: 33.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000321/0.265, allocations: 234.1 kB / 436.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006017/0.2656, allocations: 326.7 kB / 436.5 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000558/0.2662, allocations: 0.8535 MB / 437.4 MB, free: 32.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.2673, allocations: 1.495 MB / 438.8 MB, free: 31.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.2699, allocations: 4.599 MB / 443.4 MB, free: 30.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2699, allocations: 0 / 443.4 MB, free: 30.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2699, allocations: 0 / 443.4 MB, free: 30.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.016e-05/0.27, allocations: 0 / 443.4 MB, free: 30.12 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 699 * Number of variables: 699 Notification: Performance of Generate backend data structure: time 0.004991/0.275, allocations: 3.265 MB / 446.7 MB, free: 28.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.275, allocations: 13.88 kB / 446.7 MB, free: 28.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003614/0.2754, allocations: 380.8 kB / 447.1 MB, free: 28.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006557/0.2761, allocations: 332.2 kB / 447.4 MB, free: 27.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.2782, allocations: 1.596 MB / 449 MB, free: 26.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.2783, allocations: 242 kB / 449.3 MB, free: 26.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/0.2786, allocations: 265.3 kB / 449.5 MB, free: 26.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004425/0.2831, allocations: 3.342 MB / 452.9 MB, free: 25.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-05/0.2831, allocations: 3.344 kB / 452.9 MB, free: 25.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.2834, allocations: 115.5 kB / 453 MB, free: 25.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.111e-05/0.2835, allocations: 121.3 kB / 453.1 MB, free: 25.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003708/0.2872, allocations: 2.667 MB / 455.8 MB, free: 24.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/0.3004, allocations: 10.76 MB / 466.5 MB, free: 18.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.3033, allocations: 1.854 MB / 468.4 MB, free: 17.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.3048, allocations: 0.9337 MB / 469.3 MB, free: 17.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.3051, allocations: 123.6 kB / 469.4 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.3051, allocations: 49.03 kB / 469.5 MB, free: 17.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 3.206e-06/0.3051, allocations: 3.938 kB / 469.5 MB, free: 17.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01837/0.3235, allocations: 7.287 MB / 476.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.3236, allocations: 95.61 kB / 476.9 MB, free: 14.4 MB / 350.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=1e-05) 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.001866/0.3254, allocations: 1.461 MB / 478.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.3255, allocations: 50.52 kB / 478.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/0.326, allocations: 1.203 MB / 479.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.3263, allocations: 464.6 kB / 480 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.3267, allocations: 295.3 kB / 480.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.194e-05/0.3267, allocations: 309.1 kB / 480.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3279, allocations: 0.7779 MB / 481.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.3292, allocations: 1.243 MB / 482.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00899/0.3382, allocations: 4.05 MB / 486.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.3382, allocations: 4.438 kB / 486.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005915/0.3442, allocations: 3.038 MB / 489.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3442, allocations: 8 kB / 489.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.3442, allocations: 16.38 kB / 489.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/0.347, allocations: 0.7153 MB / 490.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.3482, allocations: 391.4 kB / 490.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.3584, allocations: 7.703 MB / 498.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.36, allocations: 127.7 kB / 498.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.3601, allocations: 67.98 kB / 498.7 MB, free: 12.56 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.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.pi.x:VARIABLE(start = myMTPA.pi.x_start fixed = true ) "State of block" 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.002477/0.3626, allocations: 1.397 MB / 0.4884 GB, free: 11.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001428/0.3641, allocations: 1.234 MB / 0.4896 GB, free: 9.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009753/0.3738, allocations: 4.017 MB / 0.4935 GB, free: 5.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.909e-06/0.3739, allocations: 4 kB / 0.4935 GB, free: 5.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.00656/0.3804, allocations: 2.956 MB / 0.4964 GB, free: 2.535 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3805, allocations: 16.03 kB / 0.4964 GB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.3805, allocations: 16 kB / 0.4965 GB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002784/0.3833, allocations: 0.6978 MB / 0.4971 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.3848, allocations: 399.4 kB / 0.4975 GB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.3953, allocations: 7.491 MB / 0.5048 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.3969, allocations: 119.9 kB / 0.505 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.397, allocations: 67.98 kB / 0.505 GB, free: 9.332 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.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.pi.x:VARIABLE(start = myMTPA.pi.x_start fixed = true ) "State of block" 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: 65 * Number of states: 0 () * Number of discrete variables: 2 (myMTPA.limiting.y,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004675/0.3975, allocations: 314 kB / 0.5053 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.3978, allocations: 165.9 kB / 0.5055 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005993/0.4038, allocations: 2.659 MB / 0.5081 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.4038, allocations: 12 kB / 0.5081 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4038, allocations: 7.984 kB / 0.5081 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.4039, allocations: 3.984 kB / 0.5081 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.414, allocations: 5.364 MB / 0.5133 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.414, allocations: 0 / 0.5133 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.415, allocations: 251.6 kB / 0.5136 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002844/0.4179, allocations: 0.749 MB / 0.5143 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.429e-05/0.418, allocations: 35.98 kB / 0.5143 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/0.4297, allocations: 7.817 MB / 0.522 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.4297, allocations: 3.938 kB / 0.522 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007925/0.4376, allocations: 3.742 MB / 0.5256 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009768/0.4386, allocations: 394.9 kB / 0.526 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.4389, allocations: 32 kB / 0.526 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009246/0.4398, allocations: 103.9 kB / 0.5261 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/0.4402, allocations: 121 kB / 0.5263 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.4403, allocations: 39.98 kB / 0.5263 GB, free: 2.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001351/0.4416, allocations: 0.9659 MB / 0.5272 GB, free: 1.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4416, allocations: 0 / 0.5272 GB, free: 1.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002752/0.4444, allocations: 0.9062 MB / 0.5281 GB, free: 1.078 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder1.y,myMTPA.pi.x,speed.phi,speed.w) * Number of discrete variables: 1 (myMTPA.limiting.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007842/0.4522, allocations: 4.388 MB / 0.5324 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008254/0.4605, allocations: 4.571 MB / 0.5369 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4606, allocations: 0 / 0.5369 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00308/0.4636, allocations: 1.736 MB / 0.5386 GB, free: 6.152 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.4658, allocations: 417.2 kB / 0.539 GB, free: 5.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0358/0.5016, allocations: 21.11 MB / 0.5596 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.5032, allocations: 1.925 MB / 0.5615 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001449/0.5047, allocations: 494 kB / 0.5619 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.5058, allocations: 0.9601 MB / 0.5629 GB, free: 11.93 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5058, allocations: 0 / 0.5629 GB, free: 11.93 MB / 446.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.05 / (6.283185307179586 * smpm1.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 6.283185307179586 * smpm1.fsNominal / /*Real*/(smpm1.p).