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.001279/0.001279, 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.001673/0.001673, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1436/0.1436, allocations: 8.031 MB / 298.1 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 360.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09984/0.1011, allocations: 51.19 MB / 411.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01066/0.1117, allocations: 9.813 MB / 421.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2355/0.3473, allocations: 2.817 MB / 424.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.3483, allocations: 48.09 kB / 424.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.3494, allocations: 435.3 kB / 424.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.3509, allocations: 0.6639 MB / 425.2 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.3516, allocations: 456 kB / 425.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.3532, allocations: 2.545 MB / 428.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.3546, allocations: 1.666 MB / 429.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009298/0.3555, allocations: 1.097 MB / 430.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.3566, allocations: 1.378 MB / 432.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.3569, allocations: 288.3 kB / 432.6 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.3574, allocations: 377.7 kB / 433 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004858/0.3579, allocations: 0.8139 MB / 433.8 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007825/0.3587, allocations: 1.291 MB / 435.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.3606, allocations: 3.659 MB / 438.7 MB, free: 32.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3607, allocations: 0 / 438.7 MB, free: 32.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3607, allocations: 0 / 438.7 MB, free: 32.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.3607, allocations: 0 / 438.7 MB, free: 32.29 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.003975/0.3647, allocations: 2.756 MB / 441.5 MB, free: 30.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3647, allocations: 9.312 kB / 441.5 MB, free: 30.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002634/0.365, allocations: 285.8 kB / 441.8 MB, free: 30.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005371/0.3655, allocations: 269.3 kB / 442 MB, free: 30.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.367, allocations: 1.335 MB / 443.4 MB, free: 29.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.3671, allocations: 188.7 kB / 443.6 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.3674, allocations: 193.5 kB / 443.7 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003203/0.3706, allocations: 2.599 MB / 446.3 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/0.3706, allocations: 14.61 kB / 446.4 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.3708, allocations: 82.59 kB / 446.4 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.489e-05/0.3709, allocations: 96 kB / 446.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/0.3739, allocations: 2.194 MB / 448.7 MB, free: 27.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009658/0.3835, allocations: 8.317 MB / 457 MB, free: 23.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/0.3861, allocations: 1.629 MB / 458.7 MB, free: 22.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.3874, allocations: 0.8232 MB / 459.5 MB, free: 22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.3877, allocations: 128 kB / 459.6 MB, free: 21.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.3889, allocations: 0.8035 MB / 460.4 MB, free: 21.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.314e-06/0.3889, allocations: 3.938 kB / 460.4 MB, free: 21.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01553/0.4045, allocations: 6.634 MB / 467.1 MB, free: 19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.4045, allocations: 168.2 kB / 467.2 MB, free: 18.81 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.4064, allocations: 1.391 MB / 468.6 MB, free: 18.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.787e-05/0.4065, allocations: 48.2 kB / 468.7 MB, free: 18.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.4072, allocations: 0.9676 MB / 469.6 MB, free: 17.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.4074, allocations: 419.8 kB / 470 MB, free: 17.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004678/0.4079, allocations: 272.8 kB / 470.3 MB, free: 17.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.91e-05/0.408, allocations: 306.2 kB / 470.6 MB, free: 16.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.4094, allocations: 0.7496 MB / 471.4 MB, free: 16.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.4111, allocations: 1.192 MB / 472.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.4212, allocations: 3.992 MB / 476.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/0.4213, allocations: 4.406 kB / 476.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005847/0.4271, allocations: 2.724 MB / 479.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.4272, allocations: 37.78 kB / 479.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.4272, allocations: 13.31 kB / 479.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.4295, allocations: 0.6119 MB / 479.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.4309, allocations: 416 kB / 480.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008566/0.4395, allocations: 9.541 MB / 489.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.441, allocations: 141.9 kB / 490 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.4412, allocations: 64.64 kB / 490.1 MB, free: 4.309 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.002075/0.4432, allocations: 1.269 MB / 491.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001143/0.4444, allocations: 1.17 MB / 492.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009005/0.4534, allocations: 3.97 MB / 496.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.615e-06/0.4534, allocations: 4 kB / 496.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005544/0.459, allocations: 2.695 MB / 499.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.459, allocations: 45.64 kB / 499.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.4591, allocations: 12 kB / 499.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/0.4613, allocations: 0.6043 MB / 499.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.4628, allocations: 407.4 kB / 0.4885 GB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.473, allocations: 9.565 MB / 0.4979 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.4747, allocations: 151.8 kB / 0.498 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.4748, allocations: 63.98 kB / 0.4981 GB, free: 15.56 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.000524/0.4754, allocations: 289.5 kB / 0.4983 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.4757, allocations: 154.1 kB / 0.4985 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005351/0.481, allocations: 2.394 MB / 0.5008 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.4811, allocations: 16 kB / 0.5008 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4811, allocations: 0 / 0.5008 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.4811, allocations: 7.969 kB / 0.5009 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008904/0.49, allocations: 4.701 MB / 0.5054 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.4901, allocations: 4 kB / 0.5054 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.4913, allocations: 287.9 kB / 0.5057 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/0.4933, allocations: 0.5902 MB / 0.5063 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.687e-05/0.4934, allocations: 31.98 kB / 0.5063 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.5036, allocations: 9.703 MB / 0.5158 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.5037, allocations: 11.92 kB / 0.5158 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006427/0.5101, allocations: 3.425 MB / 0.5192 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007114/0.5108, allocations: 383.1 kB / 0.5195 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.5111, allocations: 31.94 kB / 0.5196 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009649/0.512, allocations: 103.9 kB / 0.5197 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.5124, allocations: 120.8 kB / 0.5198 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.781e-05/0.5125, allocations: 39.98 kB / 0.5198 GB, free: 8.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001262/0.5137, allocations: 0.9205 MB / 0.5207 GB, free: 7.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5137, allocations: 0 / 0.5207 GB, free: 7.461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002291/0.516, allocations: 0.7851 MB / 0.5215 GB, free: 6.676 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.006608/0.5226, allocations: 4.063 MB / 0.5254 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008905/0.5316, allocations: 5.298 MB / 0.5306 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5316, allocations: 0 / 0.5306 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002976/0.5346, allocations: 1.843 MB / 0.5324 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.5366, allocations: 421.2 kB / 0.5328 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03053/0.5671, allocations: 18.95 MB / 0.5513 GB, free: 6.789 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.5684, allocations: 1.676 MB / 0.553 GB, free: 5.078 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001365/0.5698, allocations: 488.8 kB / 0.5534 GB, free: 4.594 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009465/0.5707, allocations: 0.7766 MB / 0.5542 GB, free: 3.816 MB / 430.1 MB Notification: Performance of SimCode: time 2.585e-06/0.5707, allocations: 0 / 0.5542 GB, free: 3.816 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).