Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,fileNamePrefix="EHPTlib_latest_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.001321/0.001321, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001608/0.001608, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.281/1.281, 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.1446/0.1446, allocations: 8.028 MB / 298 MB, free: 2.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.001541, allocations: 59.91 kB / 360.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09691/0.09846, allocations: 51.19 MB / 411.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.185/0.2835, allocations: 11.47 MB / 422.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005523/0.289, allocations: 3.157 MB / 425.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009211/0.29, allocations: 65.09 kB / 425.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.291, allocations: 0.5043 MB / 426.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.2925, allocations: 0.7158 MB / 427.2 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008794/0.2934, allocations: 0.5596 MB / 427.7 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002424/0.2959, allocations: 3.337 MB / 431.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.2978, allocations: 2.149 MB / 433.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.2992, allocations: 1.175 MB / 434.4 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.3005, allocations: 1.57 MB / 435.9 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003046/0.3008, allocations: 233.6 kB / 436.2 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.3014, allocations: 327.3 kB / 436.5 MB, free: 33.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00056/0.302, allocations: 0.8566 MB / 437.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009813/0.303, allocations: 1.487 MB / 438.8 MB, free: 31.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002389/0.3054, allocations: 4.615 MB / 443.5 MB, free: 30.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3054, allocations: 0 / 443.5 MB, free: 30.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3054, allocations: 0 / 443.5 MB, free: 30.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.422e-05/0.3054, allocations: 6.688 kB / 443.5 MB, free: 30.16 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.004792/0.3102, allocations: 3.253 MB / 446.7 MB, free: 28.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3103, allocations: 11.97 kB / 446.7 MB, free: 28.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003557/0.3106, allocations: 380.7 kB / 447.1 MB, free: 28.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006447/0.3113, allocations: 332 kB / 447.4 MB, free: 27.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.3133, allocations: 1.596 MB / 449 MB, free: 27.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.3134, allocations: 245.8 kB / 449.3 MB, free: 26.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/0.3137, allocations: 265.9 kB / 449.5 MB, free: 26.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004361/0.3181, allocations: 3.336 MB / 452.9 MB, free: 25.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/0.3181, allocations: 3.281 kB / 452.9 MB, free: 25.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.3184, allocations: 109.9 kB / 453 MB, free: 25.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.3185, allocations: 127.9 kB / 453.1 MB, free: 25.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003722/0.3222, allocations: 2.667 MB / 455.8 MB, free: 24.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01448/0.3367, allocations: 10.76 MB / 466.5 MB, free: 18.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.3402, allocations: 1.853 MB / 468.4 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.3419, allocations: 0.9301 MB / 469.3 MB, free: 17.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/0.3421, allocations: 123.1 kB / 469.4 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3421, allocations: 48.53 kB / 469.5 MB, free: 17.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 2.855e-06/0.3422, allocations: 1.125 kB / 469.5 MB, free: 17.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01888/0.361, allocations: 7.294 MB / 476.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.3611, allocations: 90.95 kB / 476.9 MB, free: 14.45 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.002123/0.3632, allocations: 1.456 MB / 478.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.134e-05/0.3633, allocations: 50.33 kB / 478.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005581/0.3639, allocations: 1.207 MB / 479.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.3642, allocations: 464.8 kB / 480 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/0.3646, allocations: 296.6 kB / 480.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.195e-05/0.3647, allocations: 310.6 kB / 480.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.3659, allocations: 0.7814 MB / 481.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.3673, allocations: 1.243 MB / 482.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009143/0.3764, allocations: 4.05 MB / 486.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.649e-06/0.3764, allocations: 8.219 kB / 486.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00601/0.3824, allocations: 3.036 MB / 489.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3825, allocations: 14.03 kB / 489.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.3825, allocations: 16 kB / 489.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002595/0.3851, allocations: 0.7162 MB / 490.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.3863, allocations: 391.4 kB / 490.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.3966, allocations: 7.684 MB / 498.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.3983, allocations: 123.8 kB / 498.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.3985, allocations: 72.06 kB / 498.7 MB, free: 12.57 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.002591/0.4011, allocations: 1.401 MB / 0.4884 GB, free: 11.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001538/0.4026, allocations: 1.234 MB / 0.4896 GB, free: 9.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009693/0.4123, allocations: 4.02 MB / 0.4935 GB, free: 5.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.117e-06/0.4123, allocations: 11.94 kB / 0.4936 GB, free: 5.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.006447/0.4188, allocations: 2.956 MB / 0.4964 GB, free: 2.531 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4188, allocations: 12 kB / 0.4965 GB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4189, allocations: 12 kB / 0.4965 GB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002722/0.4216, allocations: 0.6999 MB / 0.4971 GB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.4229, allocations: 391.4 kB / 0.4975 GB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.4335, allocations: 7.495 MB / 0.5048 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.435, allocations: 119.9 kB / 0.505 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.4352, allocations: 75.98 kB / 0.505 GB, free: 9.336 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.0005297/0.4357, allocations: 304.9 kB / 0.5053 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.436, allocations: 165.9 kB / 0.5055 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0064/0.4424, allocations: 2.655 MB / 0.5081 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.4424, allocations: 12 kB / 0.5081 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4425, allocations: 7.938 kB / 0.5081 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.4425, allocations: 7.969 kB / 0.5081 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.4526, allocations: 5.354 MB / 0.5133 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.4526, allocations: 4 kB / 0.5133 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009851/0.4536, allocations: 252 kB / 0.5136 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/0.4563, allocations: 0.7554 MB / 0.5143 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.865e-05/0.4564, allocations: 27.98 kB / 0.5143 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/0.4701, allocations: 7.83 MB / 0.522 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.4701, allocations: 7.969 kB / 0.522 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007055/0.4772, allocations: 3.745 MB / 0.5256 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006005/0.4778, allocations: 394.9 kB / 0.526 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.478, allocations: 28 kB / 0.526 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000877/0.4789, allocations: 99.88 kB / 0.5261 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.4792, allocations: 121 kB / 0.5263 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.437e-05/0.4793, allocations: 39.98 kB / 0.5263 GB, free: 2.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.4805, allocations: 0.9659 MB / 0.5272 GB, free: 1.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4805, allocations: 0 / 0.5272 GB, free: 1.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002544/0.4831, allocations: 0.9023 MB / 0.5281 GB, free: 1.09 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.00742/0.4905, allocations: 4.382 MB / 0.5324 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007465/0.498, allocations: 4.581 MB / 0.5369 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.498, allocations: 1 kB / 0.5369 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002823/0.5008, allocations: 1.731 MB / 0.5386 GB, free: 6.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.503, allocations: 430.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.03358/0.5366, allocations: 21.1 MB / 0.5596 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/0.5381, allocations: 1.928 MB / 0.5615 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001353/0.5395, 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.001078/0.5405, allocations: 0.9562 MB / 0.5629 GB, free: 11.94 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5405, allocations: 0 / 0.5629 GB, free: 11.94 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).