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.003/1.003, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.828e-05, allocations: 0 / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1552, allocations: 25.15 MB / 176.5 MB, free: 4 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06702/0.2223, allocations: 44.22 MB / 220.8 MB, free: 5.227 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.2225, allocations: 63.97 kB / 220.8 MB, free: 5.164 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09477/0.3173, allocations: 24.34 MB / 245.2 MB, free: 12.68 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.697e-06/0.3174, allocations: 0 / 245.2 MB, free: 12.68 MB / 218.7 MB Notification: Performance of Transformations before backend: time 9.775e-05/0.3175, allocations: 35.94 kB / 245.2 MB, free: 12.64 MB / 218.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.003892/0.3214, allocations: 1.487 MB / 246.7 MB, free: 11.11 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3214, allocations: 12.03 kB / 246.7 MB, free: 11.1 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/0.322, allocations: 154.1 kB / 246.9 MB, free: 10.95 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.3241, allocations: 0.8673 MB / 247.7 MB, free: 10.04 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.3243, allocations: 102.6 kB / 247.8 MB, free: 9.934 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/0.3246, allocations: 132 kB / 247.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004355/0.329, allocations: 1.735 MB / 249.7 MB, free: 8.004 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-05/0.3291, allocations: 7.906 kB / 249.7 MB, free: 7.996 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.3293, allocations: 52 kB / 249.7 MB, free: 7.945 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.3294, allocations: 62.59 kB / 249.8 MB, free: 7.883 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/0.333, allocations: 1.407 MB / 251.2 MB, free: 6.473 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.3448, allocations: 4.777 MB / 256 MB, free: 1.609 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.3478, allocations: 1.469 MB / 257.5 MB, free: 16 kB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1261/0.4739, allocations: 0.5684 MB / 258 MB, free: 55.91 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.989e-05/0.474, allocations: 9.703 kB / 258 MB, free: 55.91 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.474, allocations: 43.41 kB / 258.1 MB, free: 55.88 MB / 218.7 MB Notification: Performance of pre-optimization done (n=77): time 4.004e-06/0.4741, allocations: 0 / 258.1 MB, free: 55.88 MB / 218.7 MB Notification: Performance of matching and sorting (n=99): time 0.01587/0.4899, allocations: 5.499 MB / 263.6 MB, free: 55.41 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.49, allocations: 64.06 kB / 263.6 MB, free: 55.34 MB / 218.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.0009983/0.491, allocations: 0.5663 MB / 264.2 MB, free: 55.23 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.4912, allocations: 44.17 kB / 264.2 MB, free: 55.2 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.4915, allocations: 0.5665 MB / 264.8 MB, free: 54.92 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.4918, allocations: 336.9 kB / 265.1 MB, free: 54.71 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.183e-05/0.4919, allocations: 17.53 kB / 265.2 MB, free: 54.71 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.492, allocations: 352.1 kB / 265.5 MB, free: 54.39 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.493, allocations: 0.5663 MB / 266.1 MB, free: 54.39 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.494, allocations: 0.6583 MB / 266.7 MB, free: 54.34 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.4952, allocations: 0.6693 MB / 267.4 MB, free: 54.32 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.236e-06/0.4952, allocations: 0 / 267.4 MB, free: 54.32 MB / 218.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00409/0.4994, allocations: 2.006 MB / 269.4 MB, free: 54.06 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.4994, allocations: 6.812 kB / 269.4 MB, free: 54.06 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4994, allocations: 3.312 kB / 269.4 MB, free: 54.06 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/0.5016, allocations: 0.6914 MB / 270.1 MB, free: 53.87 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008858/0.5025, allocations: 171.3 kB / 270.3 MB, free: 53.86 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.5139, allocations: 8.615 MB / 278.9 MB, free: 48.02 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008259/0.5148, allocations: 73.02 kB / 279 MB, free: 48 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.5149, allocations: 29.66 kB / 279 MB, free: 48 MB / 218.7 MB Warning: Assuming fixed start value for the following 6 variables: loadInertia.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.inertiaRotor.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 76 * 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,92.0%) 23,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003191/0.5152, allocations: 168.1 kB / 279.2 MB, free: 47.86 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.5155, allocations: 78.03 kB / 279.2 MB, free: 47.82 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004081/0.5196, allocations: 2.057 MB / 281.3 MB, free: 47.04 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.5196, allocations: 11.34 kB / 281.3 MB, free: 47.04 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.5196, allocations: 6.656 kB / 281.3 MB, free: 47.04 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.5196, allocations: 6.984 kB / 281.3 MB, free: 47.04 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007677/0.5273, allocations: 3.862 MB / 285.2 MB, free: 45.4 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.083e-06/0.5274, allocations: 0 / 285.2 MB, free: 45.4 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008217/0.5282, allocations: 139.2 kB / 285.3 MB, free: 45.3 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002351/0.5306, allocations: 0.7139 MB / 286 MB, free: 44.74 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.5307, allocations: 30.47 kB / 286.1 MB, free: 44.71 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/0.5413, allocations: 8.452 MB / 294.5 MB, free: 36.7 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.877e-06/0.5413, allocations: 0.5469 kB / 294.5 MB, free: 36.7 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005269/0.5466, allocations: 2.967 MB / 297.5 MB, free: 34.04 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006094/0.5473, allocations: 296.8 kB / 297.8 MB, free: 33.76 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.5475, allocations: 24 kB / 297.8 MB, free: 33.74 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.5487, allocations: 81.45 kB / 297.9 MB, free: 33.68 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003758/0.5491, allocations: 77.58 kB / 297.9 MB, free: 33.64 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.5493, allocations: 39.66 kB / 298 MB, free: 33.6 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001214/0.5505, allocations: 441.7 kB / 298.4 MB, free: 33.21 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.59e-06/0.5506, allocations: 0 / 298.4 MB, free: 33.21 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.00267/0.5533, allocations: 338.8 kB / 298.7 MB, free: 32.88 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * 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,92.0%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00037/0.5537, allocations: 140.5 kB / 298.9 MB, free: 32.75 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.006384/0.5601, allocations: 2.063 MB / 300.9 MB, free: 30.84 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 7.902e-06/0.5601, allocations: 0 / 300.9 MB, free: 30.84 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003815/0.564, allocations: 1.414 MB / 302.4 MB, free: 29.53 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.5653, allocations: 179.7 kB / 302.5 MB, free: 29.39 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.5703, allocations: 2.68 MB / 305.2 MB, free: 27.01 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.5714, allocations: 1.441 MB / 306.7 MB, free: 25.72 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.5718, allocations: 63.42 kB / 306.7 MB, free: 25.66 MB / 218.7 MB Notification: Performance of SimCode: time 1.948e-06/0.5718, allocations: 0 / 306.7 MB, free: 25.66 MB / 218.7 MB Notification: Performance of Templates: time 0.04522/0.6171, allocations: 38.67 MB / 345.4 MB, free: 3.199 MB / 234.7 MB