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.0009279/0.0009281, allocations: 90.75 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006001/0.006001, allocations: 171.3 kB / 16.26 MB, free: 6.676 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1607/0.1607, allocations: 8.034 MB / 299.5 MB, free: 3.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003232, allocations: 8 kB / 362.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.0908, allocations: 52.19 MB / 414.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.1684/0.2593, allocations: 10.86 MB / 425.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00508/0.2644, allocations: 3.129 MB / 428.7 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.2655, allocations: 60.19 kB / 428.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009718/0.2665, allocations: 0.502 MB / 429.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.2682, allocations: 0.7219 MB / 430 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009717/0.2692, allocations: 0.5524 MB / 430.5 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.2715, allocations: 3.331 MB / 433.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.2733, allocations: 2.133 MB / 436 MB, free: 33.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009186/0.2743, allocations: 1 MB / 437 MB, free: 32.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.2754, allocations: 1.354 MB / 438.3 MB, free: 32.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.2757, allocations: 152.9 kB / 438.5 MB, free: 32.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.2761, allocations: 252 kB / 438.7 MB, free: 32.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000469/0.2766, allocations: 0.7324 MB / 439.5 MB, free: 32.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008262/0.2774, allocations: 1.365 MB / 440.8 MB, free: 31.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.2797, allocations: 4.455 MB / 445.3 MB, free: 30.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2797, allocations: 0 / 445.3 MB, free: 30.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2797, allocations: 4 kB / 445.3 MB, free: 30.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.47e-05/0.2798, allocations: 0 / 445.3 MB, free: 30.33 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.004043/0.2838, allocations: 2.748 MB / 448 MB, free: 28.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2839, allocations: 9.531 kB / 448 MB, free: 28.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003526/0.2842, allocations: 386.8 kB / 448.4 MB, free: 28.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006053/0.2848, allocations: 329.6 kB / 448.7 MB, free: 28.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.2867, allocations: 1.601 MB / 450.3 MB, free: 27.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.2868, allocations: 243.3 kB / 450.6 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.2871, allocations: 263.7 kB / 450.8 MB, free: 27.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00424/0.2914, allocations: 3.361 MB / 454.2 MB, free: 25.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.762e-05/0.2914, allocations: 7.188 kB / 454.2 MB, free: 25.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/0.2916, allocations: 106.1 kB / 454.3 MB, free: 25.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.678e-05/0.2917, allocations: 126.8 kB / 454.4 MB, free: 25.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003709/0.2955, allocations: 2.698 MB / 457.1 MB, free: 24.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.3093, allocations: 10.82 MB / 467.9 MB, free: 19.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.3125, allocations: 1.941 MB / 469.9 MB, free: 18.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.3141, allocations: 0.961 MB / 470.8 MB, free: 17.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.3144, allocations: 131.5 kB / 471 MB, free: 17.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3144, allocations: 47.78 kB / 471 MB, free: 17.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 2.806e-06/0.3144, allocations: 1.5 kB / 471 MB, free: 17.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01988/0.3343, allocations: 7.714 MB / 478.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3344, allocations: 95.52 kB / 478.8 MB, free: 14.91 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.00261/0.337, allocations: 1.46 MB / 480.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.3372, allocations: 45.17 kB / 480.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/0.3378, allocations: 1.207 MB / 481.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.3381, allocations: 467.1 kB / 482 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.3383, allocations: 135.1 kB / 482.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.3384, allocations: 313 kB / 482.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.3397, allocations: 0.7915 MB / 483.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.3412, allocations: 1.265 MB / 484.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0096/0.3508, allocations: 4.178 MB / 488.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.3509, allocations: 5.125 kB / 488.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006633/0.3575, allocations: 3.224 MB / 491.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002154/0.3577, allocations: 0.5068 MB / 492.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.3578, allocations: 16 kB / 492.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/0.3605, allocations: 0.7738 MB / 493.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.3619, allocations: 415.3 kB / 493.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.373, allocations: 7.978 MB / 0.4898 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.3745, allocations: 135.9 kB / 0.49 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.3747, allocations: 67.98 kB / 0.49 GB, free: 11.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.3748, allocations: 6.5 kB / 0.49 GB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00686/0.3816, allocations: 2.949 MB / 0.4929 GB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.592e-05/0.3817, allocations: 16.09 kB / 0.4929 GB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/0.3846, allocations: 0.7584 MB / 0.4937 GB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.3861, allocations: 407.4 kB / 0.4941 GB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.3975, allocations: 7.711 MB / 0.5016 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.399, allocations: 119.9 kB / 0.5017 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/0.3993, allocations: 72.05 kB / 0.5018 GB, free: 14.69 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.001668/0.401, allocations: 0.8298 MB / 0.5026 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004463/0.4014, allocations: 165.9 kB / 0.5027 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006729/0.4082, allocations: 2.831 MB / 0.5055 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.4082, allocations: 12 kB / 0.5055 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4082, allocations: 4 kB / 0.5055 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.4082, allocations: 11.97 kB / 0.5055 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.4194, allocations: 5.546 MB / 0.5109 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4194, allocations: 4 kB / 0.5109 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.4205, allocations: 267.9 kB / 0.5112 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00298/0.4235, allocations: 0.7993 MB / 0.512 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.4236, allocations: 35.98 kB / 0.512 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/0.4356, allocations: 8.104 MB / 0.5199 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4357, allocations: 0 / 0.5199 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008061/0.4437, allocations: 3.951 MB / 0.5238 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008238/0.4446, allocations: 402.8 kB / 0.5242 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.4448, allocations: 28 kB / 0.5242 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/0.4457, allocations: 119.9 kB / 0.5243 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/0.4461, allocations: 113 kB / 0.5244 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.979e-05/0.4462, allocations: 47.98 kB / 0.5245 GB, free: 6.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001374/0.4476, allocations: 0.9581 MB / 0.5254 GB, free: 5.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4476, allocations: 7.875 kB / 0.5254 GB, free: 5.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003023/0.4506, allocations: 0.9023 MB / 0.5263 GB, free: 4.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder1.y,myMTPA.pi.x,speed.phi,speed.w) * Number of discrete variables: 1 (myMTPA.limiting.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008453/0.4591, allocations: 4.587 MB / 0.5308 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008517/0.4676, allocations: 4.736 MB / 0.5354 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.4676, allocations: 448 / 0.5354 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003316/0.471, allocations: 1.816 MB / 0.5372 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.4737, allocations: 429 kB / 0.5376 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03785/0.5116, allocations: 21.63 MB / 0.5587 GB, free: 2.254 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/0.5132, allocations: 1.932 MB / 0.5606 GB, free: 288 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00151/0.5147, allocations: 498 kB / 0.5611 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.5159, allocations: 0.9561 MB / 0.562 GB, free: 14.83 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5159, allocations: 0 / 0.562 GB, free: 14.83 MB / 446.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.05 / (6.283185307179586 * smpm1.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 6.283185307179586 * smpm1.fsNominal / /*Real*/(smpm1.p).