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.0008747/0.0008747, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005387/0.005387, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1549/0.1549, allocations: 8.026 MB / 299.5 MB, free: 3.363 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 8 kB / 362.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09479/0.09513, allocations: 52.19 MB / 414.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.008901/0.1041, allocations: 9.281 MB / 424 MB, free: 328 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1638/0.2679, allocations: 2.8 MB / 426.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000727/0.2686, allocations: 44.88 kB / 426.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007999/0.2694, allocations: 429.5 kB / 427.2 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.2708, allocations: 0.6612 MB / 427.9 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.2715, allocations: 465.2 kB / 428.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.2733, allocations: 2.839 MB / 431.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.2746, allocations: 1.382 MB / 432.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007414/0.2753, allocations: 0.8317 MB / 433.4 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009773/0.2763, allocations: 1.163 MB / 434.6 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.2765, allocations: 115.5 kB / 434.7 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.2769, allocations: 217 kB / 434.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.2773, allocations: 0.6105 MB / 435.5 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000674/0.278, allocations: 1.094 MB / 436.6 MB, free: 33.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.2798, allocations: 3.448 MB / 440 MB, free: 32.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2799, allocations: 3.609 kB / 440 MB, free: 32.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2799, allocations: 0 / 440 MB, free: 32.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.059e-05/0.2799, allocations: 5.719 kB / 440 MB, free: 32.48 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.003639/0.2835, allocations: 2.356 MB / 442.4 MB, free: 31.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2836, allocations: 13.69 kB / 442.4 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003062/0.2839, allocations: 294.9 kB / 442.7 MB, free: 31.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005304/0.2844, allocations: 270.6 kB / 443 MB, free: 30.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.2859, allocations: 1.336 MB / 444.3 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.2861, allocations: 183.7 kB / 444.5 MB, free: 30.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.2863, allocations: 198.5 kB / 444.7 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/0.2899, allocations: 2.633 MB / 447.3 MB, free: 28.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/0.2899, allocations: 6.562 kB / 447.3 MB, free: 28.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.2901, allocations: 79.53 kB / 447.4 MB, free: 28.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-05/0.2902, allocations: 98.59 kB / 447.5 MB, free: 28.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003136/0.2933, allocations: 2.237 MB / 449.7 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008751/0.3021, allocations: 8.358 MB / 458.1 MB, free: 23.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.3046, allocations: 1.706 MB / 459.8 MB, free: 22.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.3059, allocations: 0.8588 MB / 460.6 MB, free: 22.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.3061, allocations: 127.6 kB / 460.8 MB, free: 22.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.3074, allocations: 0.8303 MB / 461.6 MB, free: 22.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.425e-06/0.3074, allocations: 5.594 kB / 461.6 MB, free: 22.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01564/0.3231, allocations: 6.969 MB / 468.6 MB, free: 19.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.3231, allocations: 170.4 kB / 468.7 MB, free: 19.22 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.001871/0.325, allocations: 1.397 MB / 470.1 MB, free: 18.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-05/0.3251, allocations: 47.95 kB / 470.2 MB, free: 18.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/0.3257, allocations: 0.9666 MB / 471.2 MB, free: 17.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.326, allocations: 421.3 kB / 471.6 MB, free: 17.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.3262, allocations: 121.1 kB / 471.7 MB, free: 17.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.3262, allocations: 305.1 kB / 472 MB, free: 17.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.3276, allocations: 0.7738 MB / 472.8 MB, free: 16.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.3291, allocations: 1.219 MB / 474 MB, free: 16.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009918/0.339, allocations: 4.131 MB / 478.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.339, allocations: 2.75 kB / 478.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005941/0.345, allocations: 2.863 MB / 481 MB, free: 13.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.3452, allocations: 487.5 kB / 481.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.3452, allocations: 11.81 kB / 481.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/0.3475, allocations: 0.6512 MB / 482.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.3489, allocations: 453.5 kB / 482.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007981/0.3569, allocations: 8.995 MB / 491.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.3584, allocations: 158.8 kB / 491.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.3585, allocations: 70.73 kB / 491.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/0.3586, allocations: 4 kB / 491.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004853/0.3634, allocations: 2.683 MB / 494.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.3634, allocations: 12 kB / 494.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/0.3656, allocations: 0.66 MB / 495.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.3669, allocations: 439.4 kB / 495.6 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009855/0.3768, allocations: 9.001 MB / 0.4927 GB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.3783, allocations: 151.8 kB / 0.4929 GB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.3785, allocations: 67.98 kB / 0.4929 GB, free: 6.508 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.001326/0.3798, allocations: 0.7062 MB / 0.4936 GB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.3801, allocations: 154.3 kB / 0.4938 GB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005752/0.3858, allocations: 2.538 MB / 0.4963 GB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3858, allocations: 12 kB / 0.4963 GB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3858, allocations: 11.92 kB / 0.4963 GB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.3859, allocations: 3.984 kB / 0.4963 GB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008655/0.3945, allocations: 4.836 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.3946, allocations: 7.938 kB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.3959, allocations: 319.9 kB / 0.5013 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/0.3982, allocations: 0.6686 MB / 0.502 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-05/0.3983, allocations: 39.97 kB / 0.502 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009911/0.4082, allocations: 9.135 MB / 0.5109 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4082, allocations: 4 kB / 0.5109 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006931/0.4152, allocations: 3.602 MB / 0.5145 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006662/0.4159, allocations: 383 kB / 0.5148 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.4161, allocations: 35.98 kB / 0.5149 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009618/0.417, allocations: 119.9 kB / 0.515 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.4173, allocations: 124.7 kB / 0.5151 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-05/0.4174, allocations: 35.98 kB / 0.5151 GB, free: 14.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001256/0.4187, allocations: 0.9204 MB / 0.516 GB, free: 14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4187, allocations: 0 / 0.516 GB, free: 14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00222/0.4209, allocations: 0.7891 MB / 0.5168 GB, free: 13.21 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.007032/0.4279, allocations: 4.241 MB / 0.5209 GB, free: 8.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008001/0.4359, allocations: 4.953 MB / 0.5258 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.436, allocations: 0.875 kB / 0.5258 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003014/0.439, allocations: 1.895 MB / 0.5276 GB, free: 1.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.4412, allocations: 407 kB / 0.528 GB, free: 1.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03068/0.4719, allocations: 19.38 MB / 0.5469 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.4732, allocations: 1.68 MB / 0.5486 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001362/0.4746, allocations: 492.8 kB / 0.549 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009542/0.4756, allocations: 0.7726 MB / 0.5498 GB, free: 10.03 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4756, allocations: 0 / 0.5498 GB, free: 10.03 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).