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.001499/0.001499, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001747, allocations: 198 kB / 16.54 MB, free: 6.672 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1397/0.1397, allocations: 8.022 MB / 298.4 MB, free: 2.383 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 360.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0984/0.09984, allocations: 51.19 MB / 411.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.1891/0.289, allocations: 11.56 MB / 423.5 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005027/0.2941, allocations: 3.213 MB / 426.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.2953, allocations: 64.97 kB / 426.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2966, allocations: 0.6086 MB / 427.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.2986, allocations: 0.8085 MB / 428.2 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.2998, allocations: 0.626 MB / 428.8 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002523/0.3023, allocations: 3.064 MB / 431.9 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.3044, allocations: 2.559 MB / 434.4 MB, free: 34.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.3058, allocations: 1.338 MB / 435.8 MB, free: 33.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.3072, allocations: 1.659 MB / 437.4 MB, free: 32.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004014/0.3076, allocations: 383.7 kB / 437.8 MB, free: 32.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006642/0.3083, allocations: 477.8 kB / 438.3 MB, free: 32.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006503/0.309, allocations: 1.001 MB / 439.3 MB, free: 32.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.3103, allocations: 1.657 MB / 440.9 MB, free: 31.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.3134, allocations: 4.714 MB / 445.6 MB, free: 29.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3134, allocations: 0 / 445.6 MB, free: 29.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3135, allocations: 0 / 445.6 MB, free: 29.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001338/0.3136, allocations: 0 / 445.6 MB, free: 29.41 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.005639/0.3192, allocations: 3.269 MB / 448.9 MB, free: 27.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3193, allocations: 9.688 kB / 448.9 MB, free: 27.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003783/0.3197, allocations: 384 kB / 449.3 MB, free: 27.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006823/0.3204, allocations: 330.3 kB / 449.6 MB, free: 27.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.3224, allocations: 1.601 MB / 451.2 MB, free: 26.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.3226, allocations: 243 kB / 451.5 MB, free: 26.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003066/0.3229, allocations: 265.3 kB / 451.7 MB, free: 26.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/0.3273, allocations: 3.335 MB / 455.1 MB, free: 24.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.04e-05/0.3273, allocations: 14.36 kB / 455.1 MB, free: 24.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002071/0.3276, allocations: 105.1 kB / 455.2 MB, free: 24.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.062e-05/0.3277, allocations: 123.5 kB / 455.3 MB, free: 24.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003899/0.3316, allocations: 2.661 MB / 457.9 MB, free: 23.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.3456, allocations: 10.77 MB / 468.7 MB, free: 17.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.3486, allocations: 1.854 MB / 470.6 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.3502, allocations: 0.9315 MB / 471.5 MB, free: 16.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.3505, allocations: 125.2 kB / 471.6 MB, free: 16.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3505, allocations: 45.34 kB / 471.7 MB, free: 16.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 4.108e-06/0.3505, allocations: 0 / 471.7 MB, free: 16.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01974/0.3703, allocations: 7.296 MB / 479 MB, free: 13.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.3704, allocations: 98.23 kB / 479.1 MB, free: 13.68 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.002327/0.3727, allocations: 1.457 MB / 480.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001829/0.3729, allocations: 47.2 kB / 480.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006141/0.3735, allocations: 1.203 MB / 481.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000379/0.3739, allocations: 463.9 kB / 482.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004679/0.3744, allocations: 299 kB / 482.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.3745, allocations: 309.1 kB / 482.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.3757, allocations: 0.7755 MB / 483.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.3771, allocations: 1.247 MB / 484.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009503/0.3866, allocations: 4.074 MB / 488.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/0.3867, allocations: 4.625 kB / 488.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006367/0.3931, allocations: 3.04 MB / 492 MB, free: 4.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3931, allocations: 12 kB / 492 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.3931, allocations: 16 kB / 492 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/0.3959, allocations: 0.7096 MB / 492.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.3972, allocations: 399.4 kB / 493.1 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.4095, allocations: 8.383 MB / 0.4897 GB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.4112, allocations: 123.8 kB / 0.4898 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.4113, allocations: 67.98 kB / 0.4899 GB, free: 10.32 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.002499/0.4139, allocations: 1.416 MB / 0.4913 GB, free: 8.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001575/0.4154, allocations: 1.23 MB / 0.4925 GB, free: 7.484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0104/0.4258, allocations: 4.036 MB / 0.4964 GB, free: 3.246 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.468e-06/0.4259, allocations: 7.938 kB / 0.4964 GB, free: 3.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.009498/0.4354, allocations: 2.951 MB / 0.4993 GB, free: 276 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.4354, allocations: 12 kB / 0.4993 GB, free: 264 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.4355, allocations: 16 kB / 0.4993 GB, free: 248 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003036/0.4385, allocations: 0.7121 MB / 0.5 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.44, allocations: 395.4 kB / 0.5004 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.4524, allocations: 8.171 MB / 0.5084 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.454, allocations: 119.8 kB / 0.5085 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/0.4542, allocations: 71.98 kB / 0.5086 GB, free: 6.355 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.0004957/0.4548, allocations: 297.3 kB / 0.5089 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004486/0.4552, allocations: 158 kB / 0.509 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00662/0.4618, allocations: 2.661 MB / 0.5116 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.4619, allocations: 19.94 kB / 0.5116 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4619, allocations: 0 / 0.5116 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.4619, allocations: 7.969 kB / 0.5116 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.4732, allocations: 5.361 MB / 0.5169 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.4733, allocations: 4 kB / 0.5169 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.4744, allocations: 255.9 kB / 0.5171 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002731/0.4771, allocations: 0.7082 MB / 0.5178 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.4773, allocations: 31.98 kB / 0.5178 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/0.4899, allocations: 8.519 MB / 0.5262 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.4899, allocations: 12 kB / 0.5262 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007933/0.4978, allocations: 3.738 MB / 0.5298 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008546/0.4987, allocations: 402.9 kB / 0.5302 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003528/0.4991, allocations: 24 kB / 0.5302 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.5002, allocations: 103.8 kB / 0.5303 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/0.5005, allocations: 117.3 kB / 0.5304 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-05/0.5006, allocations: 43.92 kB / 0.5305 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0015/0.5021, allocations: 0.9621 MB / 0.5314 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5021, allocations: 0 / 0.5314 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002952/0.5051, allocations: 0.9062 MB / 0.5323 GB, free: 13.45 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.008015/0.5131, allocations: 4.378 MB / 0.5366 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009563/0.5227, allocations: 5.062 MB / 0.5415 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5227, allocations: 0 / 0.5415 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003188/0.5259, allocations: 1.746 MB / 0.5432 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.5282, allocations: 457.8 kB / 0.5437 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03337/0.5615, allocations: 20.02 MB / 0.5632 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/0.5634, allocations: 1.925 MB / 0.5651 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00154/0.5649, allocations: 0.4902 MB / 0.5656 GB, free: 9.824 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/0.5662, allocations: 0.9523 MB / 0.5665 GB, free: 8.871 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5662, allocations: 4 kB / 0.5665 GB, free: 8.867 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).