Notification: Performance of FrontEnd - loaded program: time 1.989e-05/2.002e-05, allocations: 4 kB / 341.9 MB, free: 1.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2006, allocations: 44.53 MB / 386.4 MB, free: 79.99 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.3469, allocations: 84.08 MB / 470.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.3471, allocations: 79.95 kB / 470.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.342/0.6891, allocations: 55.88 MB / 0.5141 GB, free: 90.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.502e-06/0.6892, allocations: 0 / 0.5141 GB, free: 90.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001298/0.6893, allocations: 46.48 kB / 0.5142 GB, free: 90.89 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: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.008617/0.698, allocations: 2.599 MB / 0.5167 GB, free: 89.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.698, allocations: 4.578 kB / 0.5167 GB, free: 89.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01831/0.7164, allocations: 1.97 MB / 0.5187 GB, free: 89.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0168/0.7332, allocations: 3.278 MB / 0.5219 GB, free: 89.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003013/0.7336, allocations: 101.3 kB / 0.522 GB, free: 89.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/0.735, allocations: 131.6 kB / 0.5221 GB, free: 89.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01368/0.7487, allocations: 3.913 MB / 0.5259 GB, free: 89.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01768/0.7665, allocations: 6.177 MB / 0.5319 GB, free: 86.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/0.7667, allocations: 49.34 kB / 0.532 GB, free: 86.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000763/0.7675, allocations: 25.44 kB / 0.532 GB, free: 86.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001872/0.7694, allocations: 0.7062 MB / 0.5327 GB, free: 86.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05311/0.8226, allocations: 31.97 MB / 0.5639 GB, free: 62.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004549/0.8272, allocations: 2.013 MB / 0.5659 GB, free: 60.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002459/0.8297, allocations: 0.9995 MB / 0.5669 GB, free: 60.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.749e-05/0.8298, allocations: 7.562 kB / 0.5669 GB, free: 60.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.8298, allocations: 45.83 kB / 0.5669 GB, free: 60.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 6.914e-06/0.8298, allocations: 0 / 0.5669 GB, free: 60.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.03221/0.8621, allocations: 8.188 MB / 0.5749 GB, free: 54.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.8622, allocations: 140.5 kB / 0.575 GB, free: 54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005639/0.8678, allocations: 2.146 MB / 0.5771 GB, free: 52.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002403/0.8681, allocations: 25.7 kB / 0.5772 GB, free: 52.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002095/0.8702, allocations: 2.12 MB / 0.5792 GB, free: 50.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006806/0.8709, allocations: 431.4 kB / 0.5796 GB, free: 49.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.8713, allocations: 0 / 0.5796 GB, free: 49.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0005587/0.8718, allocations: 0.5455 MB / 0.5802 GB, free: 49.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/0.8759, allocations: 1.31 MB / 0.5815 GB, free: 48.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006226/0.8821, allocations: 4.207 MB / 0.5856 GB, free: 42.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006866/0.8891, allocations: 2.342 MB / 0.5878 GB, free: 40.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/0.8892, allocations: 28 kB / 0.5879 GB, free: 40.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.0218/0.911, allocations: 5.477 MB / 0.5932 GB, free: 34.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.9112, allocations: 55.95 kB / 0.5933 GB, free: 34.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/0.9114, allocations: 112.1 kB / 0.5934 GB, free: 34.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004837/0.9162, allocations: 0.8085 MB / 0.5942 GB, free: 33.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0068/0.9231, allocations: 1.033 MB / 0.5952 GB, free: 32.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.9336, allocations: 3.964 MB / 0.5991 GB, free: 28.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007781/0.9414, allocations: 203.9 kB / 0.5992 GB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/0.9425, allocations: 292 kB / 0.5995 GB, free: 28.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (552): * Single equations (assignments): 548 * 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%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009917/0.9435, allocations: 358.8 kB / 0.5999 GB, free: 27.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007085/0.9442, allocations: 213.2 kB / 0.6001 GB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007549/0.9518, allocations: 1.781 MB / 0.6018 GB, free: 25.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-05/0.9519, allocations: 15.94 kB / 0.6018 GB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.9519, allocations: 4 kB / 0.6018 GB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-05/0.952, allocations: 7.969 kB / 0.6018 GB, free: 25.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.9689, allocations: 4.305 MB / 0.606 GB, free: 21.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.9689, allocations: 0 / 0.606 GB, free: 21.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/0.9704, allocations: 139.8 kB / 0.6062 GB, free: 21.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004392/0.9748, allocations: 0.6444 MB / 0.6068 GB, free: 20.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/0.9751, allocations: 4 kB / 0.6068 GB, free: 20.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009198/0.9843, allocations: 3.497 MB / 0.6102 GB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.9843, allocations: 7.969 kB / 0.6102 GB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07339/1.058, allocations: 19.57 MB / 0.6293 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.059, allocations: 418.1 kB / 0.6297 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004796/1.06, allocations: 7.984 kB / 0.6298 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/1.062, allocations: 51.91 kB / 0.6298 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/1.062, allocations: 64 kB / 0.6299 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/1.063, allocations: 28 kB / 0.6299 GB, free: 12.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004554/1.067, allocations: 1.42 MB / 0.6313 GB, free: 11.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.132e-06/1.067, allocations: 0 / 0.6313 GB, free: 11.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.008978/1.076, allocations: 0.7109 MB / 0.632 GB, free: 10.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005941/1.077, allocations: 135 kB / 0.6321 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01092/1.088, allocations: 3.17 MB / 0.6352 GB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.369e-06/1.088, allocations: 0 / 0.6352 GB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002822/1.091, allocations: 0.8999 MB / 0.6361 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/1.093, allocations: 196.5 kB / 0.6363 GB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.112, allocations: 5.2 MB / 0.6413 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006532/1.118, allocations: 2.269 MB / 0.6436 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00894/1.127, allocations: 1.441 MB / 0.645 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/1.128, allocations: 159.4 kB / 0.6451 GB, free: 12.85 MB / 398.1 MB Notification: Performance of SimCode: time 1.893e-06/1.128, allocations: 0 / 0.6451 GB, free: 12.85 MB / 398.1 MB Notification: Performance of Templates: time 0.2392/1.368, allocations: 21.85 MB / 0.6664 GB, free: 105.1 MB / 398.1 MB