Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1828/2.556, allocations: 57.2 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/2.835, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/3.008, allocations: 88.63 MB / 442.6 MB, free: 4.699 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/3.008, allocations: 75.95 kB / 442.7 MB, free: 4.625 MB / 378.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.5435/3.552, allocations: 68.68 MB / 0.4994 GB, free: 33.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/3.552, allocations: 8 kB / 0.4994 GB, free: 33.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03883/3.59, allocations: 2.651 MB / 0.502 GB, free: 30.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/3.602, allocations: 2.067 MB / 0.504 GB, free: 28.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/3.602, allocations: 119.9 kB / 0.5041 GB, free: 28.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002878/3.605, allocations: 200 kB / 0.5043 GB, free: 28.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0174/3.623, allocations: 6.508 MB / 0.5106 GB, free: 21.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03151/3.654, allocations: 8.568 MB / 0.519 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/3.655, allocations: 19.81 kB / 0.519 GB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001824/3.656, allocations: 12 kB / 0.519 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001622/3.658, allocations: 1.109 MB / 0.5201 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07693/3.735, allocations: 26.63 MB / 0.5461 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00736/3.742, allocations: 2.669 MB / 0.5487 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003234/3.746, allocations: 0.8907 MB / 0.5496 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003299/3.749, allocations: 1.63 MB / 0.5512 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.07e-05/3.749, allocations: 48.09 kB / 0.5512 GB, free: 10.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=162): time 7.725e-06/3.749, allocations: 3.938 kB / 0.5512 GB, free: 10.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.01163/3.761, allocations: 2.239 MB / 0.5534 GB, free: 8.449 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/3.761, allocations: 64.41 kB / 0.5535 GB, free: 8.371 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006641/3.768, allocations: 2.073 MB / 0.5555 GB, free: 6.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002946/3.768, allocations: 25.7 kB / 0.5555 GB, free: 6.238 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003278/3.771, allocations: 2.547 MB / 0.558 GB, free: 3.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001319/3.773, allocations: 0.6014 MB / 0.5586 GB, free: 3.035 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004568/3.773, allocations: 0 / 0.5586 GB, free: 3.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008112/3.774, allocations: 0.5525 MB / 0.5592 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005418/3.779, allocations: 1.388 MB / 0.5605 GB, free: 1.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009076/3.789, allocations: 4.354 MB / 0.5648 GB, free: 11.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009077/3.798, allocations: 2.561 MB / 0.5673 GB, free: 8.656 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001414/3.798, allocations: 28 kB / 0.5673 GB, free: 8.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01891/3.817, allocations: 5.08 MB / 0.5723 GB, free: 3.543 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/3.817, allocations: 4 kB / 0.5723 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001995/3.817, allocations: 108 kB / 0.5724 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/3.817, allocations: 156 kB / 0.5725 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/3.828, allocations: 1.061 MB / 0.5735 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003361/3.829, allocations: 207.2 kB / 0.5737 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008949/3.838, allocations: 0.5289 MB / 0.5743 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002361/3.84, allocations: 300 kB / 0.5745 GB, free: 1.188 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.001478/3.842, allocations: 364.2 kB / 0.5749 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005712/3.842, allocations: 217.1 kB / 0.5751 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008618/3.851, allocations: 2.122 MB / 0.5772 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001168/3.851, allocations: 12 kB / 0.5772 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/3.851, allocations: 0 / 0.5772 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/3.851, allocations: 3.984 kB / 0.5772 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02774/3.879, allocations: 6.415 MB / 0.5835 GB, free: 7.781 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.72e-05/3.879, allocations: 8 kB / 0.5835 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/3.881, allocations: 195.7 kB / 0.5836 GB, free: 7.582 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-05/3.881, allocations: 12 kB / 0.5837 GB, free: 7.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/3.881, allocations: 24.72 kB / 0.5837 GB, free: 7.547 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.499e-05/3.881, allocations: 23.92 kB / 0.5837 GB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.99e-05/3.881, allocations: 15.94 kB / 0.5837 GB, free: 7.508 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005988/3.887, allocations: 3.028 MB / 0.5867 GB, free: 4.039 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00745/3.894, allocations: 3.423 MB / 0.59 GB, free: 176 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007915/3.895, allocations: 301.9 kB / 0.5903 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006994/3.896, allocations: 15.98 kB / 0.5903 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/3.898, allocations: 23.89 kB / 0.5903 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/3.898, allocations: 84.41 kB / 0.5904 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001945/3.898, allocations: 55.98 kB / 0.5905 GB, free: 15.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.006459/3.905, allocations: 1.359 MB / 0.5918 GB, free: 14.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01184/3.917, allocations: 0.9251 MB / 0.5927 GB, free: 13.37 MB / 458.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.0009451/3.918, allocations: 142.9 kB / 0.5928 GB, free: 13.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01316/3.931, allocations: 3.323 MB / 0.5961 GB, free: 9.918 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.35e-05/3.931, allocations: 4 kB / 0.5961 GB, free: 9.914 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004139/3.935, allocations: 0.9376 MB / 0.597 GB, free: 8.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/3.937, allocations: 176 kB / 0.5972 GB, free: 8.805 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03088/3.968, allocations: 6.414 MB / 0.6034 GB, free: 2.199 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1977/4.165, allocations: 3.257 MB / 0.6066 GB, free: 160.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.983e-06/4.165, allocations: 3.375 kB / 0.6066 GB, free: 160.3 MB / 458.7 MB