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.0009073/0.0009073, allocations: 97.33 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.005936/0.005935, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2057/0.2057, allocations: 8.021 MB / 299.5 MB, free: 3.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.000375, allocations: 8 kB / 362.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 52.18 MB / 414.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.009644/0.117, allocations: 9.281 MB / 424 MB, free: 300 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.215/0.3321, allocations: 2.793 MB / 426.8 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.3334, allocations: 43.22 kB / 426.8 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.3344, allocations: 436.5 kB / 427.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.3361, allocations: 0.6669 MB / 427.9 MB, free: 35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008649/0.337, allocations: 455.8 kB / 428.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002241/0.3392, allocations: 2.835 MB / 431.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.3407, allocations: 1.387 MB / 432.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.3418, allocations: 0.8313 MB / 433.4 MB, free: 34.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.343, allocations: 1.16 MB / 434.6 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.3432, allocations: 116.2 kB / 434.7 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004626/0.3436, allocations: 214 kB / 434.9 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.3441, allocations: 0.6137 MB / 435.5 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007977/0.3449, allocations: 1.095 MB / 436.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.347, allocations: 3.45 MB / 440 MB, free: 32.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.347, allocations: 0 / 440 MB, free: 32.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.347, allocations: 4 kB / 440 MB, free: 32.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.982e-05/0.3471, allocations: 0 / 440 MB, free: 32.56 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.004064/0.3511, allocations: 2.353 MB / 442.4 MB, free: 31.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3512, allocations: 12.7 kB / 442.4 MB, free: 31.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000317/0.3515, allocations: 292.2 kB / 442.7 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005753/0.3521, allocations: 273.5 kB / 443 MB, free: 30.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.3537, allocations: 1.337 MB / 444.3 MB, free: 30.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.3538, allocations: 182.2 kB / 444.5 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.3541, allocations: 193.5 kB / 444.7 MB, free: 30.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003573/0.3577, allocations: 2.632 MB / 447.3 MB, free: 28.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-05/0.3577, allocations: 10.53 kB / 447.3 MB, free: 28.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.3579, allocations: 83.19 kB / 447.4 MB, free: 28.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.21e-05/0.358, allocations: 101 kB / 447.5 MB, free: 28.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.3613, allocations: 2.238 MB / 449.7 MB, free: 28.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009736/0.371, allocations: 8.363 MB / 458.1 MB, free: 23.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.3738, allocations: 1.706 MB / 459.8 MB, free: 22.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.3752, allocations: 0.8591 MB / 460.6 MB, free: 22.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.3755, allocations: 124.5 kB / 460.8 MB, free: 22.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.3768, allocations: 0.832 MB / 461.6 MB, free: 22.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.475e-06/0.3768, allocations: 0 / 461.6 MB, free: 22.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.0174/0.3942, allocations: 6.974 MB / 468.6 MB, free: 19.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.3943, allocations: 172 kB / 468.7 MB, free: 19.29 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.002465/0.3968, allocations: 1.393 MB / 470.1 MB, free: 18.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001796/0.397, allocations: 51.14 kB / 470.2 MB, free: 18.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009565/0.398, allocations: 0.9656 MB / 471.2 MB, free: 17.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005185/0.3985, allocations: 420.2 kB / 471.6 MB, free: 17.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.3988, allocations: 126.1 kB / 471.7 MB, free: 17.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.3989, allocations: 309.9 kB / 472 MB, free: 17.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.4008, allocations: 0.771 MB / 472.8 MB, free: 17.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.4028, allocations: 1.216 MB / 474 MB, free: 16.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/0.4138, allocations: 4.135 MB / 478.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.9e-05/0.4139, allocations: 3.438 kB / 478.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006379/0.4202, allocations: 2.863 MB / 481 MB, free: 13.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002859/0.4206, allocations: 484.8 kB / 481.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.4206, allocations: 13.06 kB / 481.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/0.4231, allocations: 0.6501 MB / 482.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.4247, allocations: 449.3 kB / 482.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008645/0.4334, allocations: 8.993 MB / 491.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.4353, allocations: 162.8 kB / 491.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.4354, allocations: 63.98 kB / 491.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.4354, allocations: 4 kB / 491.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005083/0.4405, allocations: 2.687 MB / 494.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.4405, allocations: 12 kB / 494.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.4427, allocations: 0.6594 MB / 495.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.4442, allocations: 435.4 kB / 495.6 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.4549, allocations: 9.008 MB / 0.4927 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.4568, allocations: 155.8 kB / 0.4929 GB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.457, allocations: 63.98 kB / 0.4929 GB, free: 6.523 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.001637/0.4586, allocations: 0.7062 MB / 0.4936 GB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004063/0.459, allocations: 154.1 kB / 0.4938 GB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005865/0.4649, allocations: 2.543 MB / 0.4963 GB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.4649, allocations: 12 kB / 0.4963 GB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.4649, allocations: 3.938 kB / 0.4963 GB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.465, allocations: 3.984 kB / 0.4963 GB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009719/0.4747, allocations: 4.842 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.4747, allocations: 0 / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.4762, allocations: 327.7 kB / 0.5013 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002432/0.4786, allocations: 0.6634 MB / 0.502 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.4788, allocations: 31.98 kB / 0.502 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.4894, allocations: 9.14 MB / 0.5109 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4895, allocations: 8.016 kB / 0.5109 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007829/0.4973, allocations: 3.604 MB / 0.5145 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00095/0.4983, allocations: 387 kB / 0.5148 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.4985, allocations: 27.98 kB / 0.5149 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.4996, allocations: 123.9 kB / 0.515 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.4999, allocations: 121 kB / 0.5151 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/0.5, allocations: 39.98 kB / 0.5151 GB, free: 14.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001339/0.5013, allocations: 0.9204 MB / 0.516 GB, free: 14.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5013, allocations: 3.938 kB / 0.516 GB, free: 14.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002523/0.5039, allocations: 0.7891 MB / 0.5168 GB, free: 13.22 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.007733/0.5116, allocations: 4.235 MB / 0.5209 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009168/0.5208, allocations: 4.953 MB / 0.5258 GB, free: 3.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.5208, allocations: 0 / 0.5258 GB, free: 3.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00332/0.5242, allocations: 1.899 MB / 0.5276 GB, free: 1.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/0.527, allocations: 395.2 kB / 0.528 GB, free: 1.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03575/0.5627, allocations: 19.4 MB / 0.5469 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/0.5641, allocations: 1.676 MB / 0.5486 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001487/0.5656, allocations: 476.8 kB / 0.549 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.5666, allocations: 0.7765 MB / 0.5498 GB, free: 10.05 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5666, allocations: 0 / 0.5498 GB, free: 10.05 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).