Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_3_2_1_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 1.95/1.95, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2122/2.162, allocations: 51.04 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/2.271, allocations: 48.69 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/2.676, allocations: 94.39 MB / 410.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/2.676, allocations: 88.72 kB / 410.5 MB, free: 14.58 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: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.7064/3.383, allocations: 99.55 MB / 0.4981 GB, free: 87.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/3.383, allocations: 11.56 kB / 0.4981 GB, free: 87.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03588/3.419, allocations: 2.914 MB / 0.5009 GB, free: 87.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0245/3.443, allocations: 4.925 MB / 0.5057 GB, free: 86.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004965/3.444, allocations: 160 kB / 0.5059 GB, free: 86.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003924/3.448, allocations: 301.6 kB / 0.5062 GB, free: 86.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03076/3.479, allocations: 8.638 MB / 0.5146 GB, free: 86.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03932/3.518, allocations: 11.34 MB / 0.5257 GB, free: 84.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002948/3.518, allocations: 36.34 kB / 0.5257 GB, free: 84.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003011/3.521, allocations: 15.5 kB / 0.5257 GB, free: 84.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002859/3.524, allocations: 1.399 MB / 0.5271 GB, free: 84.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09957/3.624, allocations: 39.97 MB / 0.5661 GB, free: 58.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006886/3.631, allocations: 2.942 MB / 0.569 GB, free: 55.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005193/3.636, allocations: 2.42 MB / 0.5714 GB, free: 53.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02505/3.661, allocations: 10.04 MB / 0.5812 GB, free: 44.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/3.661, allocations: 49.22 kB / 0.5812 GB, free: 44.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=230): time 6.502e-06/3.661, allocations: 0 / 0.5812 GB, free: 44.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=257): time 0.07336/3.735, allocations: 15.5 MB / 0.5964 GB, free: 30.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/3.735, allocations: 73.41 kB / 0.5964 GB, free: 30.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/3.745, allocations: 2.829 MB / 0.5992 GB, free: 27.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008596/3.746, allocations: 25.7 kB / 0.5992 GB, free: 27.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00357/3.749, allocations: 3.276 MB / 0.6024 GB, free: 24.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00211/3.752, allocations: 0.952 MB / 0.6033 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/3.753, allocations: 0 / 0.6033 GB, free: 23.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001125/3.754, allocations: 0.5951 MB / 0.6039 GB, free: 23.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009851/3.764, allocations: 2.567 MB / 0.6064 GB, free: 20.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01344/3.778, allocations: 6.181 MB / 0.6125 GB, free: 12.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/3.791, allocations: 4.082 MB / 0.6165 GB, free: 8.434 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001714/3.792, allocations: 36 kB / 0.6165 GB, free: 8.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=882) (initialization): time 0.04455/3.836, allocations: 9.719 MB / 0.626 GB, free: 14.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/3.836, allocations: 4 kB / 0.626 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003651/3.837, allocations: 128 kB / 0.6261 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02928/3.866, allocations: 2.165 MB / 0.6282 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01391/3.88, allocations: 1.47 MB / 0.6297 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04492/3.925, allocations: 9.346 MB / 0.6388 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/3.936, allocations: 179.8 kB / 0.639 GB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00208/3.938, allocations: 399 kB / 0.6393 GB, free: 0.8906 MB / 426.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.002817/3.941, allocations: 428.8 kB / 0.6397 GB, free: 476 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/3.942, allocations: 311.9 kB / 0.64 GB, free: 160 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2024/4.145, allocations: 4.835 MB / 0.6448 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002178/4.145, allocations: 38.25 kB / 0.6448 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-05/4.145, allocations: 3.25 kB / 0.6448 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.422e-05/4.145, allocations: 14.72 kB / 0.6448 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04544/4.191, allocations: 9.573 MB / 0.6542 GB, free: 134 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-05/4.191, allocations: 0 / 0.6542 GB, free: 134 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006995/4.198, allocations: 406.2 kB / 0.6546 GB, free: 134 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006091/4.204, allocations: 0.6426 MB / 0.6552 GB, free: 134 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009659/4.205, allocations: 33.88 kB / 0.6552 GB, free: 134 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005998/4.211, allocations: 2.306 MB / 0.6575 GB, free: 132.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/4.211, allocations: 1.5 kB / 0.6575 GB, free: 132.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02804/4.239, allocations: 7.368 MB / 0.6647 GB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03658/4.276, allocations: 10.49 MB / 0.6749 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/4.277, allocations: 357 kB / 0.6752 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002412/4.28, allocations: 10.19 kB / 0.6753 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003607/4.284, allocations: 63.36 kB / 0.6753 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008438/4.284, allocations: 117.1 kB / 0.6754 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003285/4.285, allocations: 71.08 kB / 0.6755 GB, free: 130.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.005457/4.29, allocations: 1.858 MB / 0.6773 GB, free: 130.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009483/4.3, allocations: 1.016 MB / 0.6783 GB, free: 130.2 MB / 426.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.001021/4.301, allocations: 166.6 kB / 0.6785 GB, free: 130.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01704/4.318, allocations: 6.168 MB / 0.6845 GB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/4.318, allocations: 7.469 kB / 0.6845 GB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007912/4.326, allocations: 2.557 MB / 0.687 GB, free: 127.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/4.329, allocations: 291 kB / 0.6873 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03259/4.362, allocations: 9.603 MB / 0.6966 GB, free: 124.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01812/4.38, allocations: 4.225 MB / 0.7008 GB, free: 122.8 MB / 426.7 MB Notification: Performance of SimCode: time 3.637e-06/4.38, allocations: 0 / 0.7008 GB, free: 122.8 MB / 426.7 MB