Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.563e-05, allocations: 4 kB / 344 MB, free: 48 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2919, allocations: 44.52 MB / 388.5 MB, free: 80.83 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.4555, allocations: 86.04 MB / 474.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/0.4558, allocations: 79.95 kB / 474.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6297/1.086, allocations: 81.09 MB / 0.5427 GB, free: 88.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/1.086, allocations: 0 / 0.5427 GB, free: 88.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002046/1.086, allocations: 77.09 kB / 0.5427 GB, free: 88.26 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1299 * Number of variables: 1299 Notification: Performance of Generate backend data structure: time 0.01246/1.098, allocations: 4.028 MB / 0.5467 GB, free: 85.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.098, allocations: 10.53 kB / 0.5467 GB, free: 85.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0585/1.157, allocations: 6.617 MB / 0.5531 GB, free: 81.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/1.177, allocations: 5.819 MB / 0.5588 GB, free: 75.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/1.177, allocations: 151.1 kB / 0.559 GB, free: 75.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/1.178, allocations: 215.8 kB / 0.5592 GB, free: 75.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01043/1.188, allocations: 5.24 MB / 0.5643 GB, free: 69.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/1.203, allocations: 8.177 MB / 0.5723 GB, free: 60.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/1.203, allocations: 66.67 kB / 0.5723 GB, free: 60.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005568/1.203, allocations: 24 kB / 0.5724 GB, free: 60.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001275/1.205, allocations: 0.8838 MB / 0.5732 GB, free: 59.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05904/1.264, allocations: 40.6 MB / 0.6129 GB, free: 18.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007296/1.271, allocations: 3.044 MB / 0.6158 GB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0046/1.276, allocations: 1.898 MB / 0.6177 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/1.276, allocations: 330.8 kB / 0.618 GB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/1.276, allocations: 63.77 kB / 0.6181 GB, free: 12.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=160): time 9.154e-06/1.277, allocations: 0 / 0.6181 GB, free: 12.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=189): time 0.08173/1.358, allocations: 16.81 MB / 0.6345 GB, free: 11.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002085/1.359, allocations: 248.7 kB / 0.6347 GB, free: 11.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/1.369, allocations: 3.008 MB / 0.6377 GB, free: 8.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005017/1.369, allocations: 25.7 kB / 0.6377 GB, free: 8.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004699/1.374, allocations: 2.874 MB / 0.6405 GB, free: 5.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.376, allocations: 0.7016 MB / 0.6412 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006309/1.376, allocations: 0 / 0.6412 GB, free: 4.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0007813/1.377, allocations: 0.5456 MB / 0.6417 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006019/1.383, allocations: 1.967 MB / 0.6436 GB, free: 2.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008561/1.392, allocations: 5.298 MB / 0.6488 GB, free: 11.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007435/1.399, allocations: 3.214 MB / 0.6519 GB, free: 8.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/1.4, allocations: 36 kB / 0.652 GB, free: 8.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=735) (initialization): time 0.0216/1.421, allocations: 7.714 MB / 0.6595 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/1.421, allocations: 60.06 kB / 0.6596 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/1.421, allocations: 124 kB / 0.6597 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4457/1.867, allocations: 1.365 MB / 0.661 GB, free: 103.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006751/1.874, allocations: 1.27 MB / 0.6623 GB, free: 103.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/1.889, allocations: 7.845 MB / 0.6699 GB, free: 102.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005921/1.895, allocations: 213.1 kB / 0.6701 GB, free: 102.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/1.896, allocations: 338.7 kB / 0.6704 GB, free: 102.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 27 (boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (674): * Single equations (assignments): 670 * 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 {(4,87.5%) 34} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009701/1.897, allocations: 398 kB / 0.6708 GB, free: 102.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007251/1.898, allocations: 326.1 kB / 0.6711 GB, free: 102.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008881/1.907, allocations: 3.761 MB / 0.6748 GB, free: 102.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.853e-05/1.907, allocations: 20.72 kB / 0.6748 GB, free: 102.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/1.907, allocations: 10.56 kB / 0.6748 GB, free: 102.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.454e-05/1.907, allocations: 8.609 kB / 0.6748 GB, free: 102.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/1.927, allocations: 8.147 MB / 0.6828 GB, free: 100.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/1.927, allocations: 7.031 kB / 0.6828 GB, free: 100.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.929, allocations: 263.9 kB / 0.6831 GB, free: 100.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004885/1.934, allocations: 1.201 MB / 0.6842 GB, free: 99.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003303/1.934, allocations: 7.75 kB / 0.6842 GB, free: 99.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/1.947, allocations: 7.028 MB / 0.6911 GB, free: 96.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.739e-06/1.947, allocations: 2.5 kB / 0.6911 GB, free: 96.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.106/2.053, allocations: 46.37 MB / 0.7364 GB, free: 65.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/2.055, allocations: 0.6431 MB / 0.737 GB, free: 65.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007908/2.055, allocations: 7.938 kB / 0.737 GB, free: 65.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003525/2.059, allocations: 86.66 kB / 0.7371 GB, free: 65.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008341/2.06, allocations: 105.2 kB / 0.7372 GB, free: 65.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004723/2.06, allocations: 48 kB / 0.7373 GB, free: 65.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.006235/2.067, allocations: 2.051 MB / 0.7393 GB, free: 63.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.416e-06/2.067, allocations: 0 / 0.7393 GB, free: 63.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0119/2.079, allocations: 1.185 MB / 0.7404 GB, free: 61.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 131 * 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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008312/2.079, allocations: 143.2 kB / 0.7406 GB, free: 61.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01354/2.093, allocations: 4.996 MB / 0.7454 GB, free: 56.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.246e-06/2.093, allocations: 0 / 0.7454 GB, free: 56.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005834/2.099, allocations: 1.909 MB / 0.7473 GB, free: 54.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003996/2.103, allocations: 383.2 kB / 0.7477 GB, free: 54.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/2.133, allocations: 9.085 MB / 0.7565 GB, free: 45.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008427/2.142, allocations: 3.228 MB / 0.7597 GB, free: 42.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.01037/2.152, allocations: 1.899 MB / 0.7615 GB, free: 40.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/2.154, allocations: 231.4 kB / 0.7618 GB, free: 40.14 MB / 398.1 MB Notification: Performance of SimCode: time 1.675e-06/2.154, allocations: 4 kB / 0.7618 GB, free: 40.13 MB / 398.1 MB Notification: Performance of Templates: time 0.1396/2.293, allocations: 45.56 MB / 0.8063 GB, free: 10.9 MB / 414.1 MB