Notification: Performance of loadModel(Modelica): time 1.059/1.059, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.392e-05, allocations: 0 / 145.9 MB, free: 4.047 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1416, allocations: 25.15 MB / 171.1 MB, free: 1.742 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07116/0.2128, allocations: 40.85 MB / 211.9 MB, free: 12.64 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.2131, allocations: 67.97 kB / 212 MB, free: 12.57 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.6728/0.886, allocations: 125.6 MB / 337.5 MB, free: 0.7852 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001637/0.8862, allocations: 76 kB / 337.6 MB, free: 0.7109 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.04424/0.9305, allocations: 5.493 MB / 343.1 MB, free: 11.14 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/0.9306, allocations: 8.031 kB / 343.1 MB, free: 11.14 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.329/1.26, allocations: 20.18 MB / 363.3 MB, free: 43.28 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/1.275, allocations: 3.035 MB / 366.3 MB, free: 43.06 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003514/1.275, allocations: 153.4 kB / 366.5 MB, free: 43.06 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004151/1.28, allocations: 244.2 kB / 366.7 MB, free: 43.05 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02869/1.308, allocations: 12.56 MB / 379.3 MB, free: 43.03 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03693/1.345, allocations: 14.03 MB / 393.3 MB, free: 38.35 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003135/1.346, allocations: 42.3 kB / 393.4 MB, free: 38.34 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003427/1.349, allocations: 15.38 kB / 393.4 MB, free: 38.34 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.06997/1.419, allocations: 8.148 MB / 401.5 MB, free: 36.74 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8279/2.247, allocations: 102.4 MB / 0.4921 GB, free: 38.81 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007077/2.254, allocations: 3.391 MB / 0.4954 GB, free: 37.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004474/2.259, allocations: 1.929 MB / 0.4973 GB, free: 37.14 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/2.259, allocations: 39.95 kB / 0.4973 GB, free: 37.14 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.054e-05/2.259, allocations: 64.23 kB / 0.4974 GB, free: 37.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=205): time 1.013e-05/2.259, allocations: 3.188 kB / 0.4974 GB, free: 37.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=205): time 0.04498/2.304, allocations: 6.988 MB / 0.5042 GB, free: 31.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/2.304, allocations: 404.2 kB / 0.5046 GB, free: 31.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007392/2.312, allocations: 3.024 MB / 0.5076 GB, free: 29.06 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000724/2.312, allocations: 32.52 kB / 0.5076 GB, free: 29.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00262/2.315, allocations: 3.131 MB / 0.5107 GB, free: 26.64 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001496/2.317, allocations: 0.8044 MB / 0.5114 GB, free: 25.96 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/2.318, allocations: 0 / 0.5114 GB, free: 25.96 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0007485/2.319, allocations: 0.6455 MB / 0.5121 GB, free: 25.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006266/2.325, allocations: 2.69 MB / 0.5147 GB, free: 23.37 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009051/2.334, allocations: 7.185 MB / 0.5217 GB, free: 13.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007873/2.342, allocations: 3.701 MB / 0.5253 GB, free: 10.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001598/2.342, allocations: 48 kB / 0.5254 GB, free: 10.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=944) (initialization): time 0.02268/2.365, allocations: 8.39 MB / 0.5336 GB, free: 2.094 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/2.365, allocations: 76 kB / 0.5336 GB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005673/2.366, allocations: 327.5 kB / 0.534 GB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002409/2.366, allocations: 239.5 kB / 0.5342 GB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01384/2.38, allocations: 1.996 MB / 0.5361 GB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000414/2.38, allocations: 314.8 kB / 0.5364 GB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01962/2.4, allocations: 1.989 MB / 0.5384 GB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002403/2.402, allocations: 0.5974 MB / 0.539 GB, free: 12.56 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (904): * Single equations (assignments): 893 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002417/2.405, allocations: 499.9 kB / 0.5394 GB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008702/2.413, allocations: 3.125 MB / 0.5425 GB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/2.415, allocations: 300.1 kB / 0.5428 GB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/2.418, allocations: 0.9263 MB / 0.5437 GB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02378/2.442, allocations: 3.146 MB / 0.5468 GB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.573e-05/2.442, allocations: 11.83 kB / 0.5468 GB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.885e-05/2.442, allocations: 7.969 kB / 0.5468 GB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1884/2.63, allocations: 14.06 MB / 0.5605 GB, free: 57.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/2.63, allocations: 8.375 kB / 0.5605 GB, free: 57.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006438/2.637, allocations: 0.6209 MB / 0.5611 GB, free: 57.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.792e-05/2.637, allocations: 20.78 kB / 0.5611 GB, free: 57.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008432/2.638, allocations: 104.9 kB / 0.5612 GB, free: 57.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.271e-05/2.638, allocations: 25.7 kB / 0.5613 GB, free: 57.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/2.638, allocations: 16.34 kB / 0.5613 GB, free: 57.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/2.65, allocations: 7.07 MB / 0.5682 GB, free: 55.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/2.652, allocations: 435.6 kB / 0.5686 GB, free: 55.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/2.653, allocations: 33.33 kB / 0.5686 GB, free: 55.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01309/2.666, allocations: 1.218 MB / 0.5698 GB, free: 55.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004025/2.666, allocations: 113.9 kB / 0.5699 GB, free: 55.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005287/2.667, allocations: 206.8 kB / 0.5701 GB, free: 55.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00398/2.671, allocations: 1.949 MB / 0.572 GB, free: 55.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.894e-06/2.671, allocations: 0 / 0.572 GB, free: 55.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.008827/2.68, allocations: 1.136 MB / 0.5731 GB, free: 55.1 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 24 (body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 154 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01275/2.693, allocations: 10.07 MB / 0.583 GB, free: 50.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01831/2.711, allocations: 6.382 MB / 0.5892 GB, free: 49.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/2.711, allocations: 0 / 0.5892 GB, free: 49.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009138/2.72, allocations: 2.249 MB / 0.5914 GB, free: 49.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/2.723, allocations: 225 kB / 0.5916 GB, free: 49.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03171/2.755, allocations: 10.34 MB / 0.6017 GB, free: 45.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006754/2.762, allocations: 3.219 MB / 0.6049 GB, free: 44.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0155/2.777, allocations: 2.69 MB / 0.6075 GB, free: 43.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007235/2.784, allocations: 2.028 MB / 0.6095 GB, free: 42.21 MB / 266.7 MB Notification: Performance of SimCode: time 2.174e-06/2.785, allocations: 0 / 0.6095 GB, free: 42.21 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3241/3.109, allocations: 85.74 MB / 0.6932 GB, free: 53.07 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.005064/3.114, allocations: 173.2 kB / 0.6934 GB, free: 52.88 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.768/8.882, allocations: 0 / 0.6934 GB, free: 52.88 MB / 266.7 MB