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.0009803/0.0009805, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.006992/0.006992, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1972/0.1972, allocations: 8.017 MB / 299.5 MB, free: 3.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 8.281 kB / 362.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1173, allocations: 52.18 MB / 414.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.2063/0.3236, allocations: 10.86 MB / 425.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006232/0.3299, allocations: 3.126 MB / 428.7 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.3322, allocations: 63.09 kB / 428.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.3338, allocations: 0.504 MB / 429.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.3366, allocations: 0.7141 MB / 430 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.3379, allocations: 0.5581 MB / 430.5 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004143/0.3421, allocations: 3.332 MB / 433.8 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002953/0.3451, allocations: 2.125 MB / 436 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.347, allocations: 0.9959 MB / 437 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.3487, allocations: 1.365 MB / 438.3 MB, free: 32.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.349, allocations: 151.5 kB / 438.5 MB, free: 32.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006036/0.3496, allocations: 255.3 kB / 438.7 MB, free: 32.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005822/0.3502, allocations: 0.7315 MB / 439.5 MB, free: 32.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.3514, allocations: 1.369 MB / 440.8 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003078/0.3545, allocations: 4.455 MB / 445.3 MB, free: 30.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3545, allocations: 0 / 445.3 MB, free: 30.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3546, allocations: 0 / 445.3 MB, free: 30.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.355e-05/0.3546, allocations: 0 / 445.3 MB, free: 30.46 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.004772/0.3594, allocations: 2.744 MB / 448 MB, free: 29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3595, allocations: 9.688 kB / 448 MB, free: 29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004597/0.3599, allocations: 388.2 kB / 448.4 MB, free: 28.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/0.3607, allocations: 329.6 kB / 448.7 MB, free: 28.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.3628, allocations: 1.598 MB / 450.3 MB, free: 27.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.363, allocations: 249.2 kB / 450.6 MB, free: 27.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003265/0.3633, allocations: 264.6 kB / 450.8 MB, free: 27.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004864/0.3682, allocations: 3.361 MB / 454.2 MB, free: 26.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-05/0.3683, allocations: 3.344 kB / 454.2 MB, free: 26.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.3685, allocations: 110.3 kB / 454.3 MB, free: 26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.296e-05/0.3686, allocations: 125.4 kB / 454.4 MB, free: 25.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004077/0.3727, allocations: 2.699 MB / 457.1 MB, free: 25.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.3888, allocations: 10.82 MB / 468 MB, free: 19.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003542/0.3924, allocations: 1.933 MB / 469.9 MB, free: 18.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.3943, allocations: 0.9611 MB / 470.9 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.3945, allocations: 135.1 kB / 471 MB, free: 17.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.3946, allocations: 44.38 kB / 471 MB, free: 17.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 3.767e-06/0.3946, allocations: 5.141 kB / 471 MB, free: 17.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.02157/0.4162, allocations: 7.718 MB / 478.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.4163, allocations: 92.27 kB / 478.8 MB, free: 15.04 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.002483/0.4188, allocations: 1.462 MB / 480.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.419, allocations: 47.17 kB / 480.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006083/0.4196, allocations: 1.207 MB / 481.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.4199, allocations: 461.5 kB / 482 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.4201, allocations: 132.5 kB / 482.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.31e-05/0.4202, allocations: 305.1 kB / 482.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.4215, allocations: 0.7957 MB / 483.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.4231, allocations: 1.268 MB / 484.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/0.4332, allocations: 4.178 MB / 488.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/0.4333, allocations: 3.688 kB / 488.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.007658/0.4409, allocations: 3.233 MB / 491.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002774/0.4412, allocations: 0.5103 MB / 492.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/0.4413, allocations: 16 kB / 492.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/0.4441, allocations: 0.7665 MB / 493.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.4455, allocations: 411.4 kB / 493.6 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.458, allocations: 7.982 MB / 0.4898 GB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.4601, allocations: 128 kB / 0.49 GB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/0.4604, allocations: 76.05 kB / 0.49 GB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.4604, allocations: 4 kB / 0.49 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007598/0.468, allocations: 2.953 MB / 0.4929 GB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.733e-05/0.4681, allocations: 19.98 kB / 0.4929 GB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/0.4712, allocations: 0.7543 MB / 0.4937 GB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.4729, allocations: 403.4 kB / 0.4941 GB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.4853, allocations: 7.697 MB / 0.5016 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.4873, allocations: 131.8 kB / 0.5017 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003514/0.4877, allocations: 71.98 kB / 0.5018 GB, free: 14.79 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.002132/0.4898, allocations: 0.831 MB / 0.5026 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005766/0.4904, allocations: 161.9 kB / 0.5027 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007278/0.4977, allocations: 2.839 MB / 0.5055 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.4977, allocations: 12 kB / 0.5055 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.4977, allocations: 4 kB / 0.5055 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.4978, allocations: 7.969 kB / 0.5055 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.5109, allocations: 5.539 MB / 0.5109 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.5109, allocations: 8 kB / 0.5109 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.5121, allocations: 264 kB / 0.5112 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003168/0.5152, allocations: 0.811 MB / 0.512 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.5154, allocations: 31.98 kB / 0.512 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/0.5284, allocations: 8.097 MB / 0.5199 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.5285, allocations: 0 / 0.5199 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008809/0.5373, allocations: 3.958 MB / 0.5238 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009691/0.5383, allocations: 402.8 kB / 0.5242 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004138/0.5387, allocations: 27.98 kB / 0.5242 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.5401, allocations: 115.9 kB / 0.5243 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004074/0.5405, allocations: 124.9 kB / 0.5244 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.5406, allocations: 39.98 kB / 0.5245 GB, free: 6.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001953/0.5426, allocations: 0.9621 MB / 0.5254 GB, free: 5.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5426, allocations: 0 / 0.5254 GB, free: 5.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003746/0.5464, allocations: 0.9023 MB / 0.5263 GB, free: 5.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.008834/0.5552, allocations: 4.578 MB / 0.5308 GB, free: 456 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009662/0.5649, allocations: 4.745 MB / 0.5354 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.5649, allocations: 0 / 0.5354 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003638/0.5686, allocations: 1.818 MB / 0.5372 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/0.5719, allocations: 433.6 kB / 0.5376 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04444/0.6163, allocations: 21.64 MB / 0.5587 GB, free: 2.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/0.6195, allocations: 1.921 MB / 0.5606 GB, free: 404 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002299/0.6218, allocations: 498 kB / 0.5611 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/0.6237, allocations: 0.9579 MB / 0.562 GB, free: 14.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.613e-06/0.6237, allocations: 0 / 0.562 GB, free: 14.95 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).