Notification: Performance of loadModel(Modelica): time 0.9997/0.9997, allocations: 111.2 MB / 118.4 MB, free: 15.6 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.737e-05, allocations: 6.969 kB / 145.9 MB, free: 4.047 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.13, allocations: 25.15 MB / 171.1 MB, free: 1.762 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08008/0.2101, allocations: 45.66 MB / 216.7 MB, free: 7.855 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.2105, allocations: 75.95 kB / 216.8 MB, free: 7.781 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.9276/1.138, allocations: 156.2 MB / 373 MB, free: 33.67 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003198/1.138, allocations: 103.8 kB / 373.1 MB, free: 33.67 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: 1772 * Number of variables: 1772 Notification: Performance of Generate backend data structure: time 0.03549/1.174, allocations: 7.025 MB / 380.2 MB, free: 31.55 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/1.174, allocations: 9.625 kB / 380.2 MB, free: 31.55 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2309/1.405, allocations: 24.82 MB / 405 MB, free: 30.62 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02834/1.433, allocations: 7.496 MB / 412.5 MB, free: 27.43 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003602/1.434, allocations: 168.8 kB / 412.7 MB, free: 27.27 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004476/1.438, allocations: 284.7 kB / 412.9 MB, free: 27 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03288/1.471, allocations: 13.69 MB / 426.6 MB, free: 15.43 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04739/1.519, allocations: 15.42 MB / 442 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003724/1.519, allocations: 43.08 kB / 442.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003889/1.523, allocations: 16 kB / 442.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.07269/1.596, allocations: 8.243 MB / 450.3 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9699/2.566, allocations: 107.8 MB / 0.545 GB, free: 31.2 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/2.579, allocations: 4.919 MB / 0.5498 GB, free: 30.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00776/2.587, allocations: 3.233 MB / 0.553 GB, free: 30.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006579/2.587, allocations: 350.7 kB / 0.5533 GB, free: 29.97 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/2.587, allocations: 76.36 kB / 0.5534 GB, free: 29.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=265): time 8.596e-06/2.587, allocations: 0 / 0.5534 GB, free: 29.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=301): time 0.1008/2.688, allocations: 28.66 MB / 0.5814 GB, free: 20.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001759/2.688, allocations: 474.1 kB / 0.5818 GB, free: 19.69 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/2.699, allocations: 3.705 MB / 0.5855 GB, free: 18.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001281/2.701, allocations: 28.92 kB / 0.5855 GB, free: 18.29 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003772/2.704, allocations: 3.572 MB / 0.589 GB, free: 15.86 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002524/2.707, allocations: 1.066 MB / 0.59 GB, free: 15.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/2.708, allocations: 0 / 0.59 GB, free: 15.05 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004882/2.709, allocations: 0.6254 MB / 0.5906 GB, free: 14.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008822/2.718, allocations: 3.56 MB / 0.5941 GB, free: 13.35 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/2.73, allocations: 7.72 MB / 0.6016 GB, free: 6.488 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/2.74, allocations: 4.552 MB / 0.6061 GB, free: 3.828 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002195/2.74, allocations: 43.72 kB / 0.6061 GB, free: 3.789 MB / 250.7 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.03444/2.775, allocations: 11.25 MB / 0.6171 GB, free: 10.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/2.775, allocations: 70.81 kB / 0.6172 GB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005461/2.776, allocations: 267.5 kB / 0.6174 GB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008022/2.784, allocations: 1.417 MB / 0.6188 GB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01687/2.801, allocations: 1.76 MB / 0.6205 GB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02544/2.826, allocations: 7.91 MB / 0.6283 GB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04312/2.869, allocations: 1.577 MB / 0.6298 GB, free: 240 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007366/2.877, allocations: 0.7537 MB / 0.6305 GB, free: 0 / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 671 * 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 (897): * Single equations (assignments): 882 * Array equations: 14 * 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.003122/2.88, allocations: 482.2 kB / 0.631 GB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02504/2.905, allocations: 6.415 MB / 0.6373 GB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002482/2.907, allocations: 406.2 kB / 0.6377 GB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/2.923, allocations: 4.639 MB / 0.6422 GB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03495/2.958, allocations: 6.512 MB / 0.6485 GB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.925e-05/2.958, allocations: 8.562 kB / 0.6486 GB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.408e-05/2.958, allocations: 16.38 kB / 0.6486 GB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2097/3.168, allocations: 20.56 MB / 0.6686 GB, free: 67.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.825e-05/3.168, allocations: 7.812 kB / 0.6687 GB, free: 67.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00406/3.172, allocations: 440.9 kB / 0.6691 GB, free: 67.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006014/3.178, allocations: 1.184 MB / 0.6702 GB, free: 67.03 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008993/3.179, allocations: 88.64 kB / 0.6703 GB, free: 67.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/3.194, allocations: 6.949 MB / 0.6771 GB, free: 65.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.556e-05/3.194, allocations: 15.12 kB / 0.6771 GB, free: 65.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02584/3.219, allocations: 11.8 MB / 0.6886 GB, free: 62.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004726/3.224, allocations: 1.132 MB / 0.6897 GB, free: 62.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001875/3.226, allocations: 11.53 kB / 0.6898 GB, free: 62.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01563/3.242, allocations: 1.351 MB / 0.6911 GB, free: 62.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007227/3.243, allocations: 154.1 kB / 0.6912 GB, free: 62.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006735/3.243, allocations: 238.6 kB / 0.6915 GB, free: 62.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.005205/3.248, allocations: 2.498 MB / 0.6939 GB, free: 61.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.11e-07/3.249, allocations: 0 / 0.6939 GB, free: 61.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.009572/3.258, allocations: 1.192 MB / 0.6951 GB, free: 61.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (229): * Single equations (assignments): 216 * Array equations: 12 * 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.02637/3.285, allocations: 14.34 MB / 0.7091 GB, free: 53.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.02872/3.313, allocations: 9.237 MB / 0.7181 GB, free: 46.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/3.313, allocations: 4 kB / 0.7181 GB, free: 46.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01842/3.332, allocations: 4.197 MB / 0.7222 GB, free: 43.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/3.336, allocations: 427.6 kB / 0.7226 GB, free: 42.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0348/3.371, allocations: 12.22 MB / 0.7345 GB, free: 32.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00728/3.378, allocations: 3.981 MB / 0.7384 GB, free: 29.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.01514/3.393, allocations: 2.881 MB / 0.7412 GB, free: 26.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008132/3.402, allocations: 2.666 MB / 0.7438 GB, free: 24.22 MB / 282.7 MB Notification: Performance of SimCode: time 1.382e-06/3.402, allocations: 8 kB / 0.7438 GB, free: 24.21 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5634/3.965, allocations: 118.1 MB / 0.8592 GB, free: 34.61 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004407/3.97, allocations: 154.8 kB / 0.8593 GB, free: 34.43 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.155/11.12, allocations: 0 / 0.8593 GB, free: 34.43 MB / 282.7 MB