Running command: translateModel(Modelica.Electrical.Machines.Examples.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.111/1.111, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.115e-05, allocations: 4 kB / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1433, allocations: 25.16 MB / 176.5 MB, free: 20 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06757/0.2109, allocations: 44.14 MB / 220.7 MB, free: 5.293 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.2112, allocations: 63.97 kB / 220.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0885/0.2997, allocations: 22.96 MB / 243.7 MB, free: 14.14 MB / 218.7 MB Notification: Performance of FrontEnd: time 8.911e-06/0.2998, allocations: 3.984 kB / 243.7 MB, free: 14.13 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001104/0.2999, allocations: 28 kB / 243.7 MB, free: 14.11 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003799/0.3037, allocations: 1.381 MB / 245.1 MB, free: 12.68 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3038, allocations: 8.031 kB / 245.1 MB, free: 12.67 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/0.3043, allocations: 150.2 kB / 245.3 MB, free: 12.52 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.3063, allocations: 0.7984 MB / 246.1 MB, free: 11.68 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.3064, allocations: 86.42 kB / 246.2 MB, free: 11.59 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/0.3068, allocations: 120 kB / 246.3 MB, free: 11.48 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/0.3106, allocations: 1.581 MB / 247.9 MB, free: 9.824 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.099e-05/0.3107, allocations: 7.906 kB / 247.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.3109, allocations: 48 kB / 247.9 MB, free: 9.77 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-05/0.311, allocations: 66.34 kB / 248 MB, free: 9.703 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003275/0.3143, allocations: 1.278 MB / 249.3 MB, free: 8.422 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.326, allocations: 4.81 MB / 254.1 MB, free: 3.504 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/0.329, allocations: 1.524 MB / 255.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.3308, allocations: 0.7298 MB / 256.3 MB, free: 1.152 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.402e-05/0.3309, allocations: 8.781 kB / 256.3 MB, free: 1.141 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.331, allocations: 51.33 kB / 256.4 MB, free: 1.082 MB / 218.7 MB Notification: Performance of pre-optimization done (n=95): time 4.377e-06/0.331, allocations: 0 / 256.4 MB, free: 1.082 MB / 218.7 MB Notification: Performance of matching and sorting (n=116): time 0.1403/0.4713, allocations: 5.606 MB / 262 MB, free: 55.68 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.4714, allocations: 64.06 kB / 262 MB, free: 55.62 MB / 218.7 MB [/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.00107/0.4725, allocations: 0.6029 MB / 262.6 MB, free: 55.49 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.4727, allocations: 46.17 kB / 262.7 MB, free: 55.46 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.4729, allocations: 0.5135 MB / 263.2 MB, free: 55.2 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/0.4733, allocations: 400 kB / 263.6 MB, free: 54.96 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.4734, allocations: 21.25 kB / 263.6 MB, free: 54.96 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4735, allocations: 356.9 kB / 264 MB, free: 54.65 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.4747, allocations: 0.5782 MB / 264.5 MB, free: 54.65 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.4759, allocations: 0.6916 MB / 265.2 MB, free: 54.57 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.4772, allocations: 0.703 MB / 265.9 MB, free: 54.55 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-06/0.4773, allocations: 7.891 kB / 265.9 MB, free: 54.55 MB / 218.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004605/0.4819, allocations: 2.118 MB / 268.1 MB, free: 54.41 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.4819, allocations: 7.344 kB / 268.1 MB, free: 54.41 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4819, allocations: 3.75 kB / 268.1 MB, free: 54.41 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.4844, allocations: 0.7419 MB / 268.8 MB, free: 54.31 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.4855, allocations: 194.7 kB / 269 MB, free: 54.3 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.4985, allocations: 10.11 MB / 279.1 MB, free: 47.04 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009828/0.4995, allocations: 69.91 kB / 279.2 MB, free: 47.02 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.4997, allocations: 37.66 kB / 279.2 MB, free: 47.01 MB / 218.7 MB Warning: Assuming fixed start value for the following 9 variables: cStart.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real cRun.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.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.i_0_s:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator zero-sequence current" type: Real aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" ) "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: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 90 * 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: 4 * 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: 4 {(4,87.5%) 23,(3,100.0%) 9,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000365/0.5001, allocations: 178 kB / 279.4 MB, free: 46.87 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.5003, allocations: 95.44 kB / 279.5 MB, free: 46.82 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/0.505, allocations: 2.149 MB / 281.6 MB, free: 46 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.5051, allocations: 19.98 kB / 281.7 MB, free: 45.99 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.5051, allocations: 6.625 kB / 281.7 MB, free: 45.99 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.5051, allocations: 6.188 kB / 281.7 MB, free: 45.99 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008384/0.5135, allocations: 3.926 MB / 285.6 MB, free: 44.39 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.5136, allocations: 0 / 285.6 MB, free: 44.39 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.5146, allocations: 156.3 kB / 285.7 MB, free: 44.38 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002793/0.5174, allocations: 0.7741 MB / 286.5 MB, free: 43.9 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/0.5176, allocations: 31.89 kB / 286.6 MB, free: 43.87 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/0.5295, allocations: 9.941 MB / 296.5 MB, free: 34.25 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5296, allocations: 7.562 kB / 296.5 MB, free: 34.25 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005621/0.5352, allocations: 3.068 MB / 299.6 MB, free: 31.48 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007123/0.5359, allocations: 315.5 kB / 299.9 MB, free: 31.19 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.5362, allocations: 24 kB / 299.9 MB, free: 31.16 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.5369, allocations: 68.02 kB / 300 MB, free: 31.12 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.5373, allocations: 100.3 kB / 300.1 MB, free: 31.05 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.5374, allocations: 35.84 kB / 300.1 MB, free: 31.02 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0006634/0.5381, allocations: 464.4 kB / 300.6 MB, free: 30.61 MB / 218.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.5381, allocations: 0 / 300.6 MB, free: 30.61 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001436/0.5395, allocations: 358 kB / 300.9 MB, free: 30.26 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * 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: 4 * 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: 4 {(4,87.5%) 23,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002504/0.5398, allocations: 151 kB / 301.1 MB, free: 30.12 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003926/0.5437, allocations: 2.251 MB / 303.3 MB, free: 28.02 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5438, allocations: 224 / 303.3 MB, free: 28.02 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002717/0.5465, allocations: 1.593 MB / 304.9 MB, free: 26.51 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.548, allocations: 226.6 kB / 305.1 MB, free: 26.34 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.5534, allocations: 2.72 MB / 307.8 MB, free: 23.93 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.5545, allocations: 1.371 MB / 309.2 MB, free: 22.75 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.5549, allocations: 66.53 kB / 309.3 MB, free: 22.7 MB / 218.7 MB Notification: Performance of SimCode: time 1.738e-06/0.5549, allocations: 0 / 309.3 MB, free: 22.7 MB / 218.7 MB Notification: Performance of Templates: time 0.1799/0.7348, allocations: 42.24 MB / 351.5 MB, free: 65.01 MB / 234.7 MB