Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.309/3.309, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.817e-05/3.837e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4729, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.6735, allocations: 88.69 MB / 443.1 MB, free: 6.355 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/0.6739, allocations: 75.95 kB / 443.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7882/1.462, allocations: 66.64 MB / 0.4979 GB, free: 66.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.935e-06/1.462, allocations: 0 / 0.4979 GB, free: 66.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001524/1.462, allocations: 67.94 kB / 0.4979 GB, free: 66.56 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.0107/1.473, allocations: 3.021 MB / 0.5009 GB, free: 63.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/1.473, allocations: 8.031 kB / 0.5009 GB, free: 63.48 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003023/1.476, allocations: 0.5811 MB / 0.5015 GB, free: 62.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03098/1.507, allocations: 3.282 MB / 0.5047 GB, free: 59.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008389/1.516, allocations: 2.06 MB / 0.5067 GB, free: 57.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/1.516, allocations: 152.4 kB / 0.5068 GB, free: 57.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002503/1.519, allocations: 208 kB / 0.507 GB, free: 57.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02673/1.545, allocations: 6.399 MB / 0.5133 GB, free: 50.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03985/1.585, allocations: 8.471 MB / 0.5216 GB, free: 41.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002129/1.586, allocations: 15.81 kB / 0.5216 GB, free: 41.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002221/1.588, allocations: 12 kB / 0.5216 GB, free: 41.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004047/1.592, allocations: 1.05 MB / 0.5226 GB, free: 40.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09922/1.691, allocations: 26.55 MB / 0.5485 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007813/1.699, allocations: 2.681 MB / 0.5512 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003397/1.703, allocations: 0.8895 MB / 0.552 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003161/1.706, allocations: 1.626 MB / 0.5536 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.208e-05/1.706, allocations: 44.31 kB / 0.5537 GB, free: 7.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=162): time 9.788e-06/1.706, allocations: 0 / 0.5537 GB, free: 7.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.01398/1.72, allocations: 2.146 MB / 0.5557 GB, free: 5.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/1.72, allocations: 64.72 kB / 0.5558 GB, free: 5.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007791/1.728, allocations: 2.034 MB / 0.5578 GB, free: 3.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003143/1.728, allocations: 29.7 kB / 0.5578 GB, free: 3.547 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002478/1.731, allocations: 2.629 MB / 0.5604 GB, free: 0.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.732, allocations: 0.5976 MB / 0.561 GB, free: 276 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000619/1.732, allocations: 0 / 0.561 GB, free: 276 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006955/1.733, allocations: 0.5563 MB / 0.5615 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004863/1.738, allocations: 1.341 MB / 0.5628 GB, free: 14.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008158/1.746, allocations: 4.307 MB / 0.567 GB, free: 8.551 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007941/1.754, allocations: 2.482 MB / 0.5695 GB, free: 6.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/1.754, allocations: 28 kB / 0.5695 GB, free: 6.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01844/1.773, allocations: 4.992 MB / 0.5744 GB, free: 1.035 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/1.773, allocations: 48 kB / 0.5744 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002009/1.773, allocations: 108 kB / 0.5745 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002981/1.774, allocations: 160 kB / 0.5747 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008833/1.782, allocations: 1.061 MB / 0.5757 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002989/1.783, allocations: 211.2 kB / 0.5759 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005679/1.789, allocations: 0.5403 MB / 0.5764 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/1.79, allocations: 300 kB / 0.5767 GB, free: 14.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 18 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (591): * Single equations (assignments): 585 * Array equations: 6 * 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.001101/1.791, allocations: 368.4 kB / 0.5771 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006509/1.792, allocations: 221.1 kB / 0.5773 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006652/1.798, allocations: 2.052 MB / 0.5793 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.582e-05/1.798, allocations: 23.98 kB / 0.5793 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.799, allocations: 0 / 0.5793 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/1.799, allocations: 3.984 kB / 0.5793 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02105/1.82, allocations: 6.051 MB / 0.5852 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/1.82, allocations: 11.98 kB / 0.5852 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002333/1.822, allocations: 199.7 kB / 0.5854 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.915e-05/1.822, allocations: 16 kB / 0.5854 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002989/1.822, allocations: 20.7 kB / 0.5855 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.253e-05/1.822, allocations: 19.94 kB / 0.5855 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.513e-05/1.823, allocations: 19.94 kB / 0.5855 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00713/1.83, allocations: 2.977 MB / 0.5884 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008927/1.831, allocations: 301.8 kB / 0.5887 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006971/1.831, allocations: 12 kB / 0.5887 GB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/1.833, allocations: 31.95 kB / 0.5887 GB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004735/1.834, allocations: 104.5 kB / 0.5888 GB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.834, allocations: 63.91 kB / 0.5889 GB, free: 1.477 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004267/1.838, allocations: 1.324 MB / 0.5902 GB, free: 136 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.838, allocations: 0 / 0.5902 GB, free: 136 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.007074/1.845, allocations: 0.9136 MB / 0.5911 GB, free: 15.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * Array equations: 6 * 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.00914/1.855, allocations: 6.106 MB / 0.597 GB, free: 8.805 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0102/1.865, allocations: 3.222 MB / 0.6002 GB, free: 5.605 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.822e-05/1.865, allocations: 4 kB / 0.6002 GB, free: 5.602 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002731/1.868, allocations: 0.9163 MB / 0.6011 GB, free: 4.688 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/1.87, allocations: 166.5 kB / 0.6012 GB, free: 4.523 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03217/1.902, allocations: 7.419 MB / 0.6085 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009174/1.911, allocations: 3.045 MB / 0.6115 GB, free: 9.855 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0107/1.922, allocations: 1.711 MB / 0.6131 GB, free: 8.137 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005344/1.927, allocations: 1.515 MB / 0.6146 GB, free: 6.621 MB / 458.7 MB Notification: Performance of SimCode: time 2.204e-06/1.927, allocations: 0 / 0.6146 GB, free: 6.621 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6695/2.597, allocations: 47.86 MB / 0.6613 GB, free: 133 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003182/2.597, allocations: 139 kB / 0.6615 GB, free: 132.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.369/7.966, allocations: 3.938 kB / 0.6615 GB, free: 132.8 MB / 474.7 MB