Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,fileNamePrefix="EHPTlib_main_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.00117/0.00117, allocations: 108 kB / 15.58 MB, free: 184 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.001168/0.001168, allocations: 196.3 kB / 16.5 MB, free: 6.699 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.203/1.203, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1325/0.1325, allocations: 8.025 MB / 298.4 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 55.91 kB / 360.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07719/0.07826, allocations: 51.19 MB / 411.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.1422/0.2204, allocations: 11.57 MB / 423.4 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004402/0.2249, allocations: 3.211 MB / 426.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000631/0.2255, allocations: 65.25 kB / 426.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009024/0.2264, allocations: 0.6135 MB / 427.3 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.2277, allocations: 0.8101 MB / 428.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006877/0.2284, allocations: 0.6241 MB / 428.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.23, allocations: 3.065 MB / 431.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.2318, allocations: 2.55 MB / 434.3 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007748/0.2326, allocations: 1.336 MB / 435.7 MB, free: 33.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.2336, allocations: 1.666 MB / 437.4 MB, free: 32.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003269/0.234, allocations: 385.2 kB / 437.7 MB, free: 32.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005354/0.2345, allocations: 477.5 kB / 438.2 MB, free: 32.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005299/0.235, allocations: 1.002 MB / 439.2 MB, free: 32.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009155/0.236, allocations: 1.654 MB / 440.8 MB, free: 30.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.2382, allocations: 4.717 MB / 445.6 MB, free: 29.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2382, allocations: 0 / 445.6 MB, free: 29.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2382, allocations: 0 / 445.6 MB, free: 29.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.085e-05/0.2382, allocations: 0 / 445.6 MB, free: 29.32 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.00419/0.2424, allocations: 3.262 MB / 448.8 MB, free: 27.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.2425, allocations: 12.47 kB / 448.8 MB, free: 27.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003121/0.2428, allocations: 387.9 kB / 449.2 MB, free: 27.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.2433, allocations: 327.7 kB / 449.5 MB, free: 27.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.2454, allocations: 1.601 MB / 451.1 MB, free: 26.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.2455, allocations: 238.7 kB / 451.4 MB, free: 26.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002776/0.2458, allocations: 271.2 kB / 451.6 MB, free: 25.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/0.2495, allocations: 3.335 MB / 455 MB, free: 24.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.619e-05/0.2496, allocations: 6.438 kB / 455 MB, free: 24.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.2497, allocations: 114.2 kB / 455.1 MB, free: 24.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-05/0.2498, allocations: 121.5 kB / 455.2 MB, free: 24.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/0.2531, allocations: 2.665 MB / 457.9 MB, free: 23.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.2647, allocations: 10.76 MB / 468.6 MB, free: 17.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.2672, allocations: 1.847 MB / 470.5 MB, free: 16.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.2686, allocations: 0.9406 MB / 471.4 MB, free: 16.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.2688, allocations: 122.3 kB / 471.5 MB, free: 16.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.2688, allocations: 53.25 kB / 471.6 MB, free: 16.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 2.435e-06/0.2689, allocations: 1.219 kB / 471.6 MB, free: 16.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01652/0.2854, allocations: 7.284 MB / 478.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.2854, allocations: 96.17 kB / 479 MB, free: 13.6 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.001587/0.287, allocations: 1.459 MB / 480.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.332e-05/0.2871, allocations: 51.2 kB / 480.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.2876, allocations: 1.206 MB / 481.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.2878, allocations: 463.9 kB / 482.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/0.2882, allocations: 294.4 kB / 482.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.106e-05/0.2882, allocations: 309.6 kB / 482.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.2893, allocations: 0.7766 MB / 483.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.2905, allocations: 1.243 MB / 484.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008273/0.2988, allocations: 4.072 MB / 488.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.2988, allocations: 5.75 kB / 488.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005274/0.3041, allocations: 3.037 MB / 491.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3042, allocations: 12 kB / 491.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.3042, allocations: 16.38 kB / 491.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/0.3066, allocations: 0.7285 MB / 492.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.3078, allocations: 391.4 kB / 493 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.318, allocations: 8.382 MB / 0.4896 GB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.3191, allocations: 123.9 kB / 0.4898 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.3192, allocations: 76.05 kB / 0.4898 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.001931/0.3212, allocations: 1.403 MB / 0.4912 GB, free: 8.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001334/0.3225, allocations: 1.23 MB / 0.4924 GB, free: 7.492 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008914/0.3314, allocations: 4.033 MB / 0.4963 GB, free: 3.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.344e-06/0.3314, allocations: 4 kB / 0.4963 GB, free: 3.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.005804/0.3373, allocations: 2.959 MB / 0.4992 GB, free: 280 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3373, allocations: 12 kB / 0.4992 GB, free: 268 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.3373, allocations: 12 kB / 0.4993 GB, free: 256 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00258/0.3399, allocations: 0.7104 MB / 0.4999 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.3411, allocations: 387.4 kB / 0.5003 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.3514, allocations: 8.181 MB / 0.5083 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.3524, allocations: 123.8 kB / 0.5084 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.3526, allocations: 72.06 kB / 0.5085 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.00031/0.3529, allocations: 297.9 kB / 0.5088 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.3531, allocations: 166 kB / 0.5089 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005582/0.3587, allocations: 2.66 MB / 0.5115 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.3587, allocations: 15.94 kB / 0.5115 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3587, allocations: 4 kB / 0.5116 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.3588, allocations: 3.984 kB / 0.5116 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009394/0.3682, allocations: 5.362 MB / 0.5168 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3682, allocations: 3.984 kB / 0.5168 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009581/0.3691, allocations: 251.9 kB / 0.517 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/0.3715, allocations: 0.7096 MB / 0.5177 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.62e-05/0.3716, allocations: 35.97 kB / 0.5178 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.3824, allocations: 8.519 MB / 0.5261 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3824, allocations: 0 / 0.5261 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006531/0.3889, allocations: 3.749 MB / 0.5297 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006739/0.3896, allocations: 390.9 kB / 0.5301 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.3898, allocations: 35.97 kB / 0.5302 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008615/0.3907, allocations: 99.83 kB / 0.5302 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/0.3909, allocations: 117.1 kB / 0.5304 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.424e-05/0.391, allocations: 43.98 kB / 0.5304 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001115/0.3921, allocations: 0.962 MB / 0.5313 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3921, allocations: 3.938 kB / 0.5313 GB, free: 14.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002178/0.3943, allocations: 0.9102 MB / 0.5322 GB, free: 13.44 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.006981/0.4013, allocations: 4.37 MB / 0.5365 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008119/0.4094, allocations: 5.061 MB / 0.5414 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4094, allocations: 4 kB / 0.5414 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002698/0.4122, allocations: 1.755 MB / 0.5432 GB, free: 2.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.4138, allocations: 454.5 kB / 0.5436 GB, free: 1.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03146/0.4453, allocations: 19.96 MB / 0.5631 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/0.4468, allocations: 1.925 MB / 0.565 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001319/0.4481, allocations: 0.4941 MB / 0.5654 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.4491, allocations: 0.9561 MB / 0.5664 GB, free: 8.91 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4492, allocations: 0 / 0.5664 GB, free: 8.91 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).