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.001144/0.001144, 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.001279/0.001279, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1507/0.1507, allocations: 8.023 MB / 298.4 MB, free: 2.348 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.91 kB / 360.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1058, 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.01218/0.1181, allocations: 9.873 MB / 421.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1809/0.299, allocations: 2.851 MB / 424.6 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.3008, allocations: 50.88 kB / 424.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.3022, allocations: 0.5052 MB / 425.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.3045, allocations: 0.7386 MB / 425.9 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.3058, allocations: 0.503 MB / 426.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.3088, allocations: 2.541 MB / 429 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.3104, allocations: 1.666 MB / 430.7 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.312, allocations: 1.085 MB / 431.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.3136, allocations: 1.359 MB / 433.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.3139, allocations: 289.6 kB / 433.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006782/0.3146, allocations: 379.8 kB / 433.7 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006229/0.3152, allocations: 0.8098 MB / 434.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.3163, allocations: 1.29 MB / 435.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003297/0.3196, allocations: 3.653 MB / 439.5 MB, free: 32.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.3196, allocations: 0 / 439.5 MB, free: 32.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3196, allocations: 1.031 kB / 439.5 MB, free: 32.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.79e-05/0.3197, allocations: 3.219 kB / 439.5 MB, free: 32.12 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.005154/0.3249, allocations: 2.749 MB / 442.3 MB, free: 30.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3249, allocations: 9.062 kB / 442.3 MB, free: 30.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002874/0.3252, allocations: 285.3 kB / 442.5 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006279/0.3258, allocations: 266.6 kB / 442.8 MB, free: 30.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.3277, allocations: 1.338 MB / 444.1 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.3278, allocations: 183.1 kB / 444.3 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.3281, allocations: 199.6 kB / 444.5 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003639/0.3317, allocations: 2.602 MB / 447.1 MB, free: 28.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.618e-05/0.3318, allocations: 7.094 kB / 447.1 MB, free: 28.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.332, allocations: 88.92 kB / 447.2 MB, free: 28.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.326e-05/0.3321, allocations: 102.1 kB / 447.3 MB, free: 28.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/0.3354, allocations: 2.19 MB / 449.5 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.3463, allocations: 8.317 MB / 457.8 MB, free: 22.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.349, allocations: 1.621 MB / 459.4 MB, free: 22.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.3503, allocations: 0.8284 MB / 460.3 MB, free: 21.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.3506, allocations: 124.4 kB / 460.4 MB, free: 21.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.352, allocations: 0.8029 MB / 461.2 MB, free: 21.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.226e-06/0.352, allocations: 3.938 kB / 461.2 MB, free: 21.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01723/0.3692, allocations: 6.63 MB / 467.8 MB, free: 18.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.3693, allocations: 169.5 kB / 468 MB, free: 18.65 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.002235/0.3716, allocations: 1.396 MB / 469.4 MB, free: 18.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.3717, allocations: 47.98 kB / 469.4 MB, free: 18.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/0.3725, allocations: 0.9662 MB / 470.4 MB, free: 17.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.3728, allocations: 426.3 kB / 470.8 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004342/0.3733, allocations: 272 kB / 471.1 MB, free: 16.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.3733, allocations: 303 kB / 471.4 MB, free: 16.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.3748, allocations: 0.75 MB / 472.1 MB, free: 16.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.3764, allocations: 1.194 MB / 473.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.387, allocations: 3.989 MB / 477.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/0.3871, allocations: 5.344 kB / 477.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006723/0.3938, allocations: 2.731 MB / 480 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.3939, allocations: 40.58 kB / 480.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/0.3939, allocations: 12.31 kB / 480.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/0.3964, allocations: 0.599 MB / 480.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.398, allocations: 413.6 kB / 481.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009203/0.4072, allocations: 9.546 MB / 490.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.409, allocations: 141.2 kB / 490.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000281/0.4093, allocations: 70.12 kB / 490.9 MB, free: 4.012 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.002502/0.4118, allocations: 1.269 MB / 492.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001423/0.4133, allocations: 1.177 MB / 493.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01023/0.4235, allocations: 3.963 MB / 497.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.458e-05/0.4236, allocations: 4 kB / 497.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006453/0.43, allocations: 2.702 MB / 500 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.4301, allocations: 37.64 kB / 0.4883 GB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.4301, allocations: 12 kB / 0.4883 GB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/0.4325, allocations: 0.6089 MB / 0.4889 GB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.4341, allocations: 407.4 kB / 0.4893 GB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.4452, allocations: 9.555 MB / 0.4986 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.4472, allocations: 151.8 kB / 0.4988 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003178/0.4475, allocations: 63.98 kB / 0.4988 GB, free: 15.1 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.0007096/0.4483, allocations: 288.9 kB / 0.4991 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005447/0.4488, allocations: 158 kB / 0.4992 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006052/0.4549, allocations: 2.397 MB / 0.5016 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.4549, allocations: 12 kB / 0.5016 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.455, allocations: 4 kB / 0.5016 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/0.455, allocations: 7.969 kB / 0.5016 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.4659, allocations: 4.689 MB / 0.5062 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.466, allocations: 0 / 0.5062 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.4674, allocations: 295.8 kB / 0.5065 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002235/0.4697, allocations: 0.5863 MB / 0.507 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.4699, allocations: 35.97 kB / 0.5071 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/0.4807, allocations: 9.716 MB / 0.5166 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.4807, allocations: 7.938 kB / 0.5166 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007333/0.4881, allocations: 3.425 MB / 0.5199 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.4891, allocations: 379.1 kB / 0.5203 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004822/0.4896, allocations: 31.94 kB / 0.5203 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.4909, allocations: 107.9 kB / 0.5204 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/0.4913, allocations: 112.8 kB / 0.5205 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.717e-05/0.4914, allocations: 39.98 kB / 0.5206 GB, free: 7.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001696/0.4931, allocations: 0.9204 MB / 0.5215 GB, free: 7 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4931, allocations: 0 / 0.5215 GB, free: 7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00338/0.4965, allocations: 0.789 MB / 0.5222 GB, free: 6.211 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.008031/0.5045, allocations: 4.074 MB / 0.5262 GB, free: 2.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01033/0.5149, allocations: 5.286 MB / 0.5314 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.5149, allocations: 0 / 0.5314 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00341/0.5183, allocations: 1.851 MB / 0.5332 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.521, allocations: 418.8 kB / 0.5336 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0346/0.5556, allocations: 18.15 MB / 0.5513 GB, free: 7.121 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001937/0.5576, allocations: 1.676 MB / 0.5529 GB, free: 5.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001786/0.5594, allocations: 480.8 kB / 0.5534 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/0.5607, allocations: 0.7766 MB / 0.5542 GB, free: 4.156 MB / 430.1 MB Notification: Performance of SimCode: time 2.295e-06/0.5607, allocations: 3.938 kB / 0.5542 GB, free: 4.152 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).