Running command: translateModel(Modelica.Electrical.Machines.Examples.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.DCPM_Start") Notification: Performance of loadModel(Modelica): time 1.116/1.116, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.746e-05, allocations: 4 kB / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2402, allocations: 25.16 MB / 176.5 MB, free: 40 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08201/0.3222, allocations: 38.43 MB / 215 MB, free: 11.05 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.3225, allocations: 59.97 kB / 215 MB, free: 11 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02488/0.3474, allocations: 6.33 MB / 221.4 MB, free: 4.637 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.217e-06/0.3474, allocations: 0 / 221.4 MB, free: 4.637 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.857e-05/0.3475, allocations: 8 kB / 221.4 MB, free: 4.629 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001089/0.3486, allocations: 0.5762 MB / 221.9 MB, free: 4.008 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3486, allocations: 12.03 kB / 222 MB, free: 3.996 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.3488, allocations: 39.53 kB / 222 MB, free: 3.957 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.3492, allocations: 275.5 kB / 222.3 MB, free: 3.648 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.3493, allocations: 24.78 kB / 222.3 MB, free: 3.625 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.3494, allocations: 35.91 kB / 222.3 MB, free: 3.59 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/0.3502, allocations: 329.4 kB / 222.6 MB, free: 3.254 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.3502, allocations: 0 / 222.6 MB, free: 3.254 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.3503, allocations: 16 kB / 222.7 MB, free: 3.238 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.3503, allocations: 15.94 kB / 222.7 MB, free: 3.223 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.3508, allocations: 205.5 kB / 222.9 MB, free: 3.023 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.3533, allocations: 1.207 MB / 224.1 MB, free: 1.73 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.3537, allocations: 130.6 kB / 224.2 MB, free: 1.594 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.3539, allocations: 72.81 kB / 224.3 MB, free: 1.52 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.354, allocations: 4 kB / 224.3 MB, free: 1.516 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.354, allocations: 34.52 kB / 224.3 MB, free: 1.473 MB / 186.7 MB Notification: Performance of pre-optimization done (n=15): time 2.875e-06/0.354, allocations: 0 / 224.3 MB, free: 1.473 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.001158/0.3552, allocations: 0.4964 MB / 224.8 MB, free: 0.9219 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.3553, allocations: 81.11 kB / 224.9 MB, free: 0.8242 MB / 186.7 MB [/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:7500:7-7502:73:writable] Warning: Parameter dcpm.La has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0015) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7497:7-7499:73:writable] Warning: Parameter dcpm.Ra has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7494:7-7496:56:writable] Warning: Parameter dcpm.wNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=149.2256510455151) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7491:7-7493:56:writable] Warning: Parameter dcpm.IaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7488:7-7490:56:writable] Warning: Parameter dcpm.VaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) 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 dcpm.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcpm.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 dcpm.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.3557, allocations: 251.8 kB / 225.1 MB, free: 0.5742 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.3558, allocations: 25.7 kB / 225.2 MB, free: 0.543 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.356, allocations: 277.9 kB / 225.4 MB, free: 276 kB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.3561, allocations: 55.2 kB / 225.5 MB, free: 220 kB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.3561, allocations: 7.938 kB / 225.5 MB, free: 212 kB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3563, allocations: 322.8 kB / 225.8 MB, free: 15.88 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3565, allocations: 44 kB / 225.9 MB, free: 15.84 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.3567, allocations: 125.5 kB / 226 MB, free: 15.68 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.3569, allocations: 74.89 kB / 226.1 MB, free: 15.61 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.943e-06/0.3569, allocations: 0 / 226.1 MB, free: 15.61 MB / 202.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005611/0.3575, allocations: 226.4 kB / 226.3 MB, free: 15.38 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.3575, allocations: 8.781 kB / 226.3 MB, free: 15.38 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3575, allocations: 4 kB / 226.3 MB, free: 15.37 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.3577, allocations: 20.84 kB / 226.3 MB, free: 15.35 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.358, allocations: 59.91 kB / 226.4 MB, free: 15.29 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.3594, allocations: 1.273 MB / 227.6 MB, free: 13.88 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.3597, allocations: 28.14 kB / 227.7 MB, free: 13.86 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.3597, allocations: 8 kB / 227.7 MB, free: 13.85 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: dcpm.inertiaRotor.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real dcpm.la.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real dcpm.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: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001861/0.3599, allocations: 121.3 kB / 227.8 MB, free: 13.72 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.36, allocations: 23.72 kB / 227.8 MB, free: 13.7 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.746e-05/0.3601, allocations: 25.95 kB / 227.8 MB, free: 13.67 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.327e-06/0.3601, allocations: 4 kB / 227.8 MB, free: 13.67 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.363e-06/0.3601, allocations: 4 kB / 227.8 MB, free: 13.66 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3602, allocations: 0 / 227.8 MB, free: 13.66 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.3613, allocations: 0.5906 MB / 228.4 MB, free: 13.01 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.652e-06/0.3613, allocations: 0 / 228.4 MB, free: 13.01 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.3616, allocations: 43.91 kB / 228.5 MB, free: 12.96 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.3617, allocations: 24.91 kB / 228.5 MB, free: 12.94 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.3618, allocations: 4 kB / 228.5 MB, free: 12.93 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.363, allocations: 1.268 MB / 229.8 MB, free: 11.54 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.756e-06/0.3631, allocations: 3.953 kB / 229.8 MB, free: 11.53 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.3637, allocations: 357.2 kB / 230.1 MB, free: 11.14 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.3639, allocations: 108.9 kB / 230.2 MB, free: 11.02 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.3639, allocations: 8 kB / 230.2 MB, free: 11.01 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.3643, allocations: 23.97 kB / 230.3 MB, free: 10.99 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3643, allocations: 11.98 kB / 230.3 MB, free: 10.98 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3644, allocations: 4 kB / 230.3 MB, free: 10.97 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002837/0.3647, allocations: 195.1 kB / 230.5 MB, free: 10.78 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.3647, allocations: 0 / 230.5 MB, free: 10.78 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005107/0.3652, allocations: 64 kB / 230.5 MB, free: 10.71 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001669/0.3654, allocations: 111.2 kB / 230.6 MB, free: 10.59 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0005823/0.366, allocations: 242.7 kB / 230.9 MB, free: 10.35 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 5.842e-06/0.366, allocations: 8.062 kB / 230.9 MB, free: 10.34 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.3663, allocations: 177.8 kB / 231.1 MB, free: 10.16 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.3667, allocations: 44.44 kB / 231.1 MB, free: 10.11 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.3679, allocations: 0.5409 MB / 231.6 MB, free: 9.543 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.3685, allocations: 0.7872 MB / 232.4 MB, free: 8.73 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.3686, allocations: 23.44 kB / 232.5 MB, free: 8.707 MB / 202.7 MB Notification: Performance of SimCode: time 1.6e-06/0.3686, allocations: 0 / 232.5 MB, free: 8.707 MB / 202.7 MB Notification: Performance of Templates: time 0.008316/0.3769, allocations: 4.456 MB / 236.9 MB, free: 4.25 MB / 202.7 MB