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.001613/0.001614, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001603, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1437/0.1437, allocations: 8.03 MB / 298.4 MB, free: 2.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 59.91 kB / 360.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1015, allocations: 51.19 MB / 411.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01331/0.1148, allocations: 9.881 MB / 421.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2757/0.3906, allocations: 2.856 MB / 424.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.3931, allocations: 50.64 kB / 424.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.3956, allocations: 0.5045 MB / 425.2 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004074/0.3997, allocations: 0.7361 MB / 425.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.4015, allocations: 0.4951 MB / 426.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003104/0.4047, allocations: 2.541 MB / 429 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.4064, allocations: 1.667 MB / 430.7 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.4081, allocations: 1.081 MB / 431.7 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.41, allocations: 1.362 MB / 433.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004083/0.4104, allocations: 293.9 kB / 433.4 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006999/0.4111, allocations: 380.4 kB / 433.8 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005969/0.4117, allocations: 0.8 MB / 434.6 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.4128, allocations: 1.294 MB / 435.8 MB, free: 33.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.4159, allocations: 3.645 MB / 439.5 MB, free: 32.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4159, allocations: 7.094 kB / 439.5 MB, free: 32.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4159, allocations: 3.938 kB / 439.5 MB, free: 32.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.172e-05/0.416, allocations: 0 / 439.5 MB, free: 32.09 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.006137/0.4221, allocations: 2.747 MB / 442.3 MB, free: 30.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.4222, allocations: 9.406 kB / 442.3 MB, free: 30.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002986/0.4225, allocations: 292.8 kB / 442.5 MB, free: 30.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006691/0.4232, allocations: 264.6 kB / 442.8 MB, free: 30.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.4251, allocations: 1.334 MB / 444.1 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.4252, allocations: 185.4 kB / 444.3 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002432/0.4255, allocations: 195.4 kB / 444.5 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/0.4291, allocations: 2.602 MB / 447.1 MB, free: 28.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/0.4292, allocations: 17.84 kB / 447.1 MB, free: 28.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.4293, allocations: 79.72 kB / 447.2 MB, free: 28.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.448e-05/0.4294, allocations: 99.03 kB / 447.3 MB, free: 28.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/0.4327, allocations: 2.193 MB / 449.5 MB, free: 27.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.443, allocations: 8.317 MB / 457.8 MB, free: 22.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/0.4456, allocations: 1.624 MB / 459.4 MB, free: 22.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.4469, allocations: 0.8256 MB / 460.3 MB, free: 21.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.4472, allocations: 134.3 kB / 460.4 MB, free: 21.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.4484, allocations: 0.8026 MB / 461.2 MB, free: 21.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.815e-06/0.4484, allocations: 0 / 461.2 MB, free: 21.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01635/0.4648, allocations: 6.624 MB / 467.8 MB, free: 18.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.4649, allocations: 174.2 kB / 468 MB, free: 18.62 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.002395/0.4673, allocations: 1.399 MB / 469.4 MB, free: 18.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.4675, allocations: 48.11 kB / 469.4 MB, free: 18.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007896/0.4683, allocations: 0.9639 MB / 470.4 MB, free: 17.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/0.4686, allocations: 425.3 kB / 470.8 MB, free: 16.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/0.469, allocations: 268.4 kB / 471.1 MB, free: 16.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.4691, allocations: 302.8 kB / 471.4 MB, free: 16.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.4704, allocations: 0.7583 MB / 472.1 MB, free: 16.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.4721, allocations: 1.185 MB / 473.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.4826, allocations: 3.998 MB / 477.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.911e-05/0.4827, allocations: 3.219 kB / 477.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006401/0.4891, allocations: 2.72 MB / 480 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.852e-05/0.4892, allocations: 36.2 kB / 480.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/0.4892, allocations: 12.84 kB / 480.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/0.4916, allocations: 0.6105 MB / 480.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.4931, allocations: 408.7 kB / 481.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00885/0.502, allocations: 9.56 MB / 490.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.5038, allocations: 144.8 kB / 490.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.5039, allocations: 66.17 kB / 490.9 MB, free: 4.047 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.002093/0.506, allocations: 1.263 MB / 492.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001238/0.5073, allocations: 1.173 MB / 493.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009696/0.517, allocations: 3.959 MB / 497.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.019e-05/0.517, allocations: 4 kB / 497.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006106/0.5231, allocations: 2.702 MB / 500 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/0.5232, allocations: 41.64 kB / 0.4883 GB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.5233, allocations: 12 kB / 0.4883 GB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002382/0.5256, allocations: 0.6088 MB / 0.4889 GB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.5272, allocations: 411.3 kB / 0.4893 GB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.5386, allocations: 9.557 MB / 0.4986 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.5405, allocations: 143.8 kB / 0.4988 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/0.5408, allocations: 63.98 kB / 0.4988 GB, free: 15.09 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.0006924/0.5415, allocations: 293.6 kB / 0.4991 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005172/0.542, allocations: 154.1 kB / 0.4992 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005788/0.5478, allocations: 2.405 MB / 0.5016 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.5478, allocations: 12 kB / 0.5016 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.5478, allocations: 0 / 0.5016 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.5479, allocations: 7.969 kB / 0.5016 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.5583, allocations: 4.69 MB / 0.5062 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.5583, allocations: 8.031 kB / 0.5062 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.5597, allocations: 287.6 kB / 0.5065 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002308/0.562, allocations: 0.5825 MB / 0.507 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/0.5621, allocations: 39.97 kB / 0.5071 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/0.5739, allocations: 9.714 MB / 0.5166 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.574, allocations: 4.031 kB / 0.5166 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007832/0.5818, allocations: 3.426 MB / 0.5199 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.5829, allocations: 379 kB / 0.5203 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005446/0.5835, allocations: 35.94 kB / 0.5203 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.5848, allocations: 107.9 kB / 0.5204 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/0.5852, allocations: 112.8 kB / 0.5205 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.5853, allocations: 35.98 kB / 0.5206 GB, free: 7.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001738/0.5871, allocations: 0.9243 MB / 0.5215 GB, free: 6.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5871, allocations: 0 / 0.5215 GB, free: 6.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003374/0.5905, allocations: 0.7929 MB / 0.5222 GB, free: 6.195 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.007658/0.5981, allocations: 4.067 MB / 0.5262 GB, free: 2.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009929/0.6081, allocations: 5.298 MB / 0.5314 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.6081, allocations: 0 / 0.5314 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003234/0.6114, allocations: 1.843 MB / 0.5332 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.6139, allocations: 421.8 kB / 0.5336 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03245/0.6464, allocations: 18.15 MB / 0.5513 GB, free: 7.109 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/0.6484, allocations: 1.68 MB / 0.5529 GB, free: 5.395 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001749/0.6502, allocations: 480.8 kB / 0.5534 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/0.6514, allocations: 0.7766 MB / 0.5542 GB, free: 4.141 MB / 430.1 MB Notification: Performance of SimCode: time 1.303e-06/0.6514, allocations: 0 / 0.5542 GB, free: 4.141 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).