Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, 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.001031/0.001032, allocations: 195.5 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1339/0.1339, allocations: 8.027 MB / 298.4 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 60.05 kB / 360.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0807/0.08187, allocations: 51.2 MB / 411.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.1573/0.2392, allocations: 11.57 MB / 423.5 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0054/0.2447, allocations: 3.21 MB / 426.7 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.2459, allocations: 64.81 kB / 426.8 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.247, allocations: 0.6132 MB / 427.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.2487, allocations: 0.8085 MB / 428.2 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009003/0.2497, allocations: 0.6273 MB / 428.8 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.2515, allocations: 3.056 MB / 431.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.2537, allocations: 2.553 MB / 434.4 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009924/0.2547, allocations: 1.343 MB / 435.8 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.256, allocations: 1.658 MB / 437.4 MB, free: 32.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003518/0.2564, allocations: 386.8 kB / 437.8 MB, free: 32.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005998/0.257, allocations: 474.7 kB / 438.3 MB, free: 32.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006054/0.2576, allocations: 1.005 MB / 439.3 MB, free: 32.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.2586, allocations: 1.653 MB / 440.9 MB, free: 30.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.2612, allocations: 4.721 MB / 445.7 MB, free: 29.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2612, allocations: 0 / 445.7 MB, free: 29.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2612, allocations: 0 / 445.7 MB, free: 29.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-05/0.2613, allocations: 0 / 445.7 MB, free: 29.31 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.00468/0.266, allocations: 3.266 MB / 448.9 MB, free: 27.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.266, allocations: 9.719 kB / 448.9 MB, free: 27.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003375/0.2664, allocations: 390.6 kB / 449.3 MB, free: 27.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006221/0.267, allocations: 326.8 kB / 449.6 MB, free: 27.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.2689, allocations: 1.598 MB / 451.2 MB, free: 26.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.269, allocations: 240.5 kB / 451.5 MB, free: 26.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.2693, allocations: 268.4 kB / 451.7 MB, free: 25.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003955/0.2733, allocations: 3.335 MB / 455.1 MB, free: 24.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/0.2733, allocations: 7.125 kB / 455.1 MB, free: 24.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.2735, allocations: 106.1 kB / 455.2 MB, free: 24.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-05/0.2736, allocations: 127.6 kB / 455.3 MB, free: 24.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.2771, allocations: 2.661 MB / 458 MB, free: 23.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.2895, allocations: 10.77 MB / 468.7 MB, free: 17.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/0.2923, allocations: 1.846 MB / 470.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.2938, allocations: 0.9397 MB / 471.5 MB, free: 16.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.2941, allocations: 124.3 kB / 471.6 MB, free: 16.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.2941, allocations: 44.77 kB / 471.7 MB, free: 16.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 3.447e-06/0.2941, allocations: 0 / 471.7 MB, free: 16.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01847/0.3126, allocations: 7.296 MB / 479 MB, free: 13.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3127, allocations: 92.36 kB / 479.1 MB, free: 13.59 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.00209/0.3148, allocations: 1.459 MB / 480.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.694e-05/0.3149, allocations: 50.02 kB / 480.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/0.3155, allocations: 1.203 MB / 481.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/0.3158, allocations: 462.7 kB / 482.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.3162, allocations: 295.2 kB / 482.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.649e-05/0.3163, allocations: 307.4 kB / 482.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.3175, allocations: 0.7802 MB / 483.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.3188, allocations: 1.247 MB / 484.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008776/0.3276, allocations: 4.071 MB / 488.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/0.3276, allocations: 3.969 kB / 488.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006001/0.3336, allocations: 3.036 MB / 492 MB, free: 4.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3337, allocations: 12 kB / 492 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.3337, allocations: 16.38 kB / 492 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/0.3363, allocations: 0.7168 MB / 492.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.3375, allocations: 395.4 kB / 493.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.3485, allocations: 8.396 MB / 0.4897 GB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.35, allocations: 119.8 kB / 0.4898 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.3501, allocations: 80.05 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.002246/0.3524, allocations: 1.396 MB / 0.4913 GB, free: 8.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001372/0.3538, allocations: 1.23 MB / 0.4925 GB, free: 7.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009131/0.3629, allocations: 4.036 MB / 0.4964 GB, free: 3.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.935e-06/0.3629, allocations: 4 kB / 0.4964 GB, free: 3.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.006432/0.3694, allocations: 2.959 MB / 0.4993 GB, free: 296 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3694, allocations: 12 kB / 0.4993 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.3694, allocations: 12 kB / 0.4993 GB, free: 272 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.3723, allocations: 0.7082 MB / 0.5 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.3735, allocations: 387.4 kB / 0.5004 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.3892, allocations: 8.179 MB / 0.5084 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.3911, allocations: 123.8 kB / 0.5085 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.3912, allocations: 71.98 kB / 0.5086 GB, free: 6.379 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.0005865/0.3918, allocations: 296.8 kB / 0.5089 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.3922, allocations: 166 kB / 0.509 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007422/0.3997, allocations: 2.659 MB / 0.5116 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.3997, allocations: 15.94 kB / 0.5116 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.3997, allocations: 4 kB / 0.5116 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/0.3997, allocations: 7.969 kB / 0.5116 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.4133, allocations: 5.364 MB / 0.5169 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.4134, allocations: 0 / 0.5169 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.4145, allocations: 255.9 kB / 0.5171 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002806/0.4173, allocations: 0.7058 MB / 0.5178 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-05/0.4174, allocations: 31.98 kB / 0.5178 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.4305, allocations: 8.524 MB / 0.5262 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.4306, allocations: 3.938 kB / 0.5262 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008551/0.4391, allocations: 3.735 MB / 0.5298 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009784/0.4401, allocations: 398.9 kB / 0.5302 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.4404, allocations: 35.98 kB / 0.5302 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009967/0.4414, allocations: 95.83 kB / 0.5303 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/0.4418, allocations: 117.1 kB / 0.5304 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.022e-05/0.4419, allocations: 47.92 kB / 0.5305 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001418/0.4433, allocations: 0.9581 MB / 0.5314 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4433, allocations: 0 / 0.5314 GB, free: 14.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002914/0.4462, allocations: 0.9102 MB / 0.5323 GB, free: 13.47 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.009919/0.4561, allocations: 4.378 MB / 0.5366 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0131/0.4693, allocations: 5.065 MB / 0.5415 GB, free: 3.848 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.4693, allocations: 4 kB / 0.5415 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00411/0.4734, allocations: 1.747 MB / 0.5432 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.4764, allocations: 454.4 kB / 0.5437 GB, free: 1.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04358/0.52, allocations: 20.02 MB / 0.5632 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/0.5223, allocations: 1.928 MB / 0.5651 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002186/0.5245, allocations: 494 kB / 0.5656 GB, free: 9.852 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/0.5261, allocations: 0.9562 MB / 0.5665 GB, free: 8.895 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5261, allocations: 3.938 kB / 0.5665 GB, free: 8.891 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).