Notification: Performance of loadModel(Modelica): time 0.9633/0.9633, allocations: 111.2 MB / 118.4 MB, free: 15.58 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.919e-05/2.928e-05, allocations: 7.125 kB / 145.9 MB, free: 4.035 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1305, allocations: 25.15 MB / 171.1 MB, free: 1.746 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08434/0.2149, allocations: 47.07 MB / 218.1 MB, free: 6.402 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.2152, allocations: 79.89 kB / 218.2 MB, free: 6.324 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.006/1.221, allocations: 179.7 MB / 398 MB, free: 35.36 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002478/1.222, allocations: 112.2 kB / 398.1 MB, free: 35.35 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2050 * Number of variables: 2050 Notification: Performance of Generate backend data structure: time 0.0382/1.26, allocations: 7.54 MB / 405.6 MB, free: 32.95 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.26, allocations: 10.25 kB / 405.6 MB, free: 32.95 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.255/1.515, allocations: 24.84 MB / 430.5 MB, free: 13.8 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03009/1.545, allocations: 7.06 MB / 437.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004747/1.546, allocations: 196 kB / 437.7 MB, free: 6.668 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005785/1.551, allocations: 328.8 kB / 438 MB, free: 6.348 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1485/1.7, allocations: 16.02 MB / 454.1 MB, free: 31.23 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06577/1.766, allocations: 17.79 MB / 471.8 MB, free: 27.21 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004816/1.766, allocations: 36.48 kB / 471.9 MB, free: 27.21 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005932/1.772, allocations: 21.22 kB / 471.9 MB, free: 27.21 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.08918/1.862, allocations: 9.973 MB / 481.9 MB, free: 27 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.013/2.875, allocations: 125.7 MB / 0.5934 GB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006348/2.881, allocations: 3.707 MB / 0.597 GB, free: 12.83 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003964/2.885, allocations: 1.974 MB / 0.5989 GB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/2.886, allocations: 483.2 kB / 0.5994 GB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/2.886, allocations: 73.2 kB / 0.5994 GB, free: 10.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=240): time 8.546e-06/2.886, allocations: 0 / 0.5994 GB, free: 10.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=252): time 0.04331/2.929, allocations: 17.14 MB / 0.6162 GB, free: 11.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/2.929, allocations: 366.1 kB / 0.6165 GB, free: 10.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00959/2.939, allocations: 3.822 MB / 0.6203 GB, free: 7.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009449/2.94, allocations: 25.7 kB / 0.6203 GB, free: 7.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004758/2.945, allocations: 4.042 MB / 0.6242 GB, free: 3.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002128/2.947, allocations: 0.9333 MB / 0.6252 GB, free: 2.691 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/2.948, allocations: 6.953 kB / 0.6252 GB, free: 2.688 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0007063/2.949, allocations: 0.6487 MB / 0.6258 GB, free: 2.035 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1374/3.086, allocations: 2.919 MB / 0.6286 GB, free: 55.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01106/3.097, allocations: 7.844 MB / 0.6363 GB, free: 48.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009183/3.107, allocations: 3.944 MB / 0.6402 GB, free: 48.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002232/3.107, allocations: 49.06 kB / 0.6402 GB, free: 48.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.02672/3.134, allocations: 9.17 MB / 0.6492 GB, free: 47.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000169/3.134, allocations: 88.52 kB / 0.6492 GB, free: 47.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007496/3.135, allocations: 382.7 kB / 0.6496 GB, free: 47.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003296/3.135, allocations: 259.7 kB / 0.6499 GB, free: 47.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01303/3.148, allocations: 2.002 MB / 0.6518 GB, free: 47.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003258/3.149, allocations: 350.4 kB / 0.6521 GB, free: 47.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02339/3.172, allocations: 1.748 MB / 0.6538 GB, free: 47.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002666/3.175, allocations: 0.6813 MB / 0.6545 GB, free: 47.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * 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 (1008): * Single equations (assignments): 995 * Array equations: 13 * 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.002604/3.177, allocations: 0.5262 MB / 0.655 GB, free: 47.38 MB / 266.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009189/3.186, allocations: 3.585 MB / 0.6585 GB, free: 47.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001852/3.188, allocations: 381.7 kB / 0.6589 GB, free: 47.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/3.192, allocations: 1.574 MB / 0.6604 GB, free: 47.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02813/3.221, allocations: 3.91 MB / 0.6642 GB, free: 47.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-05/3.221, allocations: 5.625 kB / 0.6643 GB, free: 47.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.552e-05/3.221, allocations: 11.44 kB / 0.6643 GB, free: 47.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09859/3.319, allocations: 17.41 MB / 0.6813 GB, free: 42.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.538e-05/3.32, allocations: 26.41 kB / 0.6813 GB, free: 42.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003205/3.323, allocations: 445.3 kB / 0.6817 GB, free: 42.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.094e-05/3.323, allocations: 40.28 kB / 0.6818 GB, free: 42.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005689/3.323, allocations: 123.3 kB / 0.6819 GB, free: 42.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.056e-05/3.323, allocations: 54.42 kB / 0.6819 GB, free: 42.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.791e-05/3.323, allocations: 47.47 kB / 0.682 GB, free: 42.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/3.34, allocations: 10.44 MB / 0.6922 GB, free: 34.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003649/3.343, allocations: 0.9833 MB / 0.6931 GB, free: 33.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001658/3.345, allocations: 39.61 kB / 0.6932 GB, free: 33.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01595/3.361, allocations: 1.377 MB / 0.6945 GB, free: 32.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006905/3.362, allocations: 204.7 kB / 0.6947 GB, free: 32.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007452/3.362, allocations: 274.2 kB / 0.695 GB, free: 32.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.005727/3.368, allocations: 2.527 MB / 0.6974 GB, free: 30.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.92e-07/3.368, allocations: 0 / 0.6974 GB, free: 30.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.01096/3.379, allocations: 1.104 MB / 0.6985 GB, free: 29.19 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 118 * 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 (226): * Single equations (assignments): 213 * Array equations: 13 * 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.01687/3.396, allocations: 17.36 MB / 0.7155 GB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.03157/3.428, allocations: 7.883 MB / 0.7232 GB, free: 5.531 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.687e-05/3.428, allocations: 8.25 kB / 0.7232 GB, free: 5.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01807/3.446, allocations: 3.031 MB / 0.7261 GB, free: 3.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004296/3.45, allocations: 408.8 kB / 0.7265 GB, free: 2.891 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1623/3.613, allocations: 11.86 MB / 0.7381 GB, free: 51.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009782/3.622, allocations: 4.132 MB / 0.7421 GB, free: 50.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0177/3.64, allocations: 2.973 MB / 0.7451 GB, free: 50.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009161/3.649, allocations: 2.842 MB / 0.7478 GB, free: 50.38 MB / 266.7 MB Notification: Performance of SimCode: time 1.453e-06/3.649, allocations: 0 / 0.7478 GB, free: 50.38 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4225/4.072, allocations: 104.8 MB / 0.8502 GB, free: 47.24 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.01721/4.089, allocations: 160.6 kB / 0.8503 GB, free: 47.05 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.918/11.01, allocations: 7.469 kB / 0.8503 GB, free: 47.05 MB / 266.7 MB