Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4",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.354/2.354, allocations: 234.9 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1518/2.506, allocations: 57.21 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/2.797, allocations: 54.85 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4468/3.244, allocations: 100.9 MB / 454.9 MB, free: 34.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/3.244, allocations: 74.56 kB / 454.9 MB, free: 34.37 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: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.5206/3.765, allocations: 99.57 MB / 0.5415 GB, free: 12.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/3.765, allocations: 8 kB / 0.5415 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02822/3.793, allocations: 2.922 MB / 0.5444 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02385/3.817, allocations: 4.925 MB / 0.5492 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005761/3.818, allocations: 167.9 kB / 0.5493 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003543/3.821, allocations: 295.9 kB / 0.5496 GB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02836/3.85, allocations: 8.642 MB / 0.5581 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04155/3.891, allocations: 11.34 MB / 0.5691 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004166/3.892, allocations: 27.72 kB / 0.5692 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003211/3.895, allocations: 16 kB / 0.5692 GB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004619/3.9, allocations: 1.396 MB / 0.5705 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1067/4.006, allocations: 39.98 MB / 0.6096 GB, free: 5.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00825/4.015, allocations: 2.941 MB / 0.6125 GB, free: 2.141 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1939/4.209, allocations: 2.423 MB / 0.6148 GB, free: 145.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02702/4.236, allocations: 10.04 MB / 0.6246 GB, free: 142.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/4.236, allocations: 54.75 kB / 0.6247 GB, free: 142.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=230): time 7.624e-06/4.236, allocations: 0 / 0.6247 GB, free: 142.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=257): time 0.06155/4.297, allocations: 15.5 MB / 0.6398 GB, free: 141 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/4.298, allocations: 71.19 kB / 0.6399 GB, free: 141 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007459/4.305, allocations: 2.829 MB / 0.6427 GB, free: 140.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000646/4.306, allocations: 25.7 kB / 0.6427 GB, free: 140.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003123/4.309, allocations: 3.28 MB / 0.6459 GB, free: 138.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002051/4.311, allocations: 0.9493 MB / 0.6468 GB, free: 138.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/4.312, allocations: 0 / 0.6468 GB, free: 138.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007918/4.313, allocations: 0.5902 MB / 0.6474 GB, free: 137.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00868/4.322, allocations: 2.57 MB / 0.6499 GB, free: 137.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01289/4.334, allocations: 6.181 MB / 0.6559 GB, free: 133.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/4.348, allocations: 4.07 MB / 0.6599 GB, free: 133.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00019/4.348, allocations: 39.03 kB / 0.6599 GB, free: 133.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=882) (initialization): time 0.04834/4.396, allocations: 9.723 MB / 0.6694 GB, free: 132.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/4.397, allocations: 7.719 kB / 0.6694 GB, free: 132.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002815/4.397, allocations: 126.6 kB / 0.6696 GB, free: 132.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01931/4.416, allocations: 2.168 MB / 0.6717 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00998/4.426, allocations: 1.47 MB / 0.6731 GB, free: 132.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02863/4.455, allocations: 9.34 MB / 0.6822 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00792/4.463, allocations: 175.5 kB / 0.6824 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001877/4.465, allocations: 406.3 kB / 0.6828 GB, free: 127.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (801): * Single equations (assignments): 793 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 5,3 24} Notification: Performance of prepare postOptimizeDAE: time 0.002016/4.467, allocations: 426 kB / 0.6832 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009276/4.468, allocations: 311.7 kB / 0.6835 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/4.483, allocations: 4.827 MB / 0.6882 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001564/4.483, allocations: 44.31 kB / 0.6883 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/4.483, allocations: 3.906 kB / 0.6883 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.492e-05/4.483, allocations: 9.469 kB / 0.6883 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03365/4.517, allocations: 9.593 MB / 0.6976 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.292e-05/4.517, allocations: 4 kB / 0.6976 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00463/4.522, allocations: 401.1 kB / 0.698 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00427/4.526, allocations: 0.6418 MB / 0.6986 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007242/4.527, allocations: 34.86 kB / 0.6987 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/4.531, allocations: 2.299 MB / 0.7009 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/4.531, allocations: 1.406 kB / 0.7009 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0189/4.55, allocations: 7.367 MB / 0.7081 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02463/4.575, allocations: 10.49 MB / 0.7184 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/4.576, allocations: 351.3 kB / 0.7187 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/4.578, allocations: 15.44 kB / 0.7187 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003704/4.581, allocations: 63.19 kB / 0.7188 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008531/4.582, allocations: 117.7 kB / 0.7189 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003316/4.583, allocations: 67.78 kB / 0.719 GB, free: 105 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004995/4.588, allocations: 1.863 MB / 0.7208 GB, free: 103.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009624/4.597, allocations: 1.02 MB / 0.7218 GB, free: 102.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 202 * 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): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.598, allocations: 156.4 kB / 0.7219 GB, free: 102.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01538/4.614, allocations: 6.171 MB / 0.7279 GB, free: 96.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/4.614, allocations: 4 kB / 0.728 GB, free: 96.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007701/4.622, allocations: 2.557 MB / 0.7304 GB, free: 94.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/4.625, allocations: 296.7 kB / 0.7307 GB, free: 94.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02976/4.655, allocations: 9.603 MB / 0.7401 GB, free: 85.49 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01164/4.666, allocations: 4.215 MB / 0.7442 GB, free: 82.23 MB / 474.7 MB Notification: Performance of SimCode: time 2.024e-06/4.666, allocations: 0 / 0.7442 GB, free: 82.23 MB / 474.7 MB