Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.479e-05, allocations: 7.844 kB / 258.8 MB, free: 8.711 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3066, allocations: 44.51 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1549/0.4616, allocations: 90.23 MB / 393.5 MB, free: 3.266 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.07378/0.5355, allocations: 19.54 MB / 413.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02504/0.5606, allocations: 0.491 MB / 413.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01734/0.578, allocations: 4.783 MB / 418.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3612/0.9393, allocations: 12.8 MB / 431.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008956/0.9483, allocations: 1.633 MB / 432.8 MB, free: 3.156 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.132/1.08, allocations: 48.5 MB / 481.3 MB, free: 1.812 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02444/1.105, allocations: 11.8 MB / 493.1 MB, free: 9.328 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005921/1.111, allocations: 2.137 MB / 495.2 MB, free: 7.918 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00759/1.118, allocations: 3.294 MB / 498.5 MB, free: 5.43 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005269/1.124, allocations: 1.267 MB / 499.8 MB, free: 4.387 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002775/1.127, allocations: 276 kB / 0.4883 GB, free: 4.117 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006841/1.133, allocations: 3.777 MB / 0.492 GB, free: 1.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003954/1.137, allocations: 0.6367 MB / 0.4926 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02222/1.16, allocations: 14.37 MB / 0.5067 GB, free: 4.125 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.16, allocations: 6.719 kB / 0.5067 GB, free: 4.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.995e-06/1.16, allocations: 0 / 0.5067 GB, free: 4.121 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005594/1.16, allocations: 0 / 0.5067 GB, free: 4.121 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2751 * Number of variables: 2751 Notification: Performance of Generate backend data structure: time 0.03199/1.192, allocations: 8.909 MB / 0.5154 GB, free: 11.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/1.192, allocations: 12.03 kB / 0.5154 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6868/1.879, allocations: 42.01 MB / 0.5564 GB, free: 3.699 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03591/1.915, allocations: 10.21 MB / 0.5664 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007499/1.916, allocations: 0.5229 MB / 0.5669 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003967/1.92, allocations: 0.7284 MB / 0.5676 GB, free: 11.72 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5966/2.517, allocations: 19.43 MB / 0.5866 GB, free: 198.9 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000872/2.518, allocations: 94.69 kB / 0.5867 GB, free: 198.9 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003734/2.521, allocations: 323.5 kB / 0.587 GB, free: 198.9 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007167/2.529, allocations: 2.761 MB / 0.5897 GB, free: 198.8 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05359/2.582, allocations: 15.81 MB / 0.6051 GB, free: 192.2 MB / 474.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1325/2.715, allocations: 73 MB / 0.6764 GB, free: 119.7 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03726/2.752, allocations: 8.081 MB / 0.6843 GB, free: 111.5 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03392/2.786, allocations: 14.38 MB / 0.6983 GB, free: 96.66 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.498e-05/2.786, allocations: 68.5 kB / 0.6984 GB, free: 96.58 MB / 474.8 MB Notification: Performance of pre-optimization done (n=308): time 6.903e-06/2.786, allocations: 0 / 0.6984 GB, free: 96.58 MB / 474.8 MB Notification: Performance of matching and sorting (n=408): time 0.3179/3.104, allocations: 48.3 MB / 0.7456 GB, free: 48.28 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/3.104, allocations: 414.6 kB / 0.7459 GB, free: 47.79 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01727/3.122, allocations: 7.522 MB / 0.7533 GB, free: 40.27 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001105/3.123, allocations: 92.44 kB / 0.7534 GB, free: 40.18 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00504/3.128, allocations: 5.444 MB / 0.7587 GB, free: 34.73 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002437/3.13, allocations: 1.48 MB / 0.7601 GB, free: 33.26 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/3.132, allocations: 184 kB / 0.7603 GB, free: 33.08 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006447/3.132, allocations: 0.6915 MB / 0.761 GB, free: 32.38 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01541/3.148, allocations: 4.313 MB / 0.7652 GB, free: 28.06 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01367/3.162, allocations: 9.257 MB / 0.7742 GB, free: 16.37 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01386/3.175, allocations: 6.214 MB / 0.7803 GB, free: 10.14 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/3.176, allocations: 55.94 kB / 0.7804 GB, free: 10.09 MB / 474.8 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.3531/3.529, allocations: 17.24 MB / 0.7972 GB, free: 175.1 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/3.529, allocations: 81.58 kB / 0.7973 GB, free: 175.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002915/3.529, allocations: 171.7 kB / 0.7974 GB, free: 175.1 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02821/3.558, allocations: 5.027 MB / 0.8024 GB, free: 174.8 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01202/3.57, allocations: 1.944 MB / 0.8043 GB, free: 174.7 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07391/3.644, allocations: 27.88 MB / 0.8315 GB, free: 162.4 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/3.656, allocations: 0.5537 MB / 0.832 GB, free: 162.2 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002112/3.658, allocations: 0.5075 MB / 0.8325 GB, free: 162.1 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * Number of states: 0 () * Number of discrete variables: 70 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1048): * Single equations (assignments): 1043 * Array equations: 4 * 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 {(3,100.0%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01051/3.668, allocations: 4.028 MB / 0.8364 GB, free: 158.4 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002365/3.671, allocations: 0.7213 MB / 0.8371 GB, free: 158.1 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04365/3.714, allocations: 11.42 MB / 0.8483 GB, free: 146.7 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.365e-05/3.715, allocations: 44 kB / 0.8483 GB, free: 146.6 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.594e-05/3.715, allocations: 20 kB / 0.8484 GB, free: 146.6 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.299e-05/3.715, allocations: 15.94 kB / 0.8484 GB, free: 146.6 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08162/3.796, allocations: 24.71 MB / 0.8725 GB, free: 121.9 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.483e-05/3.796, allocations: 13.86 kB / 0.8725 GB, free: 121.9 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005422/3.802, allocations: 0.5226 MB / 0.873 GB, free: 121.4 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03559/3.838, allocations: 4.451 MB / 0.8774 GB, free: 117 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001171/3.839, allocations: 76 kB / 0.8775 GB, free: 116.9 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07499/3.914, allocations: 24.51 MB / 0.9014 GB, free: 92.46 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/3.914, allocations: 11.94 kB / 0.9014 GB, free: 92.45 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05272/3.967, allocations: 18.28 MB / 0.9193 GB, free: 74.15 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005439/3.972, allocations: 1.455 MB / 0.9207 GB, free: 72.67 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003105/3.975, allocations: 76 kB / 0.9207 GB, free: 72.6 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007594/3.983, allocations: 262.3 kB / 0.921 GB, free: 72.34 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001806/3.985, allocations: 290.3 kB / 0.9213 GB, free: 72.06 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009135/3.986, allocations: 108 kB / 0.9214 GB, free: 71.96 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01339/3.999, allocations: 5.495 MB / 0.9267 GB, free: 66.47 MB / 474.8 MB Notification: Performance of sort global known variables: time 5.01e-07/3.999, allocations: 2.734 kB / 0.9267 GB, free: 66.47 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01277/4.012, allocations: 2.231 MB / 0.9289 GB, free: 64.26 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 2 (Inertia.phi,Inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 280 * Array equations: 3 * 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 {(3,77.8%) 108} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001756/4.014, allocations: 270.9 kB / 0.9292 GB, free: 64.01 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02587/4.04, allocations: 10.84 MB / 0.9398 GB, free: 53.22 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.845e-05/4.04, allocations: 4 kB / 0.9398 GB, free: 53.21 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01172/4.051, allocations: 4.564 MB / 0.9442 GB, free: 48.64 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009262/4.061, allocations: 1.053 MB / 0.9453 GB, free: 47.61 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4136/4.474, allocations: 25.87 MB / 0.9705 GB, free: 170.6 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01687/4.491, allocations: 6.565 MB / 0.9769 GB, free: 169.6 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003389/4.495, allocations: 0.4969 MB / 0.9774 GB, free: 169.6 MB / 474.8 MB Notification: Performance of SimCode: time 2.074e-06/4.495, allocations: 0 / 0.9774 GB, free: 169.6 MB / 474.8 MB Notification: Performance of Templates: time 0.2954/4.79, allocations: 156 MB / 1.13 GB, free: 32.27 MB / 474.8 MB