Notification: Performance of loadModel(Modelica): time 1.048/1.048, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.512e-05, allocations: 2.656 kB / 145.9 MB, free: 4.047 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1353, allocations: 25.16 MB / 171.1 MB, free: 1.746 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.2404, allocations: 60.21 MB / 231.3 MB, free: 9.242 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.2408, allocations: 75.95 kB / 231.4 MB, free: 9.168 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.485/1.726, allocations: 272.9 MB / 0.4925 GB, free: 9.504 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.001275/1.727, allocations: 215.2 kB / 0.4927 GB, free: 9.5 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3326 * Number of variables: 3326 Notification: Performance of Generate backend data structure: time 0.0664/1.794, allocations: 12.79 MB / 0.5052 GB, free: 12.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/1.794, allocations: 8.031 kB / 0.5052 GB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4807/2.275, allocations: 38.13 MB / 0.5424 GB, free: 21.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05735/2.332, allocations: 16.6 MB / 0.5586 GB, free: 21.04 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007634/2.333, allocations: 339.1 kB / 0.559 GB, free: 21.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007668/2.341, allocations: 0.5985 MB / 0.5595 GB, free: 21.03 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05522/2.396, allocations: 21.81 MB / 0.5808 GB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09378/2.49, allocations: 26.33 MB / 0.6065 GB, free: 9.738 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009566/2.491, allocations: 90.59 kB / 0.6066 GB, free: 9.676 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007132/2.498, allocations: 28 kB / 0.6067 GB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2294/2.727, allocations: 10.25 MB / 0.6167 GB, free: 32.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.149/3.876, allocations: 156.6 MB / 0.7696 GB, free: 22.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01882/3.895, allocations: 7.416 MB / 0.7768 GB, free: 21.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01397/3.909, allocations: 5.32 MB / 0.782 GB, free: 21.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005452/3.914, allocations: 2.869 MB / 0.7848 GB, free: 19.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/3.914, allocations: 93.39 kB / 0.7849 GB, free: 19.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=447): time 1.709e-05/3.915, allocations: 0 / 0.7849 GB, free: 19.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=550): time 0.2361/4.151, allocations: 56.61 MB / 0.8402 GB, free: 9.297 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000339/4.151, allocations: 0.6165 MB / 0.8408 GB, free: 8.551 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01999/4.171, allocations: 6.757 MB / 0.8474 GB, free: 2.457 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001684/4.173, allocations: 33.7 kB / 0.8474 GB, free: 2.418 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1542/4.327, allocations: 6.722 MB / 0.854 GB, free: 74.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003201/4.33, allocations: 1.908 MB / 0.8558 GB, free: 73.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/4.332, allocations: 3.75 kB / 0.8558 GB, free: 73.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0007257/4.333, allocations: 0.8007 MB / 0.8566 GB, free: 72.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01191/4.345, allocations: 5.628 MB / 0.8621 GB, free: 72.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01725/4.362, allocations: 11.81 MB / 0.8737 GB, free: 64.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/4.378, allocations: 7.427 MB / 0.8809 GB, free: 64.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002759/4.379, allocations: 66.66 kB / 0.881 GB, free: 64.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=1542) (initialization): time 0.06191/4.441, allocations: 19.32 MB / 0.8998 GB, free: 61.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001968/4.441, allocations: 104.1 kB / 0.8999 GB, free: 61.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006296/4.442, allocations: 353.6 kB / 0.9003 GB, free: 61.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02445/4.466, allocations: 4.429 MB / 0.9046 GB, free: 60.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01947/4.486, allocations: 2.608 MB / 0.9072 GB, free: 60.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/4.506, allocations: 7.183 MB / 0.9142 GB, free: 57.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.032/4.539, allocations: 1.655 MB / 0.9158 GB, free: 57.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005388/4.544, allocations: 0.813 MB / 0.9166 GB, free: 57 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 987 * 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 (1362): * Single equations (assignments): 1343 * Array equations: 18 * 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: 0 * Non-linear torn systems: 1 {3 124} Notification: Performance of prepare postOptimizeDAE: time 0.006852/4.551, allocations: 0.6665 MB / 0.9172 GB, free: 56.46 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03251/4.583, allocations: 11.02 MB / 0.928 GB, free: 49.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003647/4.587, allocations: 0.7597 MB / 0.9287 GB, free: 49.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03154/4.619, allocations: 10.3 MB / 0.9388 GB, free: 40.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04058/4.659, allocations: 10.58 MB / 0.9491 GB, free: 32.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.219e-05/4.659, allocations: 4 kB / 0.9491 GB, free: 32.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001879/4.66, allocations: 31.94 kB / 0.9492 GB, free: 32.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2978/4.957, allocations: 33.57 MB / 0.9819 GB, free: 64.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.162e-05/4.958, allocations: 17.91 kB / 0.982 GB, free: 64.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006518/4.964, allocations: 0.7309 MB / 0.9827 GB, free: 64.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02249/4.987, allocations: 3.71 MB / 0.9863 GB, free: 64.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001666/4.988, allocations: 96.73 kB / 0.9864 GB, free: 64.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/5.001, allocations: 6.162 MB / 0.9924 GB, free: 63.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.974e-05/5.001, allocations: 30.84 kB / 0.9924 GB, free: 63.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04473/5.046, allocations: 22.08 MB / 1.014 GB, free: 54.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007195/5.053, allocations: 1.807 MB / 1.016 GB, free: 53.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003753/5.057, allocations: 32.16 kB / 1.016 GB, free: 53.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01899/5.076, allocations: 1.32 MB / 1.017 GB, free: 53.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001851/5.078, allocations: 294.7 kB / 1.017 GB, free: 53.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001861/5.08, allocations: 304.6 kB / 1.018 GB, free: 53.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.01309/5.093, allocations: 4.682 MB / 1.022 GB, free: 51.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.82e-07/5.093, allocations: 0 / 1.022 GB, free: 51.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.01665/5.11, allocations: 2.099 MB / 1.024 GB, free: 51.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * 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 (410): * Single equations (assignments): 398 * Array equations: 11 * 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: 0 * Non-linear torn systems: 1 {3 108} Notification: Performance of Backend phase and start with SimCode phase: time 0.04748/5.157, allocations: 25.48 MB / 1.049 GB, free: 35.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.03333/5.191, allocations: 13.14 MB / 1.062 GB, free: 23.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.36e-05/5.191, allocations: 4 kB / 1.062 GB, free: 23.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01678/5.208, allocations: 5.368 MB / 1.067 GB, free: 19.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009954/5.218, allocations: 0.9902 MB / 1.068 GB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2323/5.45, allocations: 24.2 MB / 1.092 GB, free: 68.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01956/5.47, allocations: 7.448 MB / 1.099 GB, free: 67.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.02297/5.493, allocations: 4.056 MB / 1.103 GB, free: 67.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01535/5.508, allocations: 5.364 MB / 1.108 GB, free: 67.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.694e-06/5.508, allocations: 0 / 1.108 GB, free: 67.41 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7888/6.297, allocations: 215.5 MB / 1.319 GB, free: 37.59 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004588/6.302, allocations: 153.4 kB / 1.319 GB, free: 37.4 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.42/17.72, allocations: 8.438 kB / 1.319 GB, free: 37.4 MB / 314.7 MB