Running command: translateModel(Modelica.Electrical.Machines.Examples.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.084/1.084, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.263e-05, allocations: 0 / 154.5 MB, free: 2.832 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05907/0.05912, allocations: 25.17 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SMR_Inverter): time 0.00777/0.06694, allocations: 4.37 MB / 184.1 MB, free: 5.23 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.003635/0.07063, allocations: 1.13 MB / 185.2 MB, free: 4.098 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009435/0.07164, allocations: 47.81 kB / 185.2 MB, free: 4.051 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007629/0.07242, allocations: 210.8 kB / 185.4 MB, free: 3.844 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.07391, allocations: 283 kB / 185.7 MB, free: 3.566 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007902/0.07474, allocations: 167.8 kB / 185.9 MB, free: 3.402 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.00221/0.07697, allocations: 0.7559 MB / 186.6 MB, free: 2.645 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.07904, allocations: 0.9801 MB / 187.6 MB, free: 1.648 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.08025, allocations: 466.8 kB / 188.1 MB, free: 1.191 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.08182, allocations: 0.6346 MB / 188.7 MB, free: 0.5547 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005681/0.08242, allocations: 56 kB / 188.8 MB, free: 0.5 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.08276, allocations: 56 kB / 188.8 MB, free: 456 kB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.08379, allocations: 486.6 kB / 189.3 MB, free: 15.97 MB / 170.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005494/0.08436, allocations: 132 kB / 189.4 MB, free: 15.84 MB / 170.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003977/0.08835, allocations: 2.388 MB / 191.8 MB, free: 13.45 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.08841, allocations: 0 / 191.8 MB, free: 13.45 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.08842, allocations: 0 / 191.8 MB, free: 13.45 MB / 170.7 MB Notification: Performance of Transformations before backend: time 0.0001067/0.08854, allocations: 0 / 191.8 MB, free: 13.45 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 416 * Number of variables: 416 Notification: Performance of Generate backend data structure: time 0.00632/0.09487, allocations: 1.766 MB / 193.6 MB, free: 11.62 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.09493, allocations: 12.03 kB / 193.6 MB, free: 11.61 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008586/0.09581, allocations: 185.8 kB / 193.8 MB, free: 11.43 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/0.099, allocations: 1.02 MB / 194.8 MB, free: 10.37 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.09924, allocations: 119.1 kB / 194.9 MB, free: 10.25 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006625/0.09992, allocations: 160 kB / 195.1 MB, free: 10.09 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007438/0.1074, allocations: 2.196 MB / 197.3 MB, free: 7.855 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.072e-05/0.1075, allocations: 7.844 kB / 197.3 MB, free: 7.848 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/0.1078, allocations: 68 kB / 197.3 MB, free: 7.781 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/0.108, allocations: 83.22 kB / 197.4 MB, free: 7.699 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006884/0.1149, allocations: 1.89 MB / 199.3 MB, free: 5.805 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1659/0.2808, allocations: 6.169 MB / 205.5 MB, free: 20.54 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/0.2848, allocations: 1.821 MB / 207.3 MB, free: 19.66 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.285, allocations: 11.86 kB / 207.3 MB, free: 19.66 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2851, allocations: 39.12 kB / 207.3 MB, free: 19.62 MB / 170.7 MB Notification: Performance of pre-optimization done (n=88): time 4.188e-06/0.2851, allocations: 0 / 207.3 MB, free: 19.62 MB / 170.7 MB Notification: Performance of matching and sorting (n=104): time 0.02384/0.3089, allocations: 6.263 MB / 213.6 MB, free: 17.82 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.309, allocations: 61.97 kB / 213.7 MB, free: 17.75 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7706:7-7708:33:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/Rotational.mo:4773:7-4774:27:writable] Warning: Parameter loadTorqueStep.offsetTorque has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2609:9-2611:75:writable] Warning: Parameter smr.Rrd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2603:9-2605:75:writable] Warning: Parameter smr.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05 / (6.283185307179586 * smr.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2600:9-2602:51:writable] Warning: Parameter smr.useDamperCage has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2597:9-2599:75:writable] Warning: Parameter smr.Lmq has no value, and is fixed during initialization (fixed=true), using available start value (start=0.9 / (6.283185307179586 * smr.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2594:9-2596:75:writable] Warning: Parameter smr.Lmd has no value, and is fixed during initialization (fixed=true), using available start value (start=2.9 / (6.283185307179586 * smr.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7411:7-7413:73:writable] Warning: Parameter smr.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1 / (6.283185307179586 * smr.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7408:7-7410:73:writable] Warning: Parameter smr.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7406:7-7407:28:writable] Warning: Parameter smr.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7405:7-7405:75:writable] Warning: Parameter smr.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7272:7-7274:46:writable] Warning: Parameter smr.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=smr.Jr) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7268:7-7268:72:writable] Warning: Parameter smr.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.3105, allocations: 0.6767 MB / 214.3 MB, free: 17.47 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.3107, allocations: 45.61 kB / 214.4 MB, free: 17.42 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.3111, allocations: 0.6932 MB / 215.1 MB, free: 16.86 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/0.3115, allocations: 361 kB / 215.4 MB, free: 16.58 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3116, allocations: 20.7 kB / 215.5 MB, free: 16.56 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.3117, allocations: 350.6 kB / 215.8 MB, free: 16.22 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.3132, allocations: 0.6235 MB / 216.4 MB, free: 15.91 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.3149, allocations: 0.8088 MB / 217.2 MB, free: 15.38 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.3168, allocations: 0.7527 MB / 218 MB, free: 14.99 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.3169, allocations: 1.094 kB / 218 MB, free: 14.99 MB / 170.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005868/0.3228, allocations: 2.088 MB / 220.1 MB, free: 13.89 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.3228, allocations: 10.44 kB / 220.1 MB, free: 13.89 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.3229, allocations: 7.219 kB / 220.1 MB, free: 13.89 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/0.3252, allocations: 0.5641 MB / 220.7 MB, free: 13.62 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.3269, allocations: 229.6 kB / 220.9 MB, free: 13.55 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/0.34, allocations: 8.343 MB / 229.2 MB, free: 5.379 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.3413, allocations: 92.42 kB / 229.3 MB, free: 5.289 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.3414, allocations: 36 kB / 229.3 MB, free: 5.254 MB / 170.7 MB Warning: Assuming fixed start value for the following 6 variables: loadInertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real smr.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "rotor space phasor current / rotor fixed frame" type: Real [2] smr.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "rotor space phasor current / rotor fixed frame" type: Real [2] smr.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "stator space phasor current / rotor fixed frame" type: Real [2] smr.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "stator space phasor current / rotor fixed frame" type: Real [2] smr.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,80.6%) 19,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001382/0.3428, allocations: 0.6037 MB / 229.9 MB, free: 4.652 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.3431, allocations: 98.78 kB / 230 MB, free: 4.555 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005692/0.3488, allocations: 2.107 MB / 232.2 MB, free: 2.422 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.3489, allocations: 12.75 kB / 232.2 MB, free: 2.41 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/0.3489, allocations: 4 kB / 232.2 MB, free: 2.406 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.943e-05/0.349, allocations: 9.625 kB / 232.2 MB, free: 2.398 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.3607, allocations: 4.088 MB / 236.3 MB, free: 14.26 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.3607, allocations: 0 / 236.3 MB, free: 14.26 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.3622, allocations: 171.8 kB / 236.4 MB, free: 14.09 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003073/0.3653, allocations: 0.5904 MB / 237 MB, free: 13.5 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.3655, allocations: 23.98 kB / 237 MB, free: 13.47 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/0.3813, allocations: 8.18 MB / 245.2 MB, free: 4.902 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.3813, allocations: 4 kB / 245.2 MB, free: 4.898 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008921/0.3903, allocations: 3.031 MB / 248.3 MB, free: 1.828 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009576/0.3913, allocations: 307.8 kB / 248.6 MB, free: 1.508 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.3916, allocations: 23.5 kB / 248.6 MB, free: 1.488 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.3927, allocations: 75.91 kB / 248.7 MB, free: 1.414 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004427/0.3932, allocations: 76.84 kB / 248.7 MB, free: 1.336 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.3933, allocations: 27.98 kB / 248.8 MB, free: 1.309 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.001111/0.3944, allocations: 0.5146 MB / 249.3 MB, free: 0.7969 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3944, allocations: 0 / 249.3 MB, free: 0.7969 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001929/0.3964, allocations: 348 kB / 249.6 MB, free: 468 kB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_rr[1],smr.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,86.1%) 19,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003022/0.3967, allocations: 127.1 kB / 249.7 MB, free: 332 kB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.006173/0.4029, allocations: 2.117 MB / 251.9 MB, free: 14.16 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.403, allocations: 4 kB / 251.9 MB, free: 14.16 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00439/0.4074, allocations: 1.388 MB / 253.2 MB, free: 12.73 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.4094, allocations: 196 kB / 253.4 MB, free: 12.54 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.4201, allocations: 4.31 MB / 257.7 MB, free: 8.203 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/0.4223, allocations: 1.592 MB / 259.3 MB, free: 6.574 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005552/0.4229, allocations: 75.42 kB / 259.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of SimCode: time 1.173e-06/0.4229, allocations: 0 / 259.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of Templates: time 0.2431/0.666, allocations: 39 MB / 298.4 MB, free: 76.24 MB / 234.7 MB