Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_main_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.001446/0.001446, allocations: 108 kB / 15.59 MB, free: 184 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.00112/0.00112, allocations: 198.5 kB / 16.51 MB, free: 6.723 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1333/0.1333, allocations: 8.028 MB / 298.4 MB, free: 2.402 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.91 kB / 360.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07906/0.08035, allocations: 51.2 MB / 411.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.009722/0.09011, allocations: 9.865 MB / 421.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1395/0.2297, allocations: 2.851 MB / 424.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007546/0.2305, allocations: 54.2 kB / 424.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.2315, allocations: 0.502 MB / 425.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.2331, allocations: 0.7416 MB / 425.9 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.234, allocations: 0.5042 MB / 426.4 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.2357, allocations: 2.538 MB / 428.9 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.2371, allocations: 1.665 MB / 430.6 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.2383, allocations: 1.086 MB / 431.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.2394, allocations: 1.356 MB / 433 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002935/0.2397, allocations: 289.3 kB / 433.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.2402, allocations: 383.7 kB / 433.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004973/0.2407, allocations: 0.802 MB / 434.5 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008422/0.2415, allocations: 1.293 MB / 435.8 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.2437, allocations: 3.653 MB / 439.4 MB, free: 32.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2437, allocations: 0 / 439.4 MB, free: 32.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2437, allocations: 0 / 439.4 MB, free: 32.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.463e-05/0.2437, allocations: 4 kB / 439.4 MB, free: 32.18 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.004067/0.2478, allocations: 2.748 MB / 442.2 MB, free: 30.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2479, allocations: 9.344 kB / 442.2 MB, free: 30.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002475/0.2481, allocations: 291.3 kB / 442.5 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005284/0.2486, allocations: 265.3 kB / 442.7 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.2505, allocations: 1.335 MB / 444.1 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.2507, allocations: 183.8 kB / 444.2 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.2509, allocations: 198 kB / 444.4 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.2541, allocations: 2.612 MB / 447.1 MB, free: 28.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/0.2542, allocations: 7.062 kB / 447.1 MB, free: 28.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.2544, allocations: 76.19 kB / 447.1 MB, free: 28.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.246e-05/0.2544, allocations: 97.92 kB / 447.2 MB, free: 28.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/0.2575, allocations: 2.193 MB / 449.4 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008895/0.2664, allocations: 8.319 MB / 457.7 MB, free: 22.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.2687, allocations: 1.626 MB / 459.4 MB, free: 22.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.2698, allocations: 0.8278 MB / 460.2 MB, free: 21.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/0.27, allocations: 121.6 kB / 460.3 MB, free: 21.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.2712, allocations: 0.8012 MB / 461.1 MB, free: 21.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.735e-06/0.2712, allocations: 4 kB / 461.1 MB, free: 21.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.0142/0.2854, allocations: 6.628 MB / 467.7 MB, free: 18.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.2855, allocations: 172.4 kB / 467.9 MB, free: 18.71 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.001745/0.2872, allocations: 1.394 MB / 469.3 MB, free: 18.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.957e-05/0.2873, allocations: 48.52 kB / 469.4 MB, free: 18.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005742/0.2879, allocations: 0.9687 MB / 470.3 MB, free: 17.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.2881, allocations: 423.4 kB / 470.7 MB, free: 17.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.2885, allocations: 269.7 kB / 471 MB, free: 16.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.199e-05/0.2886, allocations: 307.7 kB / 471.3 MB, free: 16.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.2897, allocations: 0.7535 MB / 472.1 MB, free: 16.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.2911, allocations: 1.185 MB / 473.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009026/0.3001, allocations: 3.989 MB / 477.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.3001, allocations: 7.406 kB / 477.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005224/0.3054, allocations: 2.724 MB / 480 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.3054, allocations: 36.33 kB / 480 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.3054, allocations: 13.25 kB / 480 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/0.3076, allocations: 0.6083 MB / 480.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.3089, allocations: 412.2 kB / 481 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0078/0.3167, allocations: 9.563 MB / 490.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.318, allocations: 132.8 kB / 490.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.3182, allocations: 65.02 kB / 490.8 MB, free: 4.062 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.001712/0.3199, allocations: 1.27 MB / 492 MB, free: 2.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001098/0.321, allocations: 1.173 MB / 493.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008783/0.3298, allocations: 3.965 MB / 497.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/0.3298, allocations: 4 kB / 497.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005192/0.335, allocations: 2.698 MB / 499.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.335, allocations: 49.66 kB / 499.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.3351, allocations: 12 kB / 500 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/0.3372, allocations: 0.602 MB / 0.4888 GB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.3386, allocations: 407.3 kB / 0.4892 GB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009267/0.3478, allocations: 9.556 MB / 0.4985 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.3492, allocations: 151.8 kB / 0.4987 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.3493, allocations: 63.98 kB / 0.4987 GB, free: 15.07 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.0004171/0.3497, allocations: 295.7 kB / 0.499 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.3499, allocations: 150.1 kB / 0.4992 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/0.3549, allocations: 2.397 MB / 0.5015 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3549, allocations: 15.98 kB / 0.5015 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3549, allocations: 8 kB / 0.5015 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.3549, allocations: 7.922 kB / 0.5015 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007903/0.3628, allocations: 4.694 MB / 0.5061 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3628, allocations: 0 / 0.5061 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.364, allocations: 287.9 kB / 0.5064 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.3658, allocations: 0.5902 MB / 0.507 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.744e-05/0.3659, allocations: 35.98 kB / 0.507 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009237/0.3752, allocations: 9.711 MB / 0.5165 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3752, allocations: 0 / 0.5165 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005888/0.3811, allocations: 3.436 MB / 0.5199 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006743/0.3818, allocations: 375.1 kB / 0.5202 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.382, allocations: 35.92 kB / 0.5202 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008884/0.3828, allocations: 103.9 kB / 0.5203 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/0.3831, allocations: 116.8 kB / 0.5205 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/0.3832, allocations: 35.98 kB / 0.5205 GB, free: 7.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001117/0.3843, allocations: 0.9205 MB / 0.5214 GB, free: 6.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3843, allocations: 288 / 0.5214 GB, free: 6.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002046/0.3864, allocations: 0.7968 MB / 0.5222 GB, free: 6.172 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.006247/0.3926, allocations: 4.062 MB / 0.5261 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008263/0.4009, allocations: 5.292 MB / 0.5313 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4009, allocations: 4 kB / 0.5313 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002705/0.4036, allocations: 1.841 MB / 0.5331 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.4052, allocations: 432.9 kB / 0.5335 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02728/0.4325, allocations: 18.1 MB / 0.5512 GB, free: 7.133 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.4337, allocations: 1.672 MB / 0.5528 GB, free: 5.426 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001272/0.435, allocations: 488.8 kB / 0.5533 GB, free: 4.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008773/0.4358, allocations: 0.7765 MB / 0.554 GB, free: 4.164 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4359, allocations: 0 / 0.554 GB, free: 4.164 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).