Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveFW.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.SmaDriveFW,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveFW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveFW,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveFW",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.0009573/0.0009643, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006894/0.006894, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.266/1.266, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1638/0.1638, allocations: 8.018 MB / 299.5 MB, free: 3.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.000315, allocations: 8 kB / 362.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09309/0.09343, allocations: 52.18 MB / 414.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveFW): time 0.008236/0.1017, allocations: 8.782 MB / 423.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1752/0.277, allocations: 2.58 MB / 426 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008246/0.2778, allocations: 46.25 kB / 426.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008621/0.2787, allocations: 427.9 kB / 426.5 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.2801, allocations: 0.6379 MB / 427.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.2807, allocations: 332.8 kB / 427.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.2825, allocations: 2.618 MB / 430.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.2837, allocations: 1.341 MB / 431.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007448/0.2845, allocations: 0.7654 MB / 432.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.2855, allocations: 1.076 MB / 433.3 MB, free: 34.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.2857, allocations: 110.8 kB / 433.4 MB, free: 34.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004126/0.2861, allocations: 213 kB / 433.6 MB, free: 34.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004372/0.2866, allocations: 0.5773 MB / 434.2 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007508/0.2873, allocations: 1.025 MB / 435.2 MB, free: 33.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.2899, allocations: 3.223 MB / 438.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2899, allocations: 3.75 kB / 438.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2899, allocations: 0 / 438.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.908e-05/0.29, allocations: 0 / 438.4 MB, free: 33.14 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: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.003736/0.2938, allocations: 2.136 MB / 440.6 MB, free: 32.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2938, allocations: 9.375 kB / 440.6 MB, free: 32.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000295/0.2941, allocations: 273.9 kB / 440.8 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005467/0.2947, allocations: 249.8 kB / 441.1 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.2962, allocations: 1.249 MB / 442.3 MB, free: 31.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.2963, allocations: 179.7 kB / 442.5 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.2965, allocations: 191.5 kB / 442.7 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/0.2997, allocations: 2.459 MB / 445.1 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/0.2998, allocations: 14.55 kB / 445.2 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.3, allocations: 73 kB / 445.2 MB, free: 30.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.938e-05/0.3, allocations: 94.42 kB / 445.3 MB, free: 30.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.3028, allocations: 2.056 MB / 447.4 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00829/0.3111, allocations: 7.887 MB / 455.3 MB, free: 24.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.3131, allocations: 1.464 MB / 456.7 MB, free: 24.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3141, allocations: 0.7636 MB / 457.5 MB, free: 23.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.3143, allocations: 119.8 kB / 457.6 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3144, allocations: 46.08 kB / 457.7 MB, free: 23.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.895e-06/0.3144, allocations: 0 / 457.7 MB, free: 23.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.01265/0.327, allocations: 6.158 MB / 463.8 MB, free: 21.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.3271, allocations: 62.59 kB / 463.9 MB, free: 21.49 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 smpm.permanentMagnetLossParameters.wRef has no value, and is fixed during initialization (fixed=true), using available start value (start=6.283185307179586 * smpm.fsNominal / /*Real*/(smpm.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 smpm.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 smpm.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 smpm.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 smpm.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 smpm.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05 / (6.283185307179586 * smpm.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:53:3-55:67:writable] Warning: Parameter smpm.Lmq has no value, and is fixed during initialization (fixed=true), using available start value (start=0.3 / (6.283185307179586 * smpm.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:50:3-52:67:writable] Warning: Parameter smpm.Lmd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.3 / (6.283185307179586 * smpm.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 smpm.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 smpm.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 smpm.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 smpm.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 smpm.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 smpm.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1 / (6.283185307179586 * smpm.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 smpm.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 smpm.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 smpm.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 smpm.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 smpm.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 smpm.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.002433/0.3295, allocations: 1.306 MB / 465.2 MB, free: 20.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.3296, allocations: 45.42 kB / 465.2 MB, free: 20.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006914/0.3303, allocations: 0.8975 MB / 466.1 MB, free: 20.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.3307, allocations: 377.2 kB / 466.5 MB, free: 19.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.3309, allocations: 112.9 kB / 466.6 MB, free: 19.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.331, allocations: 364.8 kB / 467 MB, free: 19.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.3322, allocations: 0.6792 MB / 467.6 MB, free: 19.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.3335, allocations: 1.084 MB / 468.7 MB, free: 18.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008061/0.3416, allocations: 3.578 MB / 472.3 MB, free: 17.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.3416, allocations: 3.688 kB / 472.3 MB, free: 17.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004999/0.3466, allocations: 2.485 MB / 474.8 MB, free: 16.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.3467, allocations: 11.11 kB / 474.8 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.3467, allocations: 12.53 kB / 474.8 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.3483, allocations: 0.4927 MB / 475.3 MB, free: 16.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.3498, allocations: 422.8 kB / 475.7 MB, free: 16.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006626/0.3564, allocations: 7.09 MB / 482.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.3578, allocations: 121.8 kB / 482.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.3579, allocations: 60.03 kB / 483 MB, free: 10.21 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: smpm.i_0_s:VARIABLE(start = 0.0 unit = "A" fixed = true stateSelect=StateSelect.prefer ) "Stator zero-sequence current" type: Real smpm.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] smpm.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: 56 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 1 system {6} * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001155/0.359, allocations: 0.6014 MB / 483.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.3593, allocations: 146.3 kB / 483.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/0.3633, allocations: 2.145 MB / 485.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3633, allocations: 11.16 kB / 485.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3633, allocations: 2.5 kB / 485.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.3633, allocations: 3.984 kB / 485.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006816/0.3701, allocations: 4.274 MB / 490.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3702, allocations: 0 / 490.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.3712, allocations: 303.9 kB / 490.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.3726, allocations: 0.4928 MB / 491 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.217e-05/0.3727, allocations: 27.98 kB / 491 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006414/0.3791, allocations: 7.022 MB / 498 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3792, allocations: 8.094 kB / 498 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005957/0.3851, allocations: 3.091 MB / 0.4894 GB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009179/0.3861, allocations: 343.3 kB / 0.4897 GB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.3863, allocations: 24 kB / 0.4897 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008012/0.3871, allocations: 99.89 kB / 0.4898 GB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/0.3873, allocations: 88.75 kB / 0.4899 GB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/0.3874, allocations: 35.98 kB / 0.4899 GB, free: 9.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00128/0.3887, allocations: 0.8549 MB / 0.4908 GB, free: 9.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3887, allocations: 0 / 0.4908 GB, free: 9.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001477/0.3902, allocations: 415.9 kB / 0.4912 GB, free: 8.656 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (inertia.w,tRes.phi,smpm.i_0_s,smpm.idq_sr[1],smpm.idq_sr[2],integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 1 system {(6,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005769/0.396, allocations: 3.716 MB / 0.4948 GB, free: 4.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004291/0.4003, allocations: 2.439 MB / 0.4972 GB, free: 2.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.4003, allocations: 0 / 0.4972 GB, free: 2.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.4029, allocations: 1.567 MB / 0.4987 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.4051, allocations: 368.3 kB / 0.499 GB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02906/0.4342, allocations: 17.47 MB / 0.5161 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.4361, allocations: 1.607 MB / 0.5177 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001237/0.4374, allocations: 332 kB / 0.518 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.4384, allocations: 0.6984 MB / 0.5187 GB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4385, allocations: 0 / 0.5187 GB, free: 11.33 MB / 398.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.3 / (6.283185307179586 * smpm.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.05 / (6.283185307179586 * smpm.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.1 / (6.283185307179586 * smpm.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 6.283185307179586 * smpm.fsNominal / /*Real*/(smpm.p).