Notification: Performance of FrontEnd - loaded program: time 1.716e-05/1.731e-05, allocations: 4 kB / 349.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2075, allocations: 44.52 MB / 394.2 MB, free: 83.07 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.362, allocations: 91.5 MB / 485.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/0.3624, allocations: 87.95 kB / 485.8 MB, free: 8.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8078/1.17, allocations: 161.9 MB / 0.6325 GB, free: 8.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.868e-06/1.17, allocations: 0 / 0.6325 GB, free: 8.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006446/1.171, allocations: 160 kB / 0.6327 GB, free: 7.961 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.4427/1.614, allocations: 8.262 MB / 0.6407 GB, free: 39.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/1.614, allocations: 8.938 kB / 0.6407 GB, free: 39.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1478/1.762, allocations: 16.56 MB / 0.6569 GB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0371/1.799, allocations: 13.73 MB / 0.6703 GB, free: 38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004567/1.799, allocations: 315.4 kB / 0.6706 GB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002746/1.802, allocations: 472.2 kB / 0.6711 GB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02528/1.827, allocations: 9.86 MB / 0.6807 GB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05127/1.879, allocations: 14.78 MB / 0.6951 GB, free: 34.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008775/1.88, allocations: 115.3 kB / 0.6953 GB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003454/1.883, allocations: 40.25 kB / 0.6953 GB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004721/1.888, allocations: 1.529 MB / 0.6968 GB, free: 34.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1391/2.027, allocations: 72.6 MB / 0.7677 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/2.041, allocations: 5.4 MB / 0.773 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01146/2.052, allocations: 3.824 MB / 0.7767 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002841/2.055, allocations: 1.373 MB / 0.778 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/2.056, allocations: 68.45 kB / 0.7781 GB, free: 15.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=299): time 1.311e-05/2.056, allocations: 0 / 0.7781 GB, free: 15.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=371): time 0.3666/2.422, allocations: 36.38 MB / 0.8136 GB, free: 80.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/2.422, allocations: 397.8 kB / 0.814 GB, free: 80.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01229/2.435, allocations: 5.639 MB / 0.8195 GB, free: 79.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007042/2.435, allocations: 29.61 kB / 0.8195 GB, free: 79.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004428/2.44, allocations: 5.478 MB / 0.8249 GB, free: 77.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001717/2.442, allocations: 1.307 MB / 0.8262 GB, free: 76.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008222/2.442, allocations: 2.375 kB / 0.8262 GB, free: 76.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005899/2.443, allocations: 0.6795 MB / 0.8268 GB, free: 76.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00651/2.449, allocations: 3.35 MB / 0.8301 GB, free: 76.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/2.46, allocations: 8.29 MB / 0.8382 GB, free: 69.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/2.473, allocations: 5.192 MB / 0.8433 GB, free: 69.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002506/2.474, allocations: 49.66 kB / 0.8433 GB, free: 69.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.04871/2.522, allocations: 13.79 MB / 0.8568 GB, free: 69.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/2.523, allocations: 78.62 kB / 0.8569 GB, free: 69.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003487/2.523, allocations: 174.8 kB / 0.857 GB, free: 69.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01954/2.543, allocations: 3.687 MB / 0.8606 GB, free: 69.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.012/2.555, allocations: 1.909 MB / 0.8625 GB, free: 69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05481/2.609, allocations: 22.22 MB / 0.8842 GB, free: 58.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01444/2.624, allocations: 337 kB / 0.8845 GB, free: 58.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002567/2.627, allocations: 0.5097 MB / 0.885 GB, free: 58.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 69 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.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 (1030): * Single equations (assignments): 1024 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,64.1%) 98,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.003468/2.63, allocations: 0.5657 MB / 0.8856 GB, free: 58.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00192/2.632, allocations: 0.644 MB / 0.8862 GB, free: 57.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02145/2.654, allocations: 8.494 MB / 0.8945 GB, free: 54.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.007e-05/2.654, allocations: 38.84 kB / 0.8945 GB, free: 54.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.228e-05/2.654, allocations: 21.91 kB / 0.8945 GB, free: 54.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-05/2.654, allocations: 16.36 kB / 0.8946 GB, free: 54.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05856/2.712, allocations: 18.16 MB / 0.9123 GB, free: 40.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.584e-05/2.712, allocations: 8 kB / 0.9123 GB, free: 40.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003882/2.716, allocations: 452.7 kB / 0.9127 GB, free: 40.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01881/2.735, allocations: 3.412 MB / 0.9161 GB, free: 37.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009253/2.736, allocations: 15.05 kB / 0.9161 GB, free: 37.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04436/2.781, allocations: 21.54 MB / 0.9371 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/2.781, allocations: 11.94 kB / 0.9371 GB, free: 18.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.454/3.235, allocations: 108.1 MB / 1.043 GB, free: 49.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005105/3.24, allocations: 1.18 MB / 1.044 GB, free: 48.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002332/3.242, allocations: 15.38 kB / 1.044 GB, free: 48.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006822/3.249, allocations: 163.7 kB / 1.044 GB, free: 48.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001596/3.251, allocations: 276.1 kB / 1.044 GB, free: 48.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005835/3.251, allocations: 102.7 kB / 1.044 GB, free: 48.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.01188/3.263, allocations: 3.934 MB / 1.048 GB, free: 47.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.105e-06/3.263, allocations: 0 / 1.048 GB, free: 47.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0204/3.284, allocations: 2.424 MB / 1.051 GB, free: 46.72 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (248): * Single equations (assignments): 242 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,64.1%) 93,(1,100.0%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001228/3.285, allocations: 177.1 kB / 1.051 GB, free: 46.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0233/3.308, allocations: 8.969 MB / 1.059 GB, free: 38.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/3.308, allocations: 0 / 1.059 GB, free: 38.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009895/3.318, allocations: 3.934 MB / 1.063 GB, free: 35.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008298/3.327, allocations: 0.8758 MB / 1.064 GB, free: 34.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05646/3.383, allocations: 18.54 MB / 1.082 GB, free: 18.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01627/3.399, allocations: 6.076 MB / 1.088 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.01713/3.416, allocations: 2.892 MB / 1.091 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002602/3.419, allocations: 406.1 kB / 1.091 GB, free: 11.74 MB / 430.1 MB Notification: Performance of SimCode: time 1.764e-06/3.419, allocations: 0 / 1.091 GB, free: 11.74 MB / 430.1 MB Notification: Performance of Templates: time 0.4845/3.904, allocations: 99.22 MB / 1.188 GB, free: 68.89 MB / 446.1 MB