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.22/1.22, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.726e-05, allocations: 4 kB / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05164/0.05169, allocations: 25.18 MB / 179.7 MB, free: 9.621 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCPM_Start): time 0.004137/0.05588, allocations: 2.495 MB / 182.2 MB, free: 7.117 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.05706, allocations: 0.5342 MB / 182.7 MB, free: 6.582 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.05726, allocations: 15.94 kB / 182.7 MB, free: 6.566 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.05738, allocations: 47.61 kB / 182.8 MB, free: 6.52 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.05776, allocations: 127.6 kB / 182.9 MB, free: 6.395 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.05795, allocations: 59.94 kB / 183 MB, free: 6.336 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.05837, allocations: 223.5 kB / 183.2 MB, free: 6.117 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.05863, allocations: 91.52 kB / 183.3 MB, free: 6.023 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.05888, allocations: 119.7 kB / 183.4 MB, free: 5.906 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.05914, allocations: 131.5 kB / 183.5 MB, free: 5.777 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.127e-05/0.05923, allocations: 12 kB / 183.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.05929, allocations: 16 kB / 183.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.05937, allocations: 55.75 kB / 183.6 MB, free: 5.695 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.0595, allocations: 36 kB / 183.6 MB, free: 5.66 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.06002, allocations: 379.2 kB / 184 MB, free: 5.289 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.06003, allocations: 0 / 184 MB, free: 5.289 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.06005, allocations: 4 kB / 184 MB, free: 5.285 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.06006, allocations: 0 / 184 MB, free: 5.285 MB / 154.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.001215/0.06129, allocations: 0.5852 MB / 184.6 MB, free: 4.652 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.06135, allocations: 8.031 kB / 184.6 MB, free: 4.645 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.06146, allocations: 39.53 kB / 184.6 MB, free: 4.605 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.06198, allocations: 296.3 kB / 184.9 MB, free: 4.273 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.06203, allocations: 28.94 kB / 185 MB, free: 4.246 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.103e-05/0.06213, allocations: 36 kB / 185 MB, free: 4.211 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/0.06312, allocations: 371.9 kB / 185.4 MB, free: 3.824 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.06316, allocations: 7.953 kB / 185.4 MB, free: 3.816 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.06322, allocations: 12 kB / 185.4 MB, free: 3.805 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.06324, allocations: 8 kB / 185.4 MB, free: 3.797 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008973/0.06415, allocations: 255.8 kB / 185.6 MB, free: 3.551 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.06662, allocations: 1.225 MB / 186.9 MB, free: 2.238 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.06721, allocations: 166.4 kB / 187 MB, free: 2.066 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.06725, allocations: 7.984 kB / 187 MB, free: 2.059 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.06729, allocations: 34.56 kB / 187.1 MB, free: 2.016 MB / 154.7 MB Notification: Performance of pre-optimization done (n=15): time 1.874e-06/0.0673, allocations: 0 / 187.1 MB, free: 2.016 MB / 154.7 MB Notification: Performance of matching and sorting (n=16): time 0.002238/0.06955, allocations: 0.7266 MB / 187.8 MB, free: 1.215 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.06963, allocations: 81.11 kB / 187.9 MB, free: 1.117 MB / 154.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.0004778/0.07011, allocations: 257.6 kB / 188.1 MB, free: 0.8633 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.07015, allocations: 25.7 kB / 188.1 MB, free: 0.832 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.07036, allocations: 262.3 kB / 188.4 MB, free: 0.5742 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.07044, allocations: 67.09 kB / 188.5 MB, free: 0.5078 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.07046, allocations: 0 / 188.5 MB, free: 0.5078 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.07062, allocations: 322.8 kB / 188.8 MB, free: 188 kB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.07091, allocations: 64.2 kB / 188.8 MB, free: 124 kB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.07132, allocations: 158.6 kB / 189 MB, free: 15.93 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.07169, allocations: 85.66 kB / 189.1 MB, free: 15.85 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.07171, allocations: 7.953 kB / 189.1 MB, free: 15.84 MB / 170.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008702/0.07259, allocations: 266 kB / 189.3 MB, free: 15.57 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.07263, allocations: 10.5 kB / 189.4 MB, free: 15.56 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.07265, allocations: 4 kB / 189.4 MB, free: 15.56 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.07283, allocations: 25.16 kB / 189.4 MB, free: 15.53 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.07322, allocations: 59.91 kB / 189.4 MB, free: 15.47 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.07452, allocations: 1.276 MB / 190.7 MB, free: 14.06 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.07486, allocations: 31.89 kB / 190.8 MB, free: 14.03 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.07489, allocations: 11.94 kB / 190.8 MB, free: 14.02 MB / 170.7 MB Warning: Assuming fixed start value for the following 3 variables: loadInertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real dcpm.la.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real dcpm.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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.0002963/0.0752, allocations: 158.3 kB / 190.9 MB, free: 13.86 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.07528, allocations: 27.72 kB / 190.9 MB, free: 13.83 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.34e-05/0.07535, allocations: 22.17 kB / 191 MB, free: 13.8 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.07537, allocations: 4 kB / 191 MB, free: 13.8 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.07539, allocations: 0 / 191 MB, free: 13.8 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.0754, allocations: 0 / 191 MB, free: 13.8 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.07682, allocations: 0.6336 MB / 191.6 MB, free: 13.1 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.07684, allocations: 0 / 191.6 MB, free: 13.1 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.07723, allocations: 47.97 kB / 191.7 MB, free: 13.05 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.07736, allocations: 24.84 kB / 191.7 MB, free: 13.03 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.07739, allocations: 7.984 kB / 191.7 MB, free: 13.02 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.07858, allocations: 1.277 MB / 193 MB, free: 11.61 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.0786, allocations: 0 / 193 MB, free: 11.61 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.07972, allocations: 437.4 kB / 193.4 MB, free: 11.15 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.07987, allocations: 108.8 kB / 193.5 MB, free: 11.02 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.07995, allocations: 4 kB / 193.5 MB, free: 11.02 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.08025, allocations: 15.98 kB / 193.5 MB, free: 11 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.08034, allocations: 23.97 kB / 193.5 MB, free: 10.98 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.08036, allocations: 4 kB / 193.5 MB, free: 10.98 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002579/0.08063, allocations: 182 kB / 193.7 MB, free: 10.8 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.08064, allocations: 0 / 193.7 MB, free: 10.8 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004878/0.08114, allocations: 64 kB / 193.8 MB, free: 10.73 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * 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.000146/0.0813, allocations: 103.1 kB / 193.9 MB, free: 10.62 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0009186/0.08223, allocations: 299 kB / 194.2 MB, free: 10.32 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.08226, allocations: 8.062 kB / 194.2 MB, free: 10.31 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004809/0.08275, allocations: 198.7 kB / 194.4 MB, free: 10.1 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.0832, allocations: 36.48 kB / 194.4 MB, free: 10.07 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.08498, allocations: 0.9371 MB / 195.3 MB, free: 9.09 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.08543, allocations: 0.7833 MB / 196.1 MB, free: 8.281 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.08553, allocations: 19.44 kB / 196.2 MB, free: 8.262 MB / 170.7 MB Notification: Performance of SimCode: time 6.21e-07/0.08554, allocations: 4 kB / 196.2 MB, free: 8.258 MB / 170.7 MB Notification: Performance of Templates: time 0.009275/0.09483, allocations: 4.395 MB / 200.5 MB, free: 3.859 MB / 170.7 MB