Running command: translateModel(Modelica.Electrical.Machines.Examples.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.AIMC_DOL") 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 2.513e-05/2.526e-05, allocations: 4 kB / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1862, allocations: 25.16 MB / 176.5 MB, free: 15.99 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06898/0.2552, allocations: 45.56 MB / 222.1 MB, free: 3.863 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.2554, allocations: 67.95 kB / 222.2 MB, free: 3.797 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1104/0.3658, allocations: 28.47 MB / 250.6 MB, free: 7.137 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.33e-06/0.3659, allocations: 3.938 kB / 250.6 MB, free: 7.133 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.000132/0.366, allocations: 43.94 kB / 250.7 MB, free: 7.09 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: 390 * Number of variables: 390 Notification: Performance of Generate backend data structure: time 0.004681/0.3707, allocations: 1.733 MB / 252.4 MB, free: 5.305 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.3708, allocations: 8.031 kB / 252.4 MB, free: 5.297 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007062/0.3715, allocations: 193.7 kB / 252.6 MB, free: 5.105 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.3745, allocations: 1.118 MB / 253.7 MB, free: 3.941 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.3747, allocations: 111 kB / 253.8 MB, free: 3.832 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004099/0.3751, allocations: 159.8 kB / 254 MB, free: 3.676 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005088/0.3802, allocations: 2.065 MB / 256.1 MB, free: 1.531 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.08e-05/0.3803, allocations: 7.938 kB / 256.1 MB, free: 1.523 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/0.3805, allocations: 64 kB / 256.1 MB, free: 1.461 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.3807, allocations: 67.03 kB / 256.2 MB, free: 1.395 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1344/0.515, allocations: 1.731 MB / 257.9 MB, free: 52.09 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.5277, allocations: 5.974 MB / 263.9 MB, free: 51.13 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.5304, allocations: 1.959 MB / 265.9 MB, free: 50.25 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.532, allocations: 0.8457 MB / 266.7 MB, free: 50.25 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.932e-05/0.5321, allocations: 16.95 kB / 266.7 MB, free: 50.24 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.5322, allocations: 43.72 kB / 266.8 MB, free: 50.2 MB / 218.7 MB Notification: Performance of pre-optimization done (n=94): time 4.845e-06/0.5322, allocations: 0 / 266.8 MB, free: 50.2 MB / 218.7 MB Notification: Performance of matching and sorting (n=114): time 0.01687/0.5491, allocations: 5.897 MB / 272.7 MB, free: 49.09 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.5491, allocations: 70.7 kB / 272.7 MB, free: 49.03 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) 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.001656/0.5508, allocations: 0.8646 MB / 273.6 MB, free: 48.7 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.551, allocations: 44.83 kB / 273.6 MB, free: 48.65 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.5514, allocations: 0.6567 MB / 274.3 MB, free: 48.15 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.5517, allocations: 386.9 kB / 274.7 MB, free: 47.85 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.5518, allocations: 15.97 kB / 274.7 MB, free: 47.84 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.5519, allocations: 358.7 kB / 275 MB, free: 47.51 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.5531, allocations: 0.6605 MB / 275.7 MB, free: 47.27 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.5543, allocations: 0.7492 MB / 276.5 MB, free: 46.96 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.5557, allocations: 0.7744 MB / 277.2 MB, free: 46.68 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.127e-06/0.5557, allocations: 0 / 277.2 MB, free: 46.68 MB / 218.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004586/0.5603, allocations: 2.154 MB / 279.4 MB, free: 45.92 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.5603, allocations: 7.875 kB / 279.4 MB, free: 45.92 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5604, allocations: 0 / 279.4 MB, free: 45.92 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/0.5626, allocations: 0.6647 MB / 280.1 MB, free: 45.73 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.5638, allocations: 214.2 kB / 280.3 MB, free: 45.73 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.5743, allocations: 8.154 MB / 288.4 MB, free: 40.09 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.5754, allocations: 77.08 kB / 288.5 MB, free: 40.08 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.5755, allocations: 33.02 kB / 288.5 MB, free: 40.07 MB / 218.7 MB Warning: Assuming fixed start value for the following 7 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real 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.i_0_s:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator zero-sequence current" 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 94 * 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 {(4,87.5%) 23,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003576/0.5759, allocations: 189.5 kB / 288.7 MB, free: 39.93 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.5761, allocations: 110.9 kB / 288.8 MB, free: 39.88 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004827/0.581, allocations: 2.239 MB / 291.1 MB, free: 38.8 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.581, allocations: 15.95 kB / 291.1 MB, free: 38.78 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.5811, allocations: 8 kB / 291.1 MB, free: 38.77 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.5811, allocations: 7.312 kB / 291.1 MB, free: 38.77 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009586/0.5907, allocations: 4.295 MB / 295.4 MB, free: 35.26 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.439e-06/0.5907, allocations: 0 / 295.4 MB, free: 35.26 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.592, allocations: 180.4 kB / 295.6 MB, free: 35.12 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002668/0.5947, allocations: 0.6961 MB / 296.3 MB, free: 34.57 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/0.5949, allocations: 30.33 kB / 296.3 MB, free: 34.55 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.605, allocations: 7.986 MB / 304.3 MB, free: 26.89 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.719e-06/0.605, allocations: 8 kB / 304.3 MB, free: 26.88 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00595/0.611, allocations: 3.298 MB / 307.6 MB, free: 23.96 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009041/0.6119, allocations: 350 kB / 307.9 MB, free: 23.62 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/0.6122, allocations: 27.98 kB / 307.9 MB, free: 23.59 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009606/0.6132, allocations: 79.86 kB / 308 MB, free: 23.52 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003015/0.6135, allocations: 103.9 kB / 308.1 MB, free: 23.42 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6137, allocations: 31.98 kB / 308.2 MB, free: 23.39 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001069/0.6147, allocations: 0.6514 MB / 308.8 MB, free: 22.74 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.101e-06/0.6148, allocations: 3.062 kB / 308.8 MB, free: 22.74 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001626/0.6164, allocations: 382.9 kB / 309.2 MB, free: 22.37 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 82 * 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 {(4,87.5%) 23,(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.0002724/0.6167, allocations: 141.5 kB / 309.3 MB, free: 22.23 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.004069/0.6208, allocations: 2.242 MB / 311.6 MB, free: 19.93 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 5.92e-06/0.6208, allocations: 0 / 311.6 MB, free: 19.93 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002771/0.6236, allocations: 1.517 MB / 313.1 MB, free: 18.37 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.6254, allocations: 271.3 kB / 313.3 MB, free: 18.12 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006128/0.6315, allocations: 3.176 MB / 316.5 MB, free: 14.95 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.6329, allocations: 1.635 MB / 318.2 MB, free: 13.28 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.6334, allocations: 71.42 kB / 318.2 MB, free: 13.21 MB / 218.7 MB Notification: Performance of SimCode: time 1.853e-06/0.6335, allocations: 0 / 318.2 MB, free: 13.21 MB / 218.7 MB Notification: Performance of Templates: time 0.1894/0.8229, allocations: 48.87 MB / 367.1 MB, free: 58.53 MB / 234.7 MB