Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Spherical",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.271/2.271, allocations: 209.3 MB / 216.3 MB, free: 4.281 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.187/2.459, allocations: 51.02 MB / 267.3 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/2.743, allocations: 48.7 MB / 316 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/2.917, allocations: 87.76 MB / 403.7 MB, free: 9.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/2.917, allocations: 71.95 kB / 403.8 MB, free: 9.207 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.5728/3.49, allocations: 83.93 MB / 487.7 MB, free: 81.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/3.49, allocations: 8 kB / 487.8 MB, free: 81.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04116/3.531, allocations: 4.429 MB / 492.2 MB, free: 77.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02687/3.558, allocations: 5.288 MB / 497.5 MB, free: 71.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003999/3.559, allocations: 116 kB / 497.6 MB, free: 71.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003617/3.562, allocations: 219.9 kB / 497.8 MB, free: 71.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01931/3.582, allocations: 7.059 MB / 0.493 GB, free: 64.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0316/3.613, allocations: 9.36 MB / 0.5022 GB, free: 54.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001838/3.614, allocations: 27.75 kB / 0.5022 GB, free: 54.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002113/3.616, allocations: 19.91 kB / 0.5022 GB, free: 54.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002462/3.618, allocations: 1.226 MB / 0.5034 GB, free: 53.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08852/3.707, allocations: 35.39 MB / 0.538 GB, free: 17.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007481/3.714, allocations: 4.184 MB / 0.5421 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005078/3.72, allocations: 2.412 MB / 0.5444 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03918/3.759, allocations: 10.75 MB / 0.5549 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.64e-05/3.759, allocations: 43.88 kB / 0.5549 GB, free: 15.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=181): time 8.486e-06/3.759, allocations: 0 / 0.5549 GB, free: 15.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=188): time 0.06117/3.82, allocations: 10.56 MB / 0.5653 GB, free: 4.516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/3.82, allocations: 64.72 kB / 0.5653 GB, free: 4.441 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007277/3.828, allocations: 2.619 MB / 0.5679 GB, free: 1.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006158/3.828, allocations: 33.64 kB / 0.5679 GB, free: 1.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003254/3.831, allocations: 2.752 MB / 0.5706 GB, free: 14.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001474/3.833, allocations: 0.7016 MB / 0.5713 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007817/3.834, allocations: 0 / 0.5713 GB, free: 14.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006765/3.835, allocations: 0.5498 MB / 0.5718 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007609/3.842, allocations: 2.537 MB / 0.5743 GB, free: 11.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0132/3.855, allocations: 5.72 MB / 0.5799 GB, free: 3.828 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1717/4.027, allocations: 3.849 MB / 0.5836 GB, free: 139.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/4.027, allocations: 31.44 kB / 0.5837 GB, free: 139.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.1317/4.159, allocations: 14.65 MB / 0.598 GB, free: 139.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/4.159, allocations: 7.125 kB / 0.598 GB, free: 139.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0978/4.257, allocations: 8.928 MB / 0.6067 GB, free: 139.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1064/4.363, allocations: 6.789 MB / 0.6133 GB, free: 139.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008536/4.372, allocations: 1.253 MB / 0.6146 GB, free: 139.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04886/4.421, allocations: 14.04 MB / 0.6283 GB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008199/4.429, allocations: 248 kB / 0.6285 GB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001852/4.431, allocations: 338.5 kB / 0.6288 GB, free: 136 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (681): * Single equations (assignments): 670 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.001577/4.433, allocations: 385.7 kB / 0.6292 GB, free: 135.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006854/4.433, allocations: 266.9 kB / 0.6295 GB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/4.435, allocations: 429.8 kB / 0.6299 GB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01312/4.448, allocations: 3.949 MB / 0.6337 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/4.448, allocations: 4 kB / 0.6337 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.829e-05/4.448, allocations: 7.594 kB / 0.6337 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03949/4.488, allocations: 10.18 MB / 0.6437 GB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.515e-05/4.488, allocations: 0 / 0.6437 GB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/4.491, allocations: 282.9 kB / 0.6439 GB, free: 123.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005688/4.497, allocations: 0.851 MB / 0.6448 GB, free: 122.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004953/4.497, allocations: 19.97 kB / 0.6448 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/4.508, allocations: 5.157 MB / 0.6498 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00116/4.509, allocations: 1.378 MB / 0.6512 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01899/4.528, allocations: 6.821 MB / 0.6578 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0275/4.556, allocations: 9.703 MB / 0.6673 GB, free: 98.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/4.557, allocations: 337.5 kB / 0.6676 GB, free: 98.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/4.558, allocations: 4 kB / 0.6676 GB, free: 98.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003341/4.561, allocations: 99.83 kB / 0.6677 GB, free: 98.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006573/4.562, allocations: 68.23 kB / 0.6678 GB, free: 98.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/4.562, allocations: 51.98 kB / 0.6678 GB, free: 98.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.004897/4.567, allocations: 1.731 MB / 0.6695 GB, free: 96.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008557/4.576, allocations: 0.9889 MB / 0.6705 GB, free: 95.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 120 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009273/4.577, allocations: 142.4 kB / 0.6706 GB, free: 95.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0176/4.594, allocations: 6.084 MB / 0.6766 GB, free: 89.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/4.594, allocations: 0 / 0.6766 GB, free: 89.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006091/4.601, allocations: 2.197 MB / 0.6787 GB, free: 87.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/4.603, allocations: 235.1 kB / 0.679 GB, free: 86.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02899/4.632, allocations: 8.025 MB / 0.6868 GB, free: 78.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01253/4.645, allocations: 3.466 MB / 0.6902 GB, free: 75.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.164e-06/4.645, allocations: 0 / 0.6902 GB, free: 75.52 MB / 410.7 MB