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.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.736e-05, allocations: 3.984 kB / 269.4 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08365/0.0837, allocations: 47.57 MB / 316.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4024/0.4861, allocations: 109.5 MB / 426.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.4864, allocations: 87.52 kB / 426.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9743/1.461, allocations: 183.7 MB / 0.596 GB, free: 79.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.315e-06/1.461, allocations: 0 / 0.596 GB, free: 79.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006442/1.461, allocations: 187 kB / 0.5962 GB, free: 79.39 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.02822/1.49, allocations: 9.147 MB / 0.6051 GB, free: 70.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.49, allocations: 8.031 kB / 0.6051 GB, free: 70.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08131/1.571, allocations: 16.66 MB / 0.6214 GB, free: 53.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03786/1.609, allocations: 14.6 MB / 0.6356 GB, free: 39.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006695/1.61, allocations: 0.6265 MB / 0.6362 GB, free: 38.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003416/1.613, allocations: 0.8526 MB / 0.6371 GB, free: 37.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04891/1.662, allocations: 19.17 MB / 0.6558 GB, free: 17.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004896/1.663, allocations: 107 kB / 0.6559 GB, free: 17.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002638/1.665, allocations: 389.3 kB / 0.6563 GB, free: 16.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002727/1.668, allocations: 1.608 MB / 0.6578 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03897/1.707, allocations: 15.09 MB / 0.6726 GB, free: 32 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4428/2.15, allocations: 80.58 MB / 0.7513 GB, free: 22.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0502/2.2, allocations: 7.806 MB / 0.7589 GB, free: 19.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01143/2.212, allocations: 4.002 MB / 0.7628 GB, free: 17.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04318/2.255, allocations: 14.08 MB / 0.7765 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.972e-05/2.255, allocations: 67.22 kB / 0.7766 GB, free: 9.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=308): time 1.254e-05/2.255, allocations: 0 / 0.7766 GB, free: 9.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=408): time 0.19/2.445, allocations: 38.04 MB / 0.8138 GB, free: 9.258 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002838/2.445, allocations: 416.7 kB / 0.8142 GB, free: 8.773 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01642/2.462, allocations: 6.596 MB / 0.8206 GB, free: 2.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008515/2.463, allocations: 85.7 kB / 0.8207 GB, free: 2.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008129/2.471, allocations: 5.879 MB / 0.8264 GB, free: 13.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00503/2.476, allocations: 1.475 MB / 0.8279 GB, free: 12.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002273/2.478, allocations: 188 kB / 0.828 GB, free: 12.06 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008789/2.479, allocations: 0.7043 MB / 0.8287 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01004/2.489, allocations: 4.088 MB / 0.8327 GB, free: 7.734 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.288/2.777, allocations: 9.067 MB / 0.8416 GB, free: 92.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/2.791, allocations: 6.058 MB / 0.8475 GB, free: 92.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002817/2.791, allocations: 50.27 kB / 0.8475 GB, free: 92.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=1215) (initialization): time 0.04717/2.838, allocations: 16.59 MB / 0.8637 GB, free: 91.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/2.839, allocations: 80.62 kB / 0.8638 GB, free: 91.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002238/2.839, allocations: 176.2 kB / 0.864 GB, free: 91.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01955/2.858, allocations: 4.701 MB / 0.8686 GB, free: 91.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008997/2.867, allocations: 1.969 MB / 0.8705 GB, free: 91.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05092/2.918, allocations: 25.12 MB / 0.895 GB, free: 84.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/2.929, allocations: 0.5401 MB / 0.8956 GB, free: 84.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002177/2.931, allocations: 0.5114 MB / 0.8961 GB, free: 84.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 793 * Number of states: 0 () * Number of discrete variables: 73 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1063): * Single equations (assignments): 1058 * 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.003597/2.935, allocations: 0.8093 MB / 0.8969 GB, free: 83.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001895/2.937, allocations: 0.7121 MB / 0.8976 GB, free: 83.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03159/2.968, allocations: 10.85 MB / 0.9081 GB, free: 79.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.193e-05/2.968, allocations: 40.5 kB / 0.9082 GB, free: 79.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.745e-05/2.968, allocations: 20.94 kB / 0.9082 GB, free: 79.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.992e-05/2.968, allocations: 24.61 kB / 0.9082 GB, free: 79.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06039/3.029, allocations: 23.67 MB / 0.9313 GB, free: 69.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.035e-05/3.029, allocations: 8 kB / 0.9314 GB, free: 69.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/3.032, allocations: 0.5214 MB / 0.9319 GB, free: 69.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01741/3.05, allocations: 4.133 MB / 0.9359 GB, free: 66.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008299/3.051, allocations: 84.17 kB / 0.936 GB, free: 66.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03908/3.09, allocations: 21.87 MB / 0.9573 GB, free: 47.56 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/3.09, allocations: 11.94 kB / 0.9573 GB, free: 47.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03468/3.124, allocations: 17.48 MB / 0.9744 GB, free: 31.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004355/3.129, allocations: 1.373 MB / 0.9758 GB, free: 30.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002457/3.131, allocations: 75.98 kB / 0.9758 GB, free: 30.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005549/3.137, allocations: 243.7 kB / 0.9761 GB, free: 29.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001379/3.138, allocations: 287.1 kB / 0.9763 GB, free: 29.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004759/3.139, allocations: 112 kB / 0.9764 GB, free: 29.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01109/3.15, allocations: 4.745 MB / 0.9811 GB, free: 24.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.046e-06/3.15, allocations: 0 / 0.9811 GB, free: 24.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01174/3.162, allocations: 2.203 MB / 0.9832 GB, free: 22.45 MB / 458.7 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.001152/3.163, allocations: 273.9 kB / 0.9835 GB, free: 22.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01914/3.182, allocations: 10.14 MB / 0.9934 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/3.182, allocations: 4 kB / 0.9934 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008187/3.19, allocations: 4.282 MB / 0.9976 GB, free: 7.785 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006531/3.197, allocations: 1.049 MB / 0.9986 GB, free: 6.773 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3634/3.56, allocations: 17.88 MB / 1.016 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01601/3.576, allocations: 6.571 MB / 1.022 GB, free: 105.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01177/3.588, allocations: 2.94 MB / 1.025 GB, free: 105.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/3.591, allocations: 434.9 kB / 1.026 GB, free: 105.2 MB / 474.7 MB Notification: Performance of SimCode: time 3.241e-06/3.591, allocations: 0 / 1.026 GB, free: 105.2 MB / 474.7 MB Notification: Performance of Templates: time 0.2506/3.841, allocations: 92.11 MB / 1.116 GB, free: 60.92 MB / 474.7 MB