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.001752/0.001751, allocations: 108 kB / 15.61 MB, free: 152 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.001972/0.001973, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.401/1.401, 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.1734/0.1734, allocations: 8.028 MB / 298.4 MB, free: 2.383 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.91 kB / 360.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09809, allocations: 51.19 MB / 411.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.2058/0.3039, allocations: 11.56 MB / 423.5 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005979/0.3099, allocations: 3.216 MB / 426.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.3113, allocations: 67.52 kB / 426.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.3127, allocations: 0.6064 MB / 427.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.3149, allocations: 0.8109 MB / 428.2 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.316, allocations: 0.6292 MB / 428.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002249/0.3183, allocations: 3.062 MB / 431.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.3204, allocations: 2.551 MB / 434.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.322, allocations: 1.341 MB / 435.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.3237, allocations: 1.658 MB / 437.4 MB, free: 32.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004336/0.3241, allocations: 383.3 kB / 437.8 MB, free: 32.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000713/0.3249, allocations: 483.1 kB / 438.3 MB, free: 32.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007106/0.3256, allocations: 0.9991 MB / 439.3 MB, free: 32.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.327, allocations: 1.65 MB / 440.9 MB, free: 30.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.3306, allocations: 4.719 MB / 445.6 MB, free: 29.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3306, allocations: 4 kB / 445.6 MB, free: 29.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3306, allocations: 0 / 445.6 MB, free: 29.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001161/0.3307, allocations: 0 / 445.6 MB, free: 29.27 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.006676/0.3374, allocations: 3.266 MB / 448.9 MB, free: 27.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3375, allocations: 9.594 kB / 448.9 MB, free: 27.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004293/0.3379, allocations: 379.9 kB / 449.3 MB, free: 27.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000812/0.3387, allocations: 333.3 kB / 449.6 MB, free: 27.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.3411, allocations: 1.601 MB / 451.2 MB, free: 26.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.3412, allocations: 240.9 kB / 451.5 MB, free: 26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.3416, allocations: 273.3 kB / 451.7 MB, free: 25.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004854/0.3465, allocations: 3.328 MB / 455 MB, free: 24.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.521e-05/0.3466, allocations: 7.062 kB / 455.1 MB, free: 24.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.3468, allocations: 111 kB / 455.2 MB, free: 24.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.3469, allocations: 126.5 kB / 455.3 MB, free: 24.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003926/0.3508, allocations: 2.664 MB / 457.9 MB, free: 23.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.3667, allocations: 10.77 MB / 468.7 MB, free: 17.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003551/0.3703, allocations: 1.853 MB / 470.6 MB, free: 16.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.3719, allocations: 0.9328 MB / 471.5 MB, free: 16.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.3722, allocations: 127.2 kB / 471.6 MB, free: 16.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3722, allocations: 44.39 kB / 471.7 MB, free: 16.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 2.955e-06/0.3722, allocations: 0 / 471.7 MB, free: 16.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.02076/0.393, allocations: 7.294 MB / 479 MB, free: 13.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3931, allocations: 91.03 kB / 479.1 MB, free: 13.55 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.002266/0.3953, allocations: 1.459 MB / 480.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.3955, allocations: 54.61 kB / 480.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007095/0.3962, allocations: 1.202 MB / 481.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/0.3966, allocations: 465.9 kB / 482.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004472/0.397, allocations: 292.4 kB / 482.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.3971, allocations: 315.2 kB / 482.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.3984, allocations: 0.7794 MB / 483.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.3998, allocations: 1.239 MB / 484.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00948/0.4093, allocations: 4.074 MB / 488.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.4094, allocations: 3.531 kB / 488.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006125/0.4155, allocations: 3.042 MB / 492 MB, free: 4.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.4155, allocations: 12 kB / 492 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.4156, allocations: 15.94 kB / 492 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002724/0.4183, allocations: 0.7177 MB / 492.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.4197, allocations: 395.4 kB / 493.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.4315, allocations: 8.38 MB / 0.4897 GB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.4332, allocations: 123.8 kB / 0.4898 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.4334, allocations: 68.14 kB / 0.4899 GB, free: 10.33 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.002625/0.436, allocations: 1.417 MB / 0.4913 GB, free: 8.914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00153/0.4376, allocations: 1.234 MB / 0.4925 GB, free: 7.484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01005/0.4476, allocations: 4.032 MB / 0.4964 GB, free: 3.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.671e-05/0.4477, allocations: 4 kB / 0.4964 GB, free: 3.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.006871/0.4546, allocations: 2.952 MB / 0.4993 GB, free: 284 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4546, allocations: 16.03 kB / 0.4993 GB, free: 268 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/0.4546, allocations: 16 kB / 0.4993 GB, free: 252 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002819/0.4575, allocations: 0.7037 MB / 0.5 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.4589, allocations: 395.4 kB / 0.5004 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.471, allocations: 8.178 MB / 0.5084 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.4728, allocations: 119.8 kB / 0.5085 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.4729, allocations: 71.98 kB / 0.5086 GB, free: 6.363 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.0005482/0.4735, allocations: 296.2 kB / 0.5089 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/0.4738, allocations: 158 kB / 0.509 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006482/0.4803, allocations: 2.655 MB / 0.5116 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.4803, allocations: 23.94 kB / 0.5116 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4804, allocations: 7.922 kB / 0.5116 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.4804, allocations: 3.984 kB / 0.5116 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.4919, allocations: 5.358 MB / 0.5169 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.492, allocations: 4 kB / 0.5169 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.4931, allocations: 251.6 kB / 0.5171 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002649/0.4957, allocations: 0.7092 MB / 0.5178 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.4959, allocations: 35.98 kB / 0.5178 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.5089, allocations: 8.515 MB / 0.5261 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.5089, allocations: 7.938 kB / 0.5262 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008577/0.5175, allocations: 3.745 MB / 0.5298 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.5186, allocations: 398.9 kB / 0.5302 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005065/0.5191, allocations: 31.98 kB / 0.5302 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.5203, allocations: 103.8 kB / 0.5303 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003395/0.5207, allocations: 117.1 kB / 0.5304 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.812e-05/0.5208, allocations: 39.98 kB / 0.5305 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001869/0.5227, allocations: 0.9659 MB / 0.5314 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5227, allocations: 0 / 0.5314 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003766/0.5265, allocations: 0.9101 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.00876/0.5352, allocations: 4.385 MB / 0.5366 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01033/0.5456, allocations: 5.057 MB / 0.5415 GB, free: 3.824 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.5456, allocations: 0 / 0.5415 GB, free: 3.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003405/0.549, allocations: 1.747 MB / 0.5432 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/0.552, allocations: 445.3 kB / 0.5437 GB, free: 1.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03816/0.5901, 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.002538/0.5927, allocations: 1.921 MB / 0.5651 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001809/0.5946, allocations: 498 kB / 0.5656 GB, free: 9.832 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.5959, allocations: 0.9601 MB / 0.5665 GB, free: 8.871 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5959, allocations: 0 / 0.5665 GB, free: 8.871 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).