Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_1_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.031/2.031, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.262/2.293, allocations: 51.03 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/2.422, allocations: 48.69 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3338/2.756, allocations: 88.69 MB / 404.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/2.756, allocations: 86.11 kB / 404.8 MB, free: 4.156 MB / 330.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.6122/3.369, allocations: 87.52 MB / 492.3 MB, free: 75.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/3.369, allocations: 13.03 kB / 492.3 MB, free: 75.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02877/3.397, allocations: 2.943 MB / 495.2 MB, free: 75.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/3.416, allocations: 4.966 MB / 0.4885 GB, free: 74.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003008/3.417, allocations: 125.2 kB / 0.4886 GB, free: 74.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00265/3.419, allocations: 221.3 kB / 0.4888 GB, free: 74.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01913/3.439, allocations: 7.449 MB / 0.4961 GB, free: 74.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02804/3.467, allocations: 9.755 MB / 0.5056 GB, free: 73.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002226/3.467, allocations: 32.22 kB / 0.5056 GB, free: 73.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002505/3.47, allocations: 11.31 kB / 0.5056 GB, free: 73.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002546/3.472, allocations: 1.27 MB / 0.5069 GB, free: 73.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07933/3.551, allocations: 34.45 MB / 0.5405 GB, free: 58.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007085/3.559, allocations: 2.719 MB / 0.5432 GB, free: 57.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005429/3.564, allocations: 2.251 MB / 0.5454 GB, free: 56.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02669/3.591, allocations: 9.549 MB / 0.5547 GB, free: 51.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/3.591, allocations: 56.88 kB / 0.5548 GB, free: 51.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 6.623e-06/3.591, allocations: 0 / 0.5548 GB, free: 51.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=239): time 0.07152/3.663, allocations: 15.49 MB / 0.5699 GB, free: 39.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/3.663, allocations: 73.41 kB / 0.57 GB, free: 39.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009067/3.672, allocations: 2.605 MB / 0.5725 GB, free: 37.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007281/3.673, allocations: 25.7 kB / 0.5725 GB, free: 37.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003227/3.676, allocations: 2.789 MB / 0.5752 GB, free: 34.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002062/3.678, allocations: 0.8795 MB / 0.5761 GB, free: 34.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009465/3.679, allocations: 0 / 0.5761 GB, free: 34.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007581/3.68, allocations: 0.569 MB / 0.5767 GB, free: 33.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00928/3.689, allocations: 2.531 MB / 0.5791 GB, free: 31.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01323/3.702, allocations: 5.782 MB / 0.5848 GB, free: 24.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/3.716, allocations: 3.901 MB / 0.5886 GB, free: 21.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001536/3.716, allocations: 32 kB / 0.5886 GB, free: 21.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=806) (initialization): time 0.04419/3.761, allocations: 8.571 MB / 0.597 GB, free: 13.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/3.761, allocations: 4.703 kB / 0.597 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01652/3.777, allocations: 3.988 MB / 0.6009 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009548/3.787, allocations: 1.099 MB / 0.602 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009368/3.796, allocations: 1.351 MB / 0.6033 GB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006037/3.802, allocations: 3.852 MB / 0.607 GB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007441/3.81, allocations: 223.8 kB / 0.6073 GB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001649/3.811, allocations: 352 kB / 0.6076 GB, free: 3.863 MB / 410.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): 2 * Torn equation systems: 2 * 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: 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001867/3.813, allocations: 396.4 kB / 0.608 GB, free: 3.469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007595/3.814, allocations: 288.2 kB / 0.6082 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01861/3.833, allocations: 5.016 MB / 0.6131 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01805/3.851, allocations: 4.499 MB / 0.6175 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/3.851, allocations: 7.938 kB / 0.6175 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.735e-05/3.851, allocations: 7.969 kB / 0.6176 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04309/3.894, allocations: 11.85 MB / 0.6291 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/3.894, allocations: 384 / 0.6291 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003895/3.898, allocations: 351.4 kB / 0.6295 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008826/3.907, allocations: 1.018 MB / 0.6305 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006222/3.908, allocations: 23.97 kB / 0.6305 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009024/3.917, allocations: 4.227 MB / 0.6346 GB, free: 7.797 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00151/3.918, allocations: 1.379 MB / 0.636 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2316/4.15, allocations: 7.937 MB / 0.6437 GB, free: 94.48 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03379/4.184, allocations: 11.15 MB / 0.6546 GB, free: 93.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/4.185, allocations: 348.6 kB / 0.6549 GB, free: 93.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001715/4.187, allocations: 14.67 kB / 0.6549 GB, free: 93.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005092/4.192, allocations: 97.23 kB / 0.655 GB, free: 93.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009457/4.193, allocations: 108.1 kB / 0.6551 GB, free: 93.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004561/4.194, allocations: 65.7 kB / 0.6552 GB, free: 93.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.006215/4.2, allocations: 1.72 MB / 0.6569 GB, free: 93.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01197/4.212, allocations: 0.972 MB / 0.6578 GB, free: 93.2 MB / 442.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.001266/4.213, allocations: 147.3 kB / 0.658 GB, free: 93.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02571/4.239, allocations: 6.477 MB / 0.6643 GB, free: 92.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/4.239, allocations: 0 / 0.6643 GB, free: 92.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01223/4.251, allocations: 2.734 MB / 0.667 GB, free: 92.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/4.254, allocations: 228.8 kB / 0.6672 GB, free: 92.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/4.291, allocations: 8.904 MB / 0.6759 GB, free: 90.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01046/4.302, allocations: 3.686 MB / 0.6795 GB, free: 89.85 MB / 442.7 MB Notification: Performance of SimCode: time 2.194e-06/4.302, allocations: 0 / 0.6795 GB, free: 89.85 MB / 442.7 MB