Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.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.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",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.0009506/0.0009508, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00099/0.0009901, allocations: 201.2 kB / 16.14 MB, free: 6.66 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.208/1.208, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1269/0.1269, allocations: 8.02 MB / 298 MB, free: 2.453 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 67.89 kB / 360.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08433, allocations: 51.2 MB / 411.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.009553/0.09392, allocations: 9.811 MB / 421.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1455/0.2395, allocations: 2.827 MB / 423.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.241, allocations: 44.91 kB / 423.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.2425, allocations: 436.3 kB / 424.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.2443, allocations: 0.6675 MB / 425 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008701/0.2452, allocations: 457.2 kB / 425.5 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.247, allocations: 2.846 MB / 428.3 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.2482, allocations: 1.403 MB / 429.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007269/0.2489, allocations: 0.946 MB / 430.7 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000971/0.2499, allocations: 1.304 MB / 432 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.2501, allocations: 167.9 kB / 432.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.2506, allocations: 269.6 kB / 432.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004641/0.2511, allocations: 0.6808 MB / 433.1 MB, free: 34.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007381/0.2518, allocations: 1.175 MB / 434.3 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.2535, allocations: 3.554 MB / 437.8 MB, free: 32.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2536, allocations: 3.938 kB / 437.8 MB, free: 32.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.2536, allocations: 0 / 437.8 MB, free: 32.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.907e-05/0.2536, allocations: 0 / 437.8 MB, free: 32.94 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.004081/0.2577, allocations: 2.752 MB / 440.6 MB, free: 31.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2577, allocations: 9.281 kB / 440.6 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002647/0.258, allocations: 283 kB / 440.8 MB, free: 31.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005539/0.2586, allocations: 268.2 kB / 441.1 MB, free: 31.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.2601, allocations: 1.33 MB / 442.4 MB, free: 30.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.2603, allocations: 187.2 kB / 442.6 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.2605, allocations: 198.4 kB / 442.8 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003385/0.2639, allocations: 2.604 MB / 445.4 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.426e-05/0.264, allocations: 15 kB / 445.4 MB, free: 29.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.2641, allocations: 81.69 kB / 445.5 MB, free: 29.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.983e-05/0.2642, allocations: 99.47 kB / 445.6 MB, free: 29.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003117/0.2674, allocations: 2.191 MB / 447.8 MB, free: 28.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009081/0.2764, allocations: 8.324 MB / 456.1 MB, free: 23.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/0.2789, allocations: 1.623 MB / 457.8 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.2802, allocations: 0.8228 MB / 458.6 MB, free: 22.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.2804, allocations: 134 kB / 458.7 MB, free: 22.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.2816, allocations: 0.8001 MB / 459.5 MB, free: 22.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.747e-06/0.2816, allocations: 0 / 459.5 MB, free: 22.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01592/0.2975, allocations: 6.62 MB / 466.1 MB, free: 19.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.2976, allocations: 169.3 kB / 466.3 MB, free: 19.48 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=0.1 / (6.283185307179586 * smpm1.fsNominal)) 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.001888/0.2995, allocations: 1.396 MB / 467.7 MB, free: 18.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.671e-05/0.2996, allocations: 47.08 kB / 467.7 MB, free: 18.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006617/0.3003, allocations: 0.9664 MB / 468.7 MB, free: 18.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.3006, allocations: 422.3 kB / 469.1 MB, free: 17.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004148/0.301, allocations: 268.1 kB / 469.4 MB, free: 17.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.842e-05/0.301, allocations: 306.7 kB / 469.7 MB, free: 17.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.3024, allocations: 0.7537 MB / 470.4 MB, free: 17.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.3039, allocations: 1.192 MB / 471.6 MB, free: 16.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.3143, allocations: 3.98 MB / 475.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.3143, allocations: 3.25 kB / 475.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005907/0.3202, allocations: 2.722 MB / 478.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.3203, allocations: 39.12 kB / 478.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.3203, allocations: 12.53 kB / 478.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002349/0.3226, allocations: 0.6046 MB / 479 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.3241, allocations: 412.9 kB / 479.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008141/0.3322, allocations: 8.836 MB / 488.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.3337, allocations: 136.2 kB / 488.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.3338, allocations: 70.39 kB / 488.4 MB, free: 5.488 MB / 350.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.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" 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.00198/0.3358, allocations: 1.262 MB / 489.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001288/0.3371, allocations: 1.173 MB / 490.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009126/0.3463, allocations: 3.947 MB / 494.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.024e-05/0.3463, allocations: 7.984 kB / 494.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005849/0.3521, allocations: 2.698 MB / 497.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.3522, allocations: 40.67 kB / 497.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.3522, allocations: 12 kB / 497.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.3546, allocations: 0.6089 MB / 498.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.356, allocations: 407.3 kB / 498.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009762/0.3658, allocations: 8.832 MB / 0.4955 GB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.3673, allocations: 143.8 kB / 0.4956 GB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.3674, allocations: 63.98 kB / 0.4957 GB, free: 1.953 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.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" 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: 55 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.tqRef.count,$PRE.tqRef.T_start,tqRef.count,tqRef.T_start,myMTPA.limiting.y,$whenCondition1,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004508/0.3679, allocations: 303.2 kB / 0.496 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.3681, allocations: 150.1 kB / 0.4961 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005417/0.3736, allocations: 2.386 MB / 0.4985 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.3736, allocations: 15.94 kB / 0.4985 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3736, allocations: 0 / 0.4985 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.3736, allocations: 7.969 kB / 0.4985 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00908/0.3827, allocations: 4.71 MB / 0.5031 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3827, allocations: 4 kB / 0.5031 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.3839, allocations: 287.9 kB / 0.5034 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002379/0.3863, allocations: 0.6279 MB / 0.504 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.929e-05/0.3864, allocations: 35.98 kB / 0.504 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009874/0.3963, allocations: 8.972 MB / 0.5128 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3963, allocations: 4 kB / 0.5128 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006679/0.403, allocations: 3.433 MB / 0.5161 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/0.4036, allocations: 375.1 kB / 0.5165 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.4039, allocations: 35.98 kB / 0.5165 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/0.4048, allocations: 104 kB / 0.5166 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.4051, allocations: 120.7 kB / 0.5167 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.21e-05/0.4052, allocations: 39.98 kB / 0.5168 GB, free: 11.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001256/0.4065, allocations: 0.9204 MB / 0.5177 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4065, allocations: 4 kB / 0.5177 GB, free: 10.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002268/0.4088, allocations: 0.7851 MB / 0.5184 GB, free: 9.777 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (inertia.w,smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder.y,myMTPA.firstOrder1.y,tRes.phi) * Number of discrete variables: 4 ($whenCondition1,myMTPA.limiting.y,tqRef.T_start,tqRef.count) * Number of discrete states: 1 (tqRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,4), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006931/0.4157, allocations: 4.061 MB / 0.5224 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007924/0.4236, allocations: 4.81 MB / 0.5271 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4237, allocations: 4.062 kB / 0.5271 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002991/0.4267, allocations: 1.839 MB / 0.5289 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.4285, allocations: 392.8 kB / 0.5293 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02999/0.4585, allocations: 18.94 MB / 0.5478 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.4599, allocations: 1.668 MB / 0.5494 GB, free: 8.711 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001436/0.4613, allocations: 492.8 kB / 0.5499 GB, free: 8.223 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009698/0.4623, allocations: 0.7687 MB / 0.5506 GB, free: 7.453 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4623, allocations: 3.938 kB / 0.5506 GB, free: 7.449 MB / 430.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: 0.1 / (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).