Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2",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.328/2.328, allocations: 235 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1896/2.518, allocations: 57.21 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/2.797, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/3.253, allocations: 97.15 MB / 451.1 MB, free: 32.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/3.254, allocations: 73.77 kB / 451.2 MB, free: 32.25 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: 1717 * Number of variables: 1717 Notification: Performance of Generate backend data structure: time 0.4479/3.702, allocations: 92.5 MB / 0.531 GB, free: 6.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/3.702, allocations: 12 kB / 0.531 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02926/3.731, allocations: 2.868 MB / 0.5338 GB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02298/3.754, allocations: 4.737 MB / 0.5384 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006998/3.755, allocations: 147.9 kB / 0.5385 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004504/3.759, allocations: 256 kB / 0.5388 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03315/3.793, allocations: 8.116 MB / 0.5467 GB, free: 6.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03803/3.831, allocations: 10.55 MB / 0.557 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002389/3.831, allocations: 23.8 kB / 0.557 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002771/3.834, allocations: 20 kB / 0.5571 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003351/3.837, allocations: 1.321 MB / 0.5583 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1035/3.941, allocations: 35.84 MB / 0.5933 GB, free: 5.848 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007847/3.949, allocations: 2.753 MB / 0.596 GB, free: 3.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006008/3.955, allocations: 2.299 MB / 0.5983 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0295/3.984, allocations: 9.728 MB / 0.6078 GB, free: 6.508 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/3.984, allocations: 51.88 kB / 0.6078 GB, free: 6.445 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 7.074e-06/3.984, allocations: 3.938 kB / 0.6078 GB, free: 6.441 MB / 474.7 MB Notification: Performance of matching and sorting (n=234): time 0.267/4.251, allocations: 11.17 MB / 0.6187 GB, free: 152.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/4.251, allocations: 72.5 kB / 0.6188 GB, free: 152.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006464/4.258, allocations: 2.637 MB / 0.6214 GB, free: 151.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005666/4.259, allocations: 29.67 kB / 0.6214 GB, free: 151.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002442/4.261, allocations: 3.021 MB / 0.6244 GB, free: 150.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001358/4.262, allocations: 0.8663 MB / 0.6252 GB, free: 149.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008243/4.263, allocations: 0 / 0.6252 GB, free: 149.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005778/4.264, allocations: 0.5682 MB / 0.6258 GB, free: 149.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006252/4.27, allocations: 2.367 MB / 0.6281 GB, free: 149.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009205/4.279, allocations: 5.74 MB / 0.6337 GB, free: 145 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009231/4.289, allocations: 3.763 MB / 0.6374 GB, free: 145 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/4.289, allocations: 33.59 kB / 0.6374 GB, free: 145 MB / 474.7 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.03743/4.326, allocations: 8.124 MB / 0.6453 GB, free: 144.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/4.326, allocations: 3.469 kB / 0.6453 GB, free: 144.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003013/4.327, allocations: 121.4 kB / 0.6454 GB, free: 144.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009265/4.336, allocations: 0.8966 MB / 0.6463 GB, free: 144.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01456/4.351, allocations: 1.401 MB / 0.6477 GB, free: 144.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/4.356, allocations: 2.358 MB / 0.65 GB, free: 143.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/4.367, allocations: 177 kB / 0.6502 GB, free: 143.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001981/4.369, allocations: 366.3 kB / 0.6505 GB, free: 143.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * 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],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 (766): * Single equations (assignments): 757 * 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 {(3,100.0%),(2,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 prepare postOptimizeDAE: time 0.001978/4.371, allocations: 398.9 kB / 0.6509 GB, free: 142.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/4.372, allocations: 289.2 kB / 0.6512 GB, free: 142.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02298/4.395, allocations: 4.564 MB / 0.6556 GB, free: 142.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001508/4.395, allocations: 39.11 kB / 0.6557 GB, free: 142.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/4.395, allocations: 0 / 0.6557 GB, free: 142.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-05/4.396, allocations: 6.797 kB / 0.6557 GB, free: 142.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03468/4.43, allocations: 8.832 MB / 0.6643 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.328e-05/4.43, allocations: 7.594 kB / 0.6643 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003874/4.434, allocations: 348.6 kB / 0.6646 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005927/4.44, allocations: 0.5415 MB / 0.6652 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006396/4.441, allocations: 30.28 kB / 0.6652 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003337/4.444, allocations: 1.935 MB / 0.6671 GB, free: 140.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/4.444, allocations: 3.531 kB / 0.6671 GB, free: 140.7 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01899/4.463, allocations: 6.791 MB / 0.6737 GB, free: 138.3 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02444/4.488, allocations: 9.61 MB / 0.6831 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/4.489, allocations: 337 kB / 0.6834 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/4.491, allocations: 16.56 kB / 0.6834 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003323/4.494, allocations: 50.09 kB / 0.6835 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006358/4.495, allocations: 108.4 kB / 0.6836 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003417/4.495, allocations: 70.42 kB / 0.6837 GB, free: 134.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005554/4.501, allocations: 1.741 MB / 0.6854 GB, free: 133.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008518/4.509, allocations: 0.8865 MB / 0.6862 GB, free: 133.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * 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.001064/4.51, allocations: 156 kB / 0.6864 GB, free: 133.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01775/4.528, allocations: 5.914 MB / 0.6921 GB, free: 131.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/4.528, allocations: 0 / 0.6921 GB, free: 131.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007063/4.535, allocations: 2.271 MB / 0.6944 GB, free: 129.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/4.538, allocations: 262.9 kB / 0.6946 GB, free: 129.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/4.567, allocations: 9.001 MB / 0.7034 GB, free: 121.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01022/4.577, allocations: 3.923 MB / 0.7072 GB, free: 118.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.903e-06/4.577, allocations: 0 / 0.7072 GB, free: 118.6 MB / 474.7 MB