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 2.665/2.665, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.976e-05, allocations: 0 / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.441, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/0.626, allocations: 88.69 MB / 443.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.6263, allocations: 79.94 kB / 443.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6663/1.293, allocations: 66.37 MB / 0.4976 GB, free: 66.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.293, allocations: 0 / 0.4976 GB, free: 66.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001523/1.293, allocations: 64 kB / 0.4977 GB, free: 66.83 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.01052/1.303, allocations: 3.026 MB / 0.5006 GB, free: 63.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/1.304, allocations: 8.031 kB / 0.5007 GB, free: 63.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02757/1.331, allocations: 3.286 MB / 0.5039 GB, free: 60.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007296/1.338, allocations: 2.06 MB / 0.5059 GB, free: 58.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/1.339, allocations: 116 kB / 0.506 GB, free: 58.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002157/1.341, allocations: 205.2 kB / 0.5062 GB, free: 58.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01602/1.357, allocations: 6.403 MB / 0.5124 GB, free: 51.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02907/1.386, allocations: 8.479 MB / 0.5207 GB, free: 42.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001819/1.386, allocations: 15.81 kB / 0.5207 GB, free: 42.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001891/1.388, allocations: 19.94 kB / 0.5207 GB, free: 42.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003019/1.391, allocations: 1.046 MB / 0.5218 GB, free: 41.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07346/1.465, allocations: 26.55 MB / 0.5477 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004975/1.47, allocations: 2.683 MB / 0.5503 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/1.472, allocations: 0.8778 MB / 0.5512 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002006/1.474, allocations: 1.622 MB / 0.5528 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/1.474, allocations: 47.91 kB / 0.5528 GB, free: 8.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=162): time 8.395e-06/1.474, allocations: 6.391 kB / 0.5528 GB, free: 8.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.008355/1.482, allocations: 2.142 MB / 0.5549 GB, free: 6.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.482, allocations: 64.72 kB / 0.555 GB, free: 6.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/1.487, allocations: 2.034 MB / 0.5569 GB, free: 4.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002716/1.487, allocations: 37.64 kB / 0.557 GB, free: 4.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001994/1.489, allocations: 2.626 MB / 0.5595 GB, free: 1.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008392/1.49, allocations: 0.5898 MB / 0.5601 GB, free: 1.164 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/1.49, allocations: 4 kB / 0.5601 GB, free: 1.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004467/1.491, allocations: 0.5525 MB / 0.5607 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003573/1.494, allocations: 1.345 MB / 0.562 GB, free: 15.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007602/1.502, allocations: 4.307 MB / 0.5662 GB, free: 9.441 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0071/1.509, allocations: 2.486 MB / 0.5686 GB, free: 6.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/1.509, allocations: 28 kB / 0.5686 GB, free: 6.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01698/1.526, allocations: 4.996 MB / 0.5735 GB, free: 1.918 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.527, allocations: 48.94 kB / 0.5736 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/1.527, allocations: 108 kB / 0.5737 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/1.527, allocations: 156 kB / 0.5738 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00747/1.535, allocations: 1.076 MB / 0.5749 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002517/1.535, allocations: 207.2 kB / 0.5751 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005064/1.54, allocations: 0.5325 MB / 0.5756 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.541, allocations: 303.9 kB / 0.5759 GB, free: 15.5 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.0009948/1.542, allocations: 368.5 kB / 0.5762 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005088/1.547, allocations: 1.791 MB / 0.578 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005354/1.548, allocations: 217.1 kB / 0.5782 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006045/1.554, allocations: 2.052 MB / 0.5802 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.459e-05/1.554, allocations: 20 kB / 0.5802 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.554, allocations: 0 / 0.5802 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/1.554, allocations: 3.984 kB / 0.5802 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/1.573, allocations: 6.044 MB / 0.5861 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.271e-05/1.573, allocations: 8 kB / 0.5861 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/1.575, allocations: 211.8 kB / 0.5863 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.633e-05/1.575, allocations: 16 kB / 0.5863 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/1.575, allocations: 19.98 kB / 0.5864 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.722e-05/1.575, allocations: 15.94 kB / 0.5864 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.864e-05/1.575, allocations: 19.89 kB / 0.5864 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00634/1.581, allocations: 2.969 MB / 0.5893 GB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008102/1.582, allocations: 297.8 kB / 0.5896 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006757/1.583, allocations: 23.97 kB / 0.5896 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.585, allocations: 31.95 kB / 0.5896 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/1.585, allocations: 100.5 kB / 0.5897 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/1.585, allocations: 63.91 kB / 0.5898 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003603/1.589, allocations: 1.32 MB / 0.5911 GB, free: 15.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.589, allocations: 0 / 0.5911 GB, free: 15.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006313/1.595, allocations: 0.9213 MB / 0.592 GB, free: 14.3 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.008163/1.603, allocations: 6.106 MB / 0.5979 GB, free: 7.891 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009038/1.612, allocations: 3.226 MB / 0.6011 GB, free: 4.691 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.655e-05/1.613, allocations: 5.625 kB / 0.6011 GB, free: 4.688 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002383/1.615, allocations: 0.9226 MB / 0.602 GB, free: 3.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/1.617, allocations: 163.6 kB / 0.6021 GB, free: 3.605 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/1.643, allocations: 7.407 MB / 0.6094 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007495/1.651, allocations: 3.049 MB / 0.6124 GB, free: 8.941 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008798/1.66, allocations: 1.707 MB / 0.614 GB, free: 7.227 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004371/1.664, allocations: 1.519 MB / 0.6155 GB, free: 5.707 MB / 458.7 MB Notification: Performance of SimCode: time 1.572e-06/1.664, allocations: 0 / 0.6155 GB, free: 5.707 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.626/2.29, allocations: 47.59 MB / 0.662 GB, free: 134.5 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002228/2.291, allocations: 146.5 kB / 0.6621 GB, free: 134.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.599/6.889, allocations: 0 / 0.6621 GB, free: 134.3 MB / 474.7 MB