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.001302/0.001302, allocations: 108 kB / 15.61 MB, free: 152 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.001128/0.001128, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.33/1.33, 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.1495/0.1495, allocations: 8.033 MB / 298.4 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.91 kB / 360.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08083/0.08222, allocations: 51.18 MB / 411.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01109/0.09334, allocations: 9.873 MB / 421.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1584/0.2518, allocations: 2.857 MB / 424.6 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.2528, allocations: 54.09 kB / 424.7 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.2539, allocations: 0.5023 MB / 425.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.2555, allocations: 0.7403 MB / 425.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008136/0.2564, allocations: 0.4956 MB / 426.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.2581, allocations: 2.542 MB / 429 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.2596, allocations: 1.669 MB / 430.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.2607, allocations: 1.081 MB / 431.7 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.2619, allocations: 1.363 MB / 433.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003128/0.2622, allocations: 290.7 kB / 433.4 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005802/0.2628, allocations: 380.6 kB / 433.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005256/0.2634, allocations: 0.7977 MB / 434.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008852/0.2643, allocations: 1.303 MB / 435.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.2664, allocations: 3.643 MB / 439.5 MB, free: 32.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2664, allocations: 0 / 439.5 MB, free: 32.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2664, allocations: 0 / 439.5 MB, free: 32.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.217e-05/0.2665, allocations: 3.062 kB / 439.5 MB, free: 32.11 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.004658/0.2712, allocations: 2.754 MB / 442.3 MB, free: 30.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2712, allocations: 8.812 kB / 442.3 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002749/0.2715, allocations: 284.2 kB / 442.5 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005938/0.2721, allocations: 274.4 kB / 442.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.2737, allocations: 1.332 MB / 444.1 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.2739, allocations: 179.2 kB / 444.3 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.2742, allocations: 203.7 kB / 444.5 MB, free: 29.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/0.2776, allocations: 2.601 MB / 447.1 MB, free: 28.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.996e-05/0.2777, allocations: 11.12 kB / 447.1 MB, free: 28.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.2778, allocations: 79.03 kB / 447.2 MB, free: 28.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-05/0.2779, allocations: 100.7 kB / 447.3 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/0.2812, allocations: 2.194 MB / 449.5 MB, free: 27.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009531/0.2907, allocations: 8.318 MB / 457.8 MB, free: 22.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.2934, allocations: 1.626 MB / 459.4 MB, free: 22.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.2947, allocations: 0.8251 MB / 460.3 MB, free: 21.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.295, allocations: 128.8 kB / 460.4 MB, free: 21.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.2962, allocations: 0.8025 MB / 461.2 MB, free: 21.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/0.2962, allocations: 0 / 461.2 MB, free: 21.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01613/0.3123, allocations: 6.632 MB / 467.8 MB, free: 18.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.3124, allocations: 169.2 kB / 468 MB, free: 18.64 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.001969/0.3144, allocations: 1.4 MB / 469.4 MB, free: 18.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.3145, allocations: 47.2 kB / 469.4 MB, free: 18.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006538/0.3151, allocations: 0.9644 MB / 470.4 MB, free: 17.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.3154, allocations: 424.9 kB / 470.8 MB, free: 16.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/0.3159, allocations: 268.8 kB / 471.1 MB, free: 16.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.3159, allocations: 303 kB / 471.4 MB, free: 16.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.3173, allocations: 0.7543 MB / 472.1 MB, free: 16.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.3188, allocations: 1.188 MB / 473.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/0.3292, allocations: 3.999 MB / 477.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.3292, allocations: 3.406 kB / 477.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006011/0.3352, allocations: 2.721 MB / 480 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.3353, allocations: 39.83 kB / 480.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.3353, allocations: 12.78 kB / 480.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/0.3377, allocations: 0.6062 MB / 480.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.3393, allocations: 410.4 kB / 481.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008625/0.3479, allocations: 9.567 MB / 490.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.3495, allocations: 136.6 kB / 490.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.3496, allocations: 65.39 kB / 490.9 MB, free: 4.016 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.001975/0.3516, allocations: 1.267 MB / 492.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001241/0.3529, allocations: 1.166 MB / 493.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009928/0.3628, allocations: 3.967 MB / 497.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.414e-06/0.3628, allocations: 4 kB / 497.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006219/0.3691, allocations: 2.698 MB / 500 MB, free: 10.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.3691, allocations: 45.62 kB / 0.4883 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.3691, allocations: 12 kB / 0.4883 GB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.3715, allocations: 0.6046 MB / 0.4889 GB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.3731, allocations: 407.4 kB / 0.4893 GB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.3837, allocations: 9.559 MB / 0.4986 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.3854, allocations: 147.8 kB / 0.4988 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.3856, allocations: 63.98 kB / 0.4988 GB, free: 15.12 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.0005435/0.3861, allocations: 292.3 kB / 0.4991 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/0.3866, allocations: 154.1 kB / 0.4992 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005691/0.3923, allocations: 2.401 MB / 0.5016 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.3923, allocations: 16 kB / 0.5016 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.3923, allocations: 0 / 0.5016 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.3923, allocations: 7.969 kB / 0.5016 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009285/0.4016, allocations: 4.697 MB / 0.5062 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.4016, allocations: 4 kB / 0.5062 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.403, allocations: 287.9 kB / 0.5065 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/0.4052, allocations: 0.5893 MB / 0.507 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.4053, allocations: 35.98 kB / 0.5071 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.4161, allocations: 9.708 MB / 0.5166 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.4162, allocations: 4.031 kB / 0.5166 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007299/0.4235, allocations: 3.425 MB / 0.5199 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008423/0.4243, allocations: 375.1 kB / 0.5203 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003998/0.4247, allocations: 39.92 kB / 0.5203 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.4259, allocations: 103.9 kB / 0.5204 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003204/0.4263, allocations: 116.8 kB / 0.5205 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-05/0.4264, allocations: 39.98 kB / 0.5206 GB, free: 7.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001429/0.4278, allocations: 0.9165 MB / 0.5214 GB, free: 7.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4278, allocations: 4 kB / 0.5215 GB, free: 7.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002685/0.4305, allocations: 0.7968 MB / 0.5222 GB, free: 6.219 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.007399/0.4379, allocations: 4.068 MB / 0.5262 GB, free: 2.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009805/0.4477, allocations: 5.289 MB / 0.5314 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.4478, allocations: 0 / 0.5314 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003209/0.451, allocations: 1.844 MB / 0.5332 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.4532, allocations: 429.2 kB / 0.5336 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/0.4829, allocations: 18.15 MB / 0.5513 GB, free: 7.137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/0.4844, allocations: 1.676 MB / 0.5529 GB, free: 5.426 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001492/0.4859, allocations: 492.7 kB / 0.5534 GB, free: 4.938 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/0.4869, allocations: 0.7765 MB / 0.5542 GB, free: 4.16 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.487, allocations: 0 / 0.5542 GB, free: 4.16 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).