Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.094e-05, allocations: 4 kB / 345.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2345, allocations: 44.52 MB / 389.7 MB, free: 67.39 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.4231, allocations: 87.38 MB / 477.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003937/0.4236, allocations: 87.94 kB / 477.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5176/0.9412, allocations: 81.91 MB / 0.546 GB, free: 82.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.871e-06/0.9413, allocations: 0 / 0.546 GB, free: 82.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002539/0.9416, allocations: 80 kB / 0.5461 GB, free: 82.54 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: 1450 * Number of variables: 1450 Notification: Performance of Generate backend data structure: time 0.01541/0.957, allocations: 3.794 MB / 0.5498 GB, free: 78.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.9571, allocations: 12.03 kB / 0.5498 GB, free: 78.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01743/0.9745, allocations: 2.511 MB / 0.5522 GB, free: 76.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/0.9877, allocations: 5.02 MB / 0.5571 GB, free: 71.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.988, allocations: 172.2 kB / 0.5573 GB, free: 70.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.9891, allocations: 239.9 kB / 0.5575 GB, free: 70.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0113/1, allocations: 5.735 MB / 0.5631 GB, free: 64.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01595/1.016, allocations: 8.884 MB / 0.5718 GB, free: 55.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001754/1.017, allocations: 67.41 kB / 0.5719 GB, free: 54.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006226/1.017, allocations: 32 kB / 0.5719 GB, free: 54.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0015/1.019, allocations: 0.9938 MB / 0.5729 GB, free: 53.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04952/1.068, allocations: 44.59 MB / 0.6164 GB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/1.072, allocations: 1.841 MB / 0.6182 GB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/1.074, allocations: 0.7424 MB / 0.6189 GB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/1.074, allocations: 450.8 kB / 0.6194 GB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/1.074, allocations: 51.06 kB / 0.6194 GB, free: 4.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=130): time 5.289e-06/1.074, allocations: 0 / 0.6194 GB, free: 4.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.02123/1.095, allocations: 6.863 MB / 0.6261 GB, free: 13.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/1.095, allocations: 141.3 kB / 0.6263 GB, free: 13.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005952/1.101, allocations: 2.985 MB / 0.6292 GB, free: 10.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002148/1.102, allocations: 25.7 kB / 0.6292 GB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003074/1.105, allocations: 3.129 MB / 0.6323 GB, free: 7.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007506/1.105, allocations: 0.5593 MB / 0.6328 GB, free: 6.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/1.106, allocations: 4 kB / 0.6328 GB, free: 6.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0005059/1.106, allocations: 0.5578 MB / 0.6334 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00279/1.109, allocations: 1.394 MB / 0.6347 GB, free: 4.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006049/1.115, allocations: 5.233 MB / 0.6398 GB, free: 13.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005466/1.121, allocations: 2.698 MB / 0.6425 GB, free: 10.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.121, allocations: 40 kB / 0.6425 GB, free: 10.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01463/1.135, allocations: 5.704 MB / 0.6481 GB, free: 5.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/1.136, allocations: 64 kB / 0.6481 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000195/1.136, allocations: 140 kB / 0.6483 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/1.136, allocations: 200 kB / 0.6485 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005956/1.142, allocations: 1.435 MB / 0.6499 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002935/1.142, allocations: 267 kB / 0.6501 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006112/1.149, allocations: 263.5 kB / 0.6504 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.15, allocations: 376 kB / 0.6507 GB, free: 2.438 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (750): * Single equations (assignments): 747 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009456/1.151, allocations: 451.4 kB / 0.6511 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006684/1.151, allocations: 308 kB / 0.6514 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/1.153, allocations: 1.002 MB / 0.6524 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/1.154, allocations: 20 kB / 0.6524 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.784e-06/1.154, allocations: 96 / 0.6524 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/1.154, allocations: 11.97 kB / 0.6524 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5137/1.667, allocations: 4.709 MB / 0.657 GB, free: 99.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-05/1.667, allocations: 16.48 kB / 0.6571 GB, free: 99.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/1.67, allocations: 262.2 kB / 0.6573 GB, free: 99.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.347e-05/1.67, allocations: 26.61 kB / 0.6573 GB, free: 99.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/1.67, allocations: 27.31 kB / 0.6574 GB, free: 99.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-05/1.67, allocations: 33.23 kB / 0.6574 GB, free: 99.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.552e-05/1.67, allocations: 26.77 kB / 0.6574 GB, free: 99.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01973/1.69, allocations: 8.836 MB / 0.6661 GB, free: 95.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/1.692, allocations: 489.8 kB / 0.6665 GB, free: 95.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000615/1.692, allocations: 30.11 kB / 0.6665 GB, free: 95.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/1.694, allocations: 66.81 kB / 0.6666 GB, free: 95.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/1.695, allocations: 133.9 kB / 0.6667 GB, free: 95.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/1.695, allocations: 58.83 kB / 0.6668 GB, free: 95.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004001/1.699, allocations: 1.968 MB / 0.6687 GB, free: 95.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.58e-07/1.699, allocations: 2.125 kB / 0.6687 GB, free: 95.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006939/1.706, allocations: 0.9173 MB / 0.6696 GB, free: 95.04 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 132 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005373/1.706, allocations: 175.6 kB / 0.6698 GB, free: 94.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006572/1.713, allocations: 3.233 MB / 0.6729 GB, free: 94.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/1.713, allocations: 2.656 kB / 0.6729 GB, free: 94.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/1.714, allocations: 0.6525 MB / 0.6736 GB, free: 94.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/1.717, allocations: 343.5 kB / 0.6739 GB, free: 94.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/1.732, allocations: 7.663 MB / 0.6814 GB, free: 92.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005029/1.737, allocations: 3.197 MB / 0.6845 GB, free: 91.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.006008/1.743, allocations: 1.829 MB / 0.6863 GB, free: 91.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007445/1.744, allocations: 222.7 kB / 0.6865 GB, free: 91.39 MB / 398.1 MB Notification: Performance of SimCode: time 1.395e-06/1.744, allocations: 0 / 0.6865 GB, free: 91.39 MB / 398.1 MB Notification: Performance of Templates: time 0.06964/1.813, allocations: 22.07 MB / 0.7081 GB, free: 85.85 MB / 398.1 MB