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.001233/0.001233, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001568/0.001568, allocations: 197 kB / 16.26 MB, free: 6.625 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1657/0.1657, allocations: 8.023 MB / 298.1 MB, free: 2.383 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.91 kB / 360.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.09499, allocations: 51.2 MB / 411.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.1607/0.2558, allocations: 11.46 MB / 422.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00464/0.2604, allocations: 3.136 MB / 426 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009348/0.2614, allocations: 62.22 kB / 426.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.2624, allocations: 0.5136 MB / 426.6 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.264, allocations: 0.7178 MB / 427.3 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008203/0.2648, allocations: 0.548 MB / 427.9 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.2668, allocations: 3.077 MB / 430.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.2687, allocations: 2.551 MB / 433.5 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.2698, allocations: 1.353 MB / 434.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.2712, allocations: 1.679 MB / 436.5 MB, free: 32.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003742/0.2716, allocations: 383.3 kB / 436.9 MB, free: 32.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005967/0.2722, allocations: 475.2 kB / 437.4 MB, free: 32.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005726/0.2727, allocations: 1.007 MB / 438.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.2738, allocations: 1.647 MB / 440 MB, free: 30.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.2765, allocations: 4.736 MB / 444.8 MB, free: 29.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2765, allocations: 0 / 444.8 MB, free: 29.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2765, allocations: 0 / 444.8 MB, free: 29.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.164e-05/0.2766, allocations: 0 / 444.8 MB, free: 29.34 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.004793/0.2814, allocations: 3.261 MB / 448 MB, free: 27.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2814, allocations: 9.656 kB / 448 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003424/0.2818, allocations: 388.6 kB / 448.4 MB, free: 27.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006156/0.2824, allocations: 332.1 kB / 448.7 MB, free: 27.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.2843, allocations: 1.599 MB / 450.3 MB, free: 26.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.2844, allocations: 238.5 kB / 450.6 MB, free: 26.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.2847, allocations: 264.2 kB / 450.8 MB, free: 25.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004409/0.2891, allocations: 3.34 MB / 454.2 MB, free: 24.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.006e-05/0.2892, allocations: 7 kB / 454.2 MB, free: 24.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.2894, allocations: 107.9 kB / 454.3 MB, free: 24.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.2895, allocations: 129 kB / 454.4 MB, free: 24.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/0.2932, allocations: 2.658 MB / 457.1 MB, free: 23.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.3064, allocations: 10.78 MB / 467.8 MB, free: 17.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/0.3092, allocations: 1.842 MB / 469.7 MB, free: 16.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.3107, allocations: 0.9348 MB / 470.6 MB, free: 16.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/0.3109, allocations: 127.4 kB / 470.7 MB, free: 16.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.311, allocations: 44.38 kB / 470.8 MB, free: 16.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 2.685e-06/0.311, allocations: 0 / 470.8 MB, free: 16.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01799/0.329, allocations: 7.301 MB / 478.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.329, allocations: 92.94 kB / 478.2 MB, free: 13.61 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.001925/0.331, allocations: 1.461 MB / 479.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.222e-05/0.3311, allocations: 47.2 kB / 479.7 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005136/0.3316, allocations: 1.205 MB / 480.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.3318, allocations: 463.6 kB / 481.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003998/0.3323, allocations: 295.2 kB / 481.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.188e-05/0.3323, allocations: 310.4 kB / 481.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.3334, allocations: 0.7738 MB / 482.7 MB, free: 11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.3348, allocations: 1.246 MB / 484 MB, free: 10.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00876/0.3436, allocations: 4.063 MB / 488 MB, free: 7.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.3436, allocations: 5.688 kB / 488 MB, free: 7.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005879/0.3495, allocations: 3.037 MB / 491.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3495, allocations: 14.19 kB / 491.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.3495, allocations: 16.38 kB / 491.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002584/0.3521, allocations: 0.7174 MB / 491.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.3533, allocations: 391.4 kB / 492.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.3642, allocations: 8.391 MB / 0.4888 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.3657, allocations: 131.6 kB / 0.489 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.3658, allocations: 68.06 kB / 0.489 GB, free: 10.66 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.002274/0.3681, allocations: 1.4 MB / 0.4904 GB, free: 9.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001418/0.3695, allocations: 1.23 MB / 0.4916 GB, free: 7.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009508/0.379, allocations: 4.036 MB / 0.4955 GB, free: 3.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.667e-05/0.3791, allocations: 4 kB / 0.4955 GB, free: 3.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.006339/0.3854, allocations: 2.952 MB / 0.4984 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3854, allocations: 12 kB / 0.4984 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.3855, allocations: 12 kB / 0.4985 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002813/0.3883, allocations: 0.7183 MB / 0.4992 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.3896, allocations: 391.4 kB / 0.4995 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.4008, allocations: 8.174 MB / 0.5075 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.4022, allocations: 123.8 kB / 0.5076 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.4023, allocations: 67.98 kB / 0.5077 GB, free: 6.711 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.0004434/0.4028, allocations: 294.3 kB / 0.508 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/0.403, allocations: 170 kB / 0.5081 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005963/0.409, allocations: 2.659 MB / 0.5107 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.409, allocations: 19.94 kB / 0.5108 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.409, allocations: 0 / 0.5108 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.4091, allocations: 7.969 kB / 0.5108 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009903/0.419, allocations: 5.364 MB / 0.516 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.419, allocations: 0 / 0.516 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009939/0.42, allocations: 251.9 kB / 0.5162 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/0.4225, allocations: 0.7058 MB / 0.5169 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.4226, allocations: 39.92 kB / 0.517 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/0.4342, allocations: 8.523 MB / 0.5253 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4342, allocations: 3.938 kB / 0.5253 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007201/0.4414, allocations: 3.741 MB / 0.5289 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007664/0.4422, allocations: 394.4 kB / 0.5293 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.4424, allocations: 35.98 kB / 0.5294 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000929/0.4434, allocations: 95.83 kB / 0.5294 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/0.4437, allocations: 117.1 kB / 0.5296 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/0.4438, allocations: 39.98 kB / 0.5296 GB, free: 15.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0013/0.4451, allocations: 0.962 MB / 0.5305 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4451, allocations: 3.938 kB / 0.5305 GB, free: 14.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002598/0.4477, allocations: 0.9102 MB / 0.5314 GB, free: 13.79 MB / 414.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.007458/0.4551, allocations: 4.377 MB / 0.5357 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008896/0.4641, allocations: 5.062 MB / 0.5406 GB, free: 4.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4641, allocations: 0 / 0.5406 GB, free: 4.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002872/0.467, allocations: 1.749 MB / 0.5424 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.469, allocations: 459.6 kB / 0.5428 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03452/0.5035, allocations: 21.09 MB / 0.5634 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.505, allocations: 1.928 MB / 0.5653 GB, free: 9.582 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00139/0.5064, allocations: 0.4902 MB / 0.5657 GB, free: 9.086 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.5075, allocations: 0.9562 MB / 0.5667 GB, free: 8.129 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5075, allocations: 0 / 0.5667 GB, free: 8.129 MB / 446.1 MB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.05 / (6.283185307179586 * smpm1.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 6.283185307179586 * smpm1.fsNominal / /*Real*/(smpm1.p).