Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotion",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.235/2.235, allocations: 234.9 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1811/2.416, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/2.68, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3931/3.073, allocations: 95.2 MB / 449.2 MB, free: 31.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/3.074, allocations: 72.17 kB / 449.2 MB, free: 31.53 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.4165/3.49, allocations: 87.7 MB / 0.5244 GB, free: 13.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.466e-05/3.49, allocations: 12 kB / 0.5244 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0315/3.522, allocations: 2.954 MB / 0.5273 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02571/3.548, allocations: 4.986 MB / 0.5321 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004969/3.548, allocations: 124 kB / 0.5322 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003901/3.552, allocations: 220 kB / 0.5325 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03213/3.584, allocations: 7.446 MB / 0.5397 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04687/3.631, allocations: 9.752 MB / 0.5493 GB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003475/3.632, allocations: 27.72 kB / 0.5493 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003358/3.635, allocations: 12 kB / 0.5493 GB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00437/3.639, allocations: 1.277 MB / 0.5505 GB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.111/3.751, allocations: 34.46 MB / 0.5842 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007582/3.758, allocations: 2.726 MB / 0.5868 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006068/3.764, allocations: 2.252 MB / 0.589 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02883/3.793, allocations: 9.564 MB / 0.5984 GB, free: 36 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/3.793, allocations: 47.95 kB / 0.5984 GB, free: 15.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=214): time 6.853e-06/3.793, allocations: 0 / 0.5984 GB, free: 15.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=239): time 0.06589/3.859, allocations: 15.48 MB / 0.6136 GB, free: 396 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/3.859, allocations: 73.41 kB / 0.6136 GB, free: 308 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1828/4.042, allocations: 2.6 MB / 0.6162 GB, free: 159.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005712/4.043, allocations: 25.7 kB / 0.6162 GB, free: 159.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002024/4.045, allocations: 2.801 MB / 0.6189 GB, free: 158.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001485/4.046, allocations: 0.8718 MB / 0.6198 GB, free: 158.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007922/4.047, allocations: 0 / 0.6198 GB, free: 158.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006712/4.048, allocations: 0.569 MB / 0.6203 GB, free: 157.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009881/4.058, allocations: 2.542 MB / 0.6228 GB, free: 157.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009775/4.068, allocations: 5.799 MB / 0.6285 GB, free: 153.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009222/4.077, allocations: 3.912 MB / 0.6323 GB, free: 153.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/4.077, allocations: 36.53 kB / 0.6323 GB, free: 153.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=806) (initialization): time 0.03983/4.117, allocations: 9 MB / 0.6411 GB, free: 153.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/4.117, allocations: 7.469 kB / 0.6411 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02478/4.142, allocations: 4.422 MB / 0.6454 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02321/4.165, allocations: 1.613 MB / 0.647 GB, free: 153.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01313/4.178, allocations: 1.351 MB / 0.6483 GB, free: 153 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/4.189, allocations: 4.571 MB / 0.6528 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007765/4.197, allocations: 226 kB / 0.653 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001862/4.199, allocations: 350.5 kB / 0.6534 GB, free: 150.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * 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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (744): * Single equations (assignments): 732 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002675/4.202, allocations: 398.1 kB / 0.6537 GB, free: 150.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000891/4.203, allocations: 279.6 kB / 0.654 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/4.222, allocations: 5.033 MB / 0.6589 GB, free: 149.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01635/4.238, allocations: 4.496 MB / 0.6633 GB, free: 149.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.556e-05/4.238, allocations: 0 / 0.6633 GB, free: 149.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.315e-05/4.238, allocations: 13.89 kB / 0.6633 GB, free: 149.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04226/4.281, allocations: 11.85 MB / 0.6749 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.544e-05/4.281, allocations: 3.656 kB / 0.6749 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004995/4.286, allocations: 342.4 kB / 0.6752 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01337/4.299, allocations: 1.029 MB / 0.6762 GB, free: 145.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000832/4.3, allocations: 24.17 kB / 0.6763 GB, free: 145.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/4.312, allocations: 4.224 MB / 0.6804 GB, free: 142.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00176/4.314, allocations: 1.364 MB / 0.6817 GB, free: 141.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03619/4.35, allocations: 7.945 MB / 0.6895 GB, free: 138.4 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0426/4.393, allocations: 11.15 MB / 0.7004 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/4.394, allocations: 344.5 kB / 0.7007 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00176/4.396, allocations: 11.8 kB / 0.7007 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005078/4.401, allocations: 96.73 kB / 0.7008 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007584/4.402, allocations: 106.3 kB / 0.7009 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002927/4.402, allocations: 59.84 kB / 0.7009 GB, free: 128.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005505/4.408, allocations: 1.72 MB / 0.7026 GB, free: 126.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01188/4.42, allocations: 0.9865 MB / 0.7036 GB, free: 125.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 172 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/4.421, allocations: 166.5 kB / 0.7037 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01816/4.439, allocations: 6.493 MB / 0.7101 GB, free: 119.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/4.439, allocations: 8 kB / 0.7101 GB, free: 119.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01237/4.451, allocations: 2.737 MB / 0.7128 GB, free: 117.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/4.454, allocations: 233.3 kB / 0.713 GB, free: 117 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02752/4.482, allocations: 8.916 MB / 0.7217 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01063/4.493, allocations: 3.686 MB / 0.7253 GB, free: 106.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.723e-06/4.493, allocations: 0 / 0.7253 GB, free: 106.3 MB / 474.7 MB