Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_latest_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.001169/0.001169, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001245/0.001245, allocations: 191.8 kB / 16.25 MB, free: 6.617 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.221/1.221, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1503/0.1503, allocations: 8.019 MB / 298.1 MB, free: 2.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 59.91 kB / 360.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08129/0.0824, allocations: 51.2 MB / 411.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01023/0.09265, allocations: 9.81 MB / 421.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1544/0.2471, allocations: 2.807 MB / 424 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.2486, allocations: 46.16 kB / 424.1 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.2501, allocations: 435 kB / 424.5 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.2522, allocations: 0.6682 MB / 425.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009219/0.2531, allocations: 451.9 kB / 425.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001841/0.2549, allocations: 2.549 MB / 428.2 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.2563, allocations: 1.672 MB / 429.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000854/0.2572, allocations: 1.09 MB / 430.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.2582, allocations: 1.382 MB / 432.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.2585, allocations: 291.9 kB / 432.6 MB, free: 34.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004804/0.259, allocations: 382 kB / 433 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004928/0.2595, allocations: 0.8059 MB / 433.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008109/0.2603, allocations: 1.292 MB / 435.1 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.2633, allocations: 3.661 MB / 438.7 MB, free: 32.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2633, allocations: 0 / 438.7 MB, free: 32.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.2633, allocations: 3.938 kB / 438.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.28e-05/0.2633, allocations: 1.875 kB / 438.7 MB, free: 32.3 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.004326/0.2677, allocations: 2.753 MB / 441.5 MB, free: 30.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.2677, allocations: 9.438 kB / 441.5 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002705/0.268, allocations: 285.6 kB / 441.8 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005691/0.2686, allocations: 261.7 kB / 442 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.2702, allocations: 1.333 MB / 443.4 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.2704, allocations: 189.2 kB / 443.6 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/0.2706, allocations: 194.8 kB / 443.7 MB, free: 29.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004462/0.2751, allocations: 2.605 MB / 446.4 MB, free: 28.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.05e-05/0.2752, allocations: 14.64 kB / 446.4 MB, free: 28.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002455/0.2754, allocations: 78.97 kB / 446.4 MB, free: 28.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.2755, allocations: 98.34 kB / 446.5 MB, free: 28.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004671/0.2802, allocations: 2.191 MB / 448.7 MB, free: 27.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.2935, allocations: 8.313 MB / 457 MB, free: 23.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/0.2971, allocations: 1.619 MB / 458.7 MB, free: 22.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.2989, allocations: 0.8384 MB / 459.5 MB, free: 22.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.2992, allocations: 125.3 kB / 459.6 MB, free: 21.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001667/0.3009, allocations: 0.8015 MB / 460.4 MB, free: 21.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.427e-06/0.3009, allocations: 0 / 460.4 MB, free: 21.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.0222/0.3231, allocations: 6.633 MB / 467.1 MB, free: 19.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.3232, allocations: 169.2 kB / 467.2 MB, free: 18.84 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.00291/0.3261, allocations: 1.396 MB / 468.6 MB, free: 18.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001622/0.3263, allocations: 47.42 kB / 468.7 MB, free: 18.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009325/0.3273, allocations: 0.969 MB / 469.6 MB, free: 17.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004061/0.3277, allocations: 422 kB / 470 MB, free: 17.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006088/0.3283, allocations: 268.9 kB / 470.3 MB, free: 17.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.127e-05/0.3283, allocations: 302 kB / 470.6 MB, free: 16.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.3303, allocations: 0.757 MB / 471.4 MB, free: 16.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.3325, allocations: 1.188 MB / 472.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/0.3443, allocations: 3.994 MB / 476.5 MB, free: 14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-05/0.3443, allocations: 3.531 kB / 476.5 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006504/0.3508, allocations: 2.718 MB / 479.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.3509, allocations: 40.16 kB / 479.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.351, allocations: 16.16 kB / 479.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/0.3535, allocations: 0.6104 MB / 479.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.3552, allocations: 410.1 kB / 480.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009479/0.3647, allocations: 9.553 MB / 489.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.3666, allocations: 137.2 kB / 490 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.3668, allocations: 65.42 kB / 490.1 MB, free: 4.363 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.002244/0.369, allocations: 1.274 MB / 491.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001231/0.3703, allocations: 1.17 MB / 492.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009779/0.38, allocations: 3.959 MB / 496.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.511e-05/0.3801, allocations: 4 kB / 496.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006235/0.3863, allocations: 2.701 MB / 499.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.3864, allocations: 49.62 kB / 499.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.3864, allocations: 12.23 kB / 499.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002353/0.3888, allocations: 0.6006 MB / 499.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.3903, allocations: 411.4 kB / 0.4885 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.4012, allocations: 9.547 MB / 0.4979 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.4029, allocations: 151.8 kB / 0.498 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/0.4031, allocations: 64.3 kB / 0.4981 GB, free: 15.59 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.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.0005759/0.4037, allocations: 304.9 kB / 0.4983 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/0.4041, allocations: 154.1 kB / 0.4985 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005448/0.4096, allocations: 2.402 MB / 0.5008 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4096, allocations: 12 kB / 0.5009 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4096, allocations: 4 kB / 0.5009 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.4096, allocations: 3.984 kB / 0.5009 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009363/0.419, allocations: 4.693 MB / 0.5054 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/0.419, allocations: 3.984 kB / 0.5054 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.4203, allocations: 295.7 kB / 0.5057 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/0.4224, allocations: 0.5824 MB / 0.5063 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.4225, allocations: 31.98 kB / 0.5063 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/0.4337, allocations: 9.713 MB / 0.5158 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.4338, allocations: 4 kB / 0.5158 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007338/0.4411, allocations: 3.429 MB / 0.5192 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.4422, allocations: 375.1 kB / 0.5195 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/0.4426, allocations: 35.92 kB / 0.5196 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.4439, allocations: 103.9 kB / 0.5197 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/0.4442, allocations: 112.8 kB / 0.5198 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-05/0.4443, allocations: 39.98 kB / 0.5198 GB, free: 8.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001375/0.4457, allocations: 0.9204 MB / 0.5207 GB, free: 7.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.4457, allocations: 4 kB / 0.5207 GB, free: 7.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00252/0.4482, allocations: 0.7928 MB / 0.5215 GB, free: 6.688 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.007172/0.4554, allocations: 4.067 MB / 0.5255 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009768/0.4652, allocations: 5.29 MB / 0.5306 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.4652, allocations: 0 / 0.5306 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0031/0.4683, allocations: 1.84 MB / 0.5324 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.4705, allocations: 426.1 kB / 0.5328 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03199/0.5025, allocations: 18.95 MB / 0.5513 GB, free: 6.805 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.5043, allocations: 1.672 MB / 0.553 GB, free: 5.098 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001618/0.5059, allocations: 492.8 kB / 0.5534 GB, free: 4.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.507, allocations: 0.7726 MB / 0.5542 GB, free: 3.836 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.507, allocations: 0 / 0.5542 GB, free: 3.836 MB / 430.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: 0.1 / (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).