Running command: translateModel(Modelica.Electrical.Machines.Examples.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.151/1.151, allocations: 111.1 MB / 126.3 MB, free: 6.414 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.536e-05, allocations: 0 / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05923/0.05928, allocations: 25.18 MB / 179.7 MB, free: 9.621 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AIMC_Inverter): time 0.006781/0.06612, allocations: 3.809 MB / 183.5 MB, free: 5.797 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.06923, allocations: 1.001 MB / 184.5 MB, free: 4.793 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006481/0.06993, allocations: 35.88 kB / 184.5 MB, free: 4.758 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.07047, allocations: 174.9 kB / 184.7 MB, free: 4.586 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.07153, allocations: 235.2 kB / 184.9 MB, free: 4.355 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.07212, allocations: 143.7 kB / 185.1 MB, free: 4.215 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.07363, allocations: 0.6236 MB / 185.7 MB, free: 3.59 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.07514, allocations: 0.7607 MB / 186.5 MB, free: 2.82 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009182/0.07608, allocations: 375.1 kB / 186.8 MB, free: 2.453 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.07716, allocations: 0.5218 MB / 187.3 MB, free: 1.93 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.07746, allocations: 48 kB / 187.4 MB, free: 1.883 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.07768, allocations: 52 kB / 187.4 MB, free: 1.832 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007523/0.07845, allocations: 402.8 kB / 187.8 MB, free: 1.438 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.07886, allocations: 112 kB / 187.9 MB, free: 1.328 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.08188, allocations: 1.956 MB / 189.9 MB, free: 15.37 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.08194, allocations: 0 / 189.9 MB, free: 15.37 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.08196, allocations: 0 / 189.9 MB, free: 15.37 MB / 170.7 MB Notification: Performance of Transformations before backend: time 7.043e-05/0.08204, allocations: 0 / 189.9 MB, free: 15.37 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.0052/0.08725, allocations: 1.499 MB / 191.4 MB, free: 13.82 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.08732, allocations: 8.031 kB / 191.4 MB, free: 13.81 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006715/0.088, allocations: 150.1 kB / 191.6 MB, free: 13.66 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.09071, allocations: 0.8556 MB / 192.4 MB, free: 12.76 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.09089, allocations: 94.58 kB / 192.5 MB, free: 12.66 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/0.09129, allocations: 136 kB / 192.6 MB, free: 12.53 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005587/0.09689, allocations: 1.807 MB / 194.4 MB, free: 10.68 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.52e-05/0.09701, allocations: 7.906 kB / 194.5 MB, free: 10.67 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.09722, allocations: 52 kB / 194.5 MB, free: 10.62 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.09738, allocations: 66.61 kB / 194.6 MB, free: 10.55 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005202/0.1026, allocations: 1.544 MB / 196.1 MB, free: 9 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.1157, allocations: 4.828 MB / 200.9 MB, free: 4.074 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/0.1194, allocations: 1.442 MB / 202.4 MB, free: 2.512 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.1196, allocations: 4.656 kB / 202.4 MB, free: 2.508 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.1196, allocations: 47.22 kB / 202.4 MB, free: 2.453 MB / 170.7 MB Notification: Performance of pre-optimization done (n=74): time 3.908e-06/0.1197, allocations: 0 / 202.4 MB, free: 2.453 MB / 170.7 MB Notification: Performance of matching and sorting (n=92): time 0.231/0.3507, allocations: 6.212 MB / 208.6 MB, free: 22.03 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.3508, allocations: 65.69 kB / 208.7 MB, free: 21.96 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:1719:9-1721:75:writable] Warning: Parameter aimc.Rr 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:1716:9-1718:75:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:1713:9-1715:75:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.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 aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.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 aimc.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 aimc.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 aimc.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 aimc.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=aimc.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 aimc.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.001876/0.3527, allocations: 0.5294 MB / 209.2 MB, free: 21.73 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.353, allocations: 41.83 kB / 209.3 MB, free: 21.69 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005975/0.3536, allocations: 0.5656 MB / 209.8 MB, free: 21.22 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000574/0.3542, allocations: 317.5 kB / 210.2 MB, free: 20.98 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.3543, allocations: 14.66 kB / 210.2 MB, free: 20.96 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3545, allocations: 348.6 kB / 210.5 MB, free: 20.64 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002591/0.3571, allocations: 0.5645 MB / 211.1 MB, free: 20.44 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002789/0.36, allocations: 0.6707 MB / 211.7 MB, free: 20.14 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/0.3629, allocations: 0.6656 MB / 212.4 MB, free: 19.88 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.3629, allocations: 1.312 kB / 212.4 MB, free: 19.88 MB / 170.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.009757/0.3727, allocations: 1.947 MB / 214.4 MB, free: 19.15 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.3728, allocations: 6.688 kB / 214.4 MB, free: 19.15 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.3729, allocations: 1.438 kB / 214.4 MB, free: 19.15 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004355/0.3772, allocations: 0.651 MB / 215 MB, free: 18.93 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.3795, allocations: 165.9 kB / 215.2 MB, free: 18.89 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/0.4002, allocations: 8.265 MB / 223.4 MB, free: 12.22 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.4019, allocations: 67.97 kB / 223.5 MB, free: 12.16 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.4021, allocations: 28 kB / 223.5 MB, free: 12.13 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 aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.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: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,76.0%) 20,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001737/0.4038, allocations: 0.521 MB / 224.1 MB, free: 11.6 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000356/0.4042, allocations: 79.06 kB / 224.1 MB, free: 11.52 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008572/0.4128, allocations: 2.027 MB / 226.2 MB, free: 9.469 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/0.4129, allocations: 12 kB / 226.2 MB, free: 9.457 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.4129, allocations: 4 kB / 226.2 MB, free: 9.453 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-05/0.413, allocations: 7.969 kB / 226.2 MB, free: 9.445 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.4279, allocations: 3.75 MB / 229.9 MB, free: 5.645 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/0.428, allocations: 4 kB / 229.9 MB, free: 5.641 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/0.43, allocations: 131.8 kB / 230.1 MB, free: 5.512 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004714/0.4348, allocations: 0.6711 MB / 230.7 MB, free: 4.828 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002503/0.4351, allocations: 27.97 kB / 230.8 MB, free: 4.801 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02168/0.4568, allocations: 8.112 MB / 238.9 MB, free: 12.31 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.4568, allocations: 0 / 238.9 MB, free: 12.31 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/0.4701, allocations: 2.899 MB / 241.8 MB, free: 9.367 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.4713, allocations: 276.1 kB / 242 MB, free: 9.078 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003472/0.4716, allocations: 16 kB / 242.1 MB, free: 9.062 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.4731, allocations: 63.92 kB / 242.1 MB, free: 9 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004474/0.4736, allocations: 80.7 kB / 242.2 MB, free: 8.922 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.4738, allocations: 27.92 kB / 242.2 MB, free: 8.895 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.001295/0.4751, allocations: 414.8 kB / 242.6 MB, free: 8.492 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.4751, allocations: 0 / 242.6 MB, free: 8.492 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.002566/0.4777, allocations: 308 kB / 242.9 MB, free: 8.191 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.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 (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,76.0%) 20,(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.000427/0.4782, allocations: 122 kB / 243.1 MB, free: 8.062 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.009256/0.4875, allocations: 2.08 MB / 245.1 MB, free: 5.918 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.4876, allocations: 0 / 245.1 MB, free: 5.918 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006105/0.4937, allocations: 1.417 MB / 246.6 MB, free: 4.449 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.4964, allocations: 158.4 kB / 246.7 MB, free: 4.293 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.5099, allocations: 3.726 MB / 250.4 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/0.5126, allocations: 1.435 MB / 251.9 MB, free: 15.07 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006481/0.5133, allocations: 63.42 kB / 251.9 MB, free: 15.01 MB / 202.7 MB Notification: Performance of SimCode: time 2.175e-06/0.5133, allocations: 0 / 251.9 MB, free: 15.01 MB / 202.7 MB Notification: Performance of Templates: time 0.103/0.6163, allocations: 38.08 MB / 290 MB, free: 8.887 MB / 234.7 MB