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.171/1.171, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.883e-05, allocations: 0 / 154.5 MB, free: 2.848 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07058/0.07064, allocations: 25.18 MB / 179.7 MB, free: 9.625 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AIMC_Steinmetz): time 0.009749/0.08045, allocations: 4.218 MB / 183.9 MB, free: 5.391 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.004266/0.08479, allocations: 1.025 MB / 184.9 MB, free: 4.363 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.08605, allocations: 35.88 kB / 185 MB, free: 4.328 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.08711, allocations: 163 kB / 185.1 MB, free: 4.168 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.08906, allocations: 287 kB / 185.4 MB, free: 3.887 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.09014, allocations: 147.8 kB / 185.5 MB, free: 3.742 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.002555/0.09275, allocations: 0.6981 MB / 186.2 MB, free: 3.043 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.09471, allocations: 0.5806 MB / 186.8 MB, free: 2.457 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.09598, allocations: 391 kB / 187.2 MB, free: 2.074 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.09763, allocations: 0.514 MB / 187.7 MB, free: 1.559 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005603/0.09825, allocations: 52 kB / 187.8 MB, free: 1.508 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003325/0.0986, allocations: 52 kB / 187.8 MB, free: 1.457 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008054/0.09942, allocations: 347 kB / 188.2 MB, free: 1.117 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006213/0.1001, allocations: 116 kB / 188.3 MB, free: 1.004 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003552/0.1037, allocations: 1.781 MB / 190.1 MB, free: 15.22 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1037, allocations: 0 / 190.1 MB, free: 15.22 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.1037, allocations: 0 / 190.1 MB, free: 15.22 MB / 170.7 MB Notification: Performance of Transformations before backend: time 8.226e-05/0.1038, allocations: 0 / 190.1 MB, free: 15.22 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005453/0.1093, allocations: 1.401 MB / 191.5 MB, free: 13.77 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.1094, allocations: 12.03 kB / 191.5 MB, free: 13.75 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007798/0.1102, allocations: 142.2 kB / 191.6 MB, free: 13.61 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.1132, allocations: 0.8087 MB / 192.4 MB, free: 12.76 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.1135, allocations: 90.42 kB / 192.5 MB, free: 12.67 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006166/0.1141, allocations: 131.9 kB / 192.6 MB, free: 12.54 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006283/0.1204, allocations: 1.595 MB / 194.2 MB, free: 10.89 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.255e-05/0.1206, allocations: 4 kB / 194.2 MB, free: 10.89 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.1208, allocations: 51.98 kB / 194.3 MB, free: 10.84 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/0.121, allocations: 62.41 kB / 194.3 MB, free: 10.77 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005862/0.1269, allocations: 1.309 MB / 195.7 MB, free: 9.457 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01816/0.1451, allocations: 4.835 MB / 200.5 MB, free: 4.488 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004517/0.1497, allocations: 1.339 MB / 201.8 MB, free: 3.051 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.1499, allocations: 8.656 kB / 201.8 MB, free: 3.043 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.1499, allocations: 43.22 kB / 201.9 MB, free: 2.992 MB / 170.7 MB Notification: Performance of pre-optimization done (n=79): time 7.885e-06/0.15, allocations: 4 kB / 201.9 MB, free: 2.988 MB / 170.7 MB Notification: Performance of matching and sorting (n=97): time 0.1677/0.3177, allocations: 6.122 MB / 208 MB, free: 22.41 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.3178, allocations: 63.72 kB / 208.1 MB, free: 22.34 MB / 170.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.00135/0.3192, allocations: 0.5751 MB / 208.6 MB, free: 22.09 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002004/0.3194, allocations: 41.83 kB / 208.7 MB, free: 22.04 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/0.3198, allocations: 0.5556 MB / 209.2 MB, free: 21.58 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004336/0.3203, allocations: 338.5 kB / 209.6 MB, free: 21.32 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.3204, allocations: 16.12 kB / 209.6 MB, free: 21.31 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3205, allocations: 360.4 kB / 209.9 MB, free: 20.98 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.322, allocations: 0.5286 MB / 210.5 MB, free: 20.79 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.3237, allocations: 0.6941 MB / 211.2 MB, free: 20.41 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.3254, allocations: 0.6504 MB / 211.8 MB, free: 20.13 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.3254, allocations: 1.688 kB / 211.8 MB, free: 20.13 MB / 170.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005858/0.3313, allocations: 1.986 MB / 213.8 MB, free: 19.38 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.3314, allocations: 8.875 kB / 213.8 MB, free: 19.38 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.3314, allocations: 8.547 kB / 213.8 MB, free: 19.37 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003073/0.3345, allocations: 0.6953 MB / 214.5 MB, free: 19.17 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.3358, allocations: 177.1 kB / 214.7 MB, free: 19.16 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/0.3508, allocations: 9.831 MB / 224.5 MB, free: 11.21 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3519, allocations: 66.66 kB / 224.6 MB, free: 11.18 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.3521, allocations: 34.62 kB / 224.6 MB, free: 11.17 MB / 170.7 MB Warning: Assuming fixed start value for the following 9 variables: cStart.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real cRun.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real quadraticLoadTorque.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" 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.i_0_s:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "stator zero-sequence current" type: Real 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: 20 * 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 (90): * Single equations (assignments): 85 * 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%) 19,(2,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001118/0.3532, allocations: 486.3 kB / 225.1 MB, free: 10.8 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.3535, allocations: 86.92 kB / 225.2 MB, free: 10.71 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005182/0.3586, allocations: 1.955 MB / 227.1 MB, free: 8.734 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.3587, allocations: 15.28 kB / 227.1 MB, free: 8.723 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.3587, allocations: 4 kB / 227.1 MB, free: 8.719 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/0.3588, allocations: 3.984 kB / 227.2 MB, free: 8.715 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009177/0.368, allocations: 3.613 MB / 230.8 MB, free: 5.039 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.368, allocations: 0 / 230.8 MB, free: 5.039 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.3691, allocations: 127.9 kB / 230.9 MB, free: 4.914 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00314/0.3723, allocations: 0.7218 MB / 231.6 MB, free: 4.176 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/0.3725, allocations: 27.98 kB / 231.6 MB, free: 4.148 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/0.3887, allocations: 9.665 MB / 241.3 MB, free: 9.957 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/0.3888, allocations: 4.875 kB / 241.3 MB, free: 9.953 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007817/0.3966, allocations: 2.808 MB / 244.1 MB, free: 7.086 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008287/0.3975, allocations: 268 kB / 244.4 MB, free: 6.805 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.3978, allocations: 23.98 kB / 244.4 MB, free: 6.781 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008963/0.3987, allocations: 47.95 kB / 244.4 MB, free: 6.734 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/0.3991, allocations: 76.88 kB / 244.5 MB, free: 6.656 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.516e-05/0.3992, allocations: 24 kB / 244.5 MB, free: 6.633 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0008701/0.4, allocations: 451.4 kB / 245 MB, free: 6.199 MB / 186.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.4001, allocations: 0 / 245 MB, free: 6.199 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001821/0.4019, allocations: 324 kB / 245.3 MB, free: 5.883 MB / 186.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 (63): * Single equations (assignments): 58 * 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%) 19,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003089/0.4022, allocations: 125.4 kB / 245.4 MB, free: 5.754 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.006616/0.4089, allocations: 2.16 MB / 247.6 MB, free: 3.523 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.4089, allocations: 0 / 247.6 MB, free: 3.523 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004424/0.4134, allocations: 1.521 MB / 249.1 MB, free: 1.934 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.4155, allocations: 195.5 kB / 249.3 MB, free: 1.742 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00854/0.4241, allocations: 3.679 MB / 253 MB, free: 14.01 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.4258, allocations: 1.353 MB / 254.3 MB, free: 12.63 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.4263, allocations: 59.44 kB / 254.4 MB, free: 12.57 MB / 202.7 MB Notification: Performance of SimCode: time 1.994e-06/0.4263, allocations: 3.938 kB / 254.4 MB, free: 12.57 MB / 202.7 MB Notification: Performance of Templates: time 0.09366/0.52, allocations: 41.12 MB / 295.5 MB, free: 3.402 MB / 234.7 MB