Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveFW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveFW,fileNamePrefix="EHPTlib_latest_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.001195/0.001195, 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.001418/0.001418, allocations: 194.7 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1461/0.1461, allocations: 8.028 MB / 298.4 MB, free: 2.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 360.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 51.19 MB / 411.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveFW): time 0.0114/0.1144, allocations: 9.363 MB / 421.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2035/0.318, allocations: 2.632 MB / 423.9 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001639/0.3196, allocations: 47.66 kB / 424 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.3211, allocations: 497.4 kB / 424.4 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.3235, allocations: 0.7068 MB / 425.2 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.3242, allocations: 382.8 kB / 425.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.3263, allocations: 2.29 MB / 427.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.3277, allocations: 1.623 MB / 429.4 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.329, allocations: 0.9882 MB / 430.4 MB, free: 36.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.3304, allocations: 1.264 MB / 431.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00032/0.3307, allocations: 259.7 kB / 431.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005721/0.3313, allocations: 356 kB / 432.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005356/0.3318, allocations: 0.7606 MB / 433.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009055/0.3327, allocations: 1.2 MB / 434.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.335, allocations: 3.402 MB / 437.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.335, allocations: 0 / 437.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.335, allocations: 0 / 437.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.383e-05/0.3351, allocations: 0 / 437.7 MB, free: 33.2 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.00382/0.3389, allocations: 2.507 MB / 440.2 MB, free: 31.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.339, allocations: 9.438 kB / 440.2 MB, free: 31.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002535/0.3392, allocations: 272 kB / 440.4 MB, free: 31.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005844/0.3398, allocations: 255.2 kB / 440.7 MB, free: 31.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.3414, allocations: 1.251 MB / 441.9 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.3415, allocations: 172.7 kB / 442.1 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.3418, allocations: 191.6 kB / 442.3 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/0.3449, allocations: 2.437 MB / 444.7 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.694e-05/0.3449, allocations: 7.094 kB / 444.7 MB, free: 29.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.3451, allocations: 79.14 kB / 444.8 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.721e-05/0.3452, allocations: 102.7 kB / 444.9 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/0.3479, allocations: 2.021 MB / 446.9 MB, free: 28.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00931/0.3572, allocations: 7.857 MB / 454.8 MB, free: 24.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.3594, allocations: 1.42 MB / 456.2 MB, free: 23.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.3605, allocations: 0.7266 MB / 456.9 MB, free: 23.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/0.3608, allocations: 126.3 kB / 457.1 MB, free: 23.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3609, allocations: 50.02 kB / 457.1 MB, free: 23.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 3.847e-06/0.3609, allocations: 0 / 457.1 MB, free: 23.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.01485/0.3757, allocations: 5.895 MB / 463 MB, free: 21.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/0.3759, allocations: 66.12 kB / 463.1 MB, free: 21.05 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.003643/0.3795, allocations: 1.296 MB / 464.4 MB, free: 20.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002681/0.3798, allocations: 42.45 kB / 464.4 MB, free: 20.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008864/0.3807, allocations: 0.9001 MB / 465.3 MB, free: 19.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003846/0.3811, allocations: 379.5 kB / 465.7 MB, free: 19.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004557/0.3816, allocations: 247.9 kB / 465.9 MB, free: 19.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3817, allocations: 363.9 kB / 466.3 MB, free: 19.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.3831, allocations: 0.6575 MB / 466.9 MB, free: 18.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.3849, allocations: 1.059 MB / 468 MB, free: 18.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00972/0.3946, allocations: 3.479 MB / 471.5 MB, free: 16.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.281e-05/0.3947, allocations: 8.062 kB / 471.5 MB, free: 16.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005334/0.4, allocations: 2.367 MB / 473.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.4001, allocations: 9.875 kB / 473.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.034e-05/0.4001, allocations: 12.66 kB / 473.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.4017, allocations: 468.2 kB / 474.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.4032, allocations: 392.1 kB / 474.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00758/0.4108, allocations: 7.488 MB / 482.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.4125, allocations: 109.3 kB / 482.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.4126, allocations: 60.64 kB / 482.4 MB, free: 9.301 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.0013/0.4139, allocations: 0.6117 MB / 483 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.4142, allocations: 135.7 kB / 483.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.4184, allocations: 2.027 MB / 485.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.4184, allocations: 10.53 kB / 485.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.4184, allocations: 3.297 kB / 485.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.4184, allocations: 4.547 kB / 485.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007165/0.4256, allocations: 4.167 MB / 489.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.4256, allocations: 5.5 kB / 489.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.4267, allocations: 267.6 kB / 489.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.428, allocations: 459.9 kB / 490 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.392e-05/0.4281, allocations: 27.98 kB / 490.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007003/0.4351, allocations: 7.408 MB / 497.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4351, allocations: 7.938 kB / 497.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005828/0.441, allocations: 2.953 MB / 0.4887 GB, free: 10 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009277/0.4419, allocations: 347.3 kB / 0.489 GB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.4422, allocations: 20 kB / 0.4891 GB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000857/0.443, allocations: 83.89 kB / 0.4891 GB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/0.4433, allocations: 96.75 kB / 0.4892 GB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.713e-05/0.4434, allocations: 35.98 kB / 0.4893 GB, free: 9.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001512/0.4449, allocations: 0.851 MB / 0.4901 GB, free: 8.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4449, allocations: 0 / 0.4901 GB, free: 8.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002174/0.4471, allocations: 419.9 kB / 0.4905 GB, free: 8.145 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.006184/0.4533, allocations: 3.58 MB / 0.494 GB, free: 4.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005743/0.4591, allocations: 2.785 MB / 0.4967 GB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.4591, allocations: 320 / 0.4967 GB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002663/0.4618, allocations: 1.533 MB / 0.4982 GB, free: 36 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.4638, allocations: 384.2 kB / 0.4986 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02778/0.4916, allocations: 16.34 MB / 0.5145 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/0.4931, allocations: 1.607 MB / 0.5161 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001155/0.4943, allocations: 332 kB / 0.5164 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008916/0.4952, allocations: 0.6906 MB / 0.5171 GB, free: 11.77 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4952, allocations: 0 / 0.5171 GB, free: 11.77 MB / 398.1 MB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.3 / (6.283185307179586 * smpm.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.05 / (6.283185307179586 * smpm.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.1 / (6.283185307179586 * smpm.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 6.283185307179586 * smpm.fsNominal / /*Real*/(smpm.p).