Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotion2",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.103/2.103, allocations: 209.3 MB / 216.3 MB, free: 4.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1311/2.234, allocations: 51.02 MB / 267.3 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/2.519, allocations: 48.7 MB / 316 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1994/2.719, allocations: 95.24 MB / 411.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/2.719, allocations: 67.97 kB / 411.3 MB, free: 1.695 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: 2023 * Number of variables: 2023 Notification: Performance of Generate backend data structure: time 0.7499/3.469, allocations: 120.2 MB / 0.5191 GB, free: 38.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/3.469, allocations: 12 kB / 0.5191 GB, free: 38.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06686/3.536, allocations: 6.625 MB / 0.5256 GB, free: 31.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02937/3.566, allocations: 7.869 MB / 0.5332 GB, free: 23.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003854/3.566, allocations: 188 kB / 0.5334 GB, free: 23.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003145/3.569, allocations: 347.8 kB / 0.5338 GB, free: 23.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02372/3.593, allocations: 8.45 MB / 0.542 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0333/3.626, allocations: 12.65 MB / 0.5544 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005/3.627, allocations: 83.16 kB / 0.5544 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003/3.63, allocations: 36 kB / 0.5545 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003049/3.633, allocations: 1.407 MB / 0.5558 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2981/3.931, allocations: 60.61 MB / 0.615 GB, free: 80.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009959/3.941, allocations: 5.069 MB / 0.62 GB, free: 79.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006612/3.948, allocations: 3.538 MB / 0.6234 GB, free: 79.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02454/3.972, allocations: 9.782 MB / 0.633 GB, free: 77.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.847e-05/3.973, allocations: 63.78 kB / 0.6331 GB, free: 77.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=248): time 8.276e-06/3.973, allocations: 0 / 0.6331 GB, free: 77.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=316): time 0.1097/4.082, allocations: 28.68 MB / 0.6611 GB, free: 69.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/4.082, allocations: 269.4 kB / 0.6613 GB, free: 69.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/4.093, allocations: 3.979 MB / 0.6652 GB, free: 68.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008563/4.094, allocations: 25.7 kB / 0.6652 GB, free: 68.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003377/4.097, allocations: 3.702 MB / 0.6688 GB, free: 65.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002052/4.1, allocations: 1.14 MB / 0.67 GB, free: 64.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/4.101, allocations: 2.844 kB / 0.67 GB, free: 64.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006273/4.101, allocations: 0.6337 MB / 0.6706 GB, free: 64.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00878/4.11, allocations: 3.237 MB / 0.6737 GB, free: 62.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01196/4.122, allocations: 7.582 MB / 0.6811 GB, free: 55.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/4.135, allocations: 4.942 MB / 0.686 GB, free: 53.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002288/4.135, allocations: 47.47 kB / 0.686 GB, free: 53.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.03783/4.173, allocations: 11.61 MB / 0.6973 GB, free: 43.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/4.173, allocations: 7.469 kB / 0.6974 GB, free: 43.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002282/4.173, allocations: 152 kB / 0.6975 GB, free: 43.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/4.183, allocations: 2.086 MB / 0.6995 GB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01221/4.195, allocations: 1.768 MB / 0.7013 GB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03278/4.228, allocations: 13.21 MB / 0.7142 GB, free: 28.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/4.239, allocations: 250.3 kB / 0.7144 GB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002215/4.241, allocations: 469.4 kB / 0.7148 GB, free: 28.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 700 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (951): * Single equations (assignments): 946 * Array equations: 3 * 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: 2 {(7,46.9%) 20,(7,46.9%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002953/4.244, allocations: 499.6 kB / 0.7153 GB, free: 27.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/4.245, allocations: 454.2 kB / 0.7158 GB, free: 27.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0229/4.268, allocations: 6.801 MB / 0.7224 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/4.268, allocations: 28 kB / 0.7224 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.184e-05/4.268, allocations: 12 kB / 0.7224 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001095/4.269, allocations: 17.27 kB / 0.7225 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04675/4.315, allocations: 14.39 MB / 0.7365 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.7e-05/4.315, allocations: 7.125 kB / 0.7365 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005414/4.321, allocations: 481.2 kB / 0.737 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009296/4.33, allocations: 1.768 MB / 0.7387 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008837/4.331, allocations: 27.75 kB / 0.7387 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2086/4.54, allocations: 11.43 MB / 0.7499 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/4.54, allocations: 14 kB / 0.7499 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03753/4.577, allocations: 11.84 MB / 0.7615 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04008/4.617, allocations: 16.05 MB / 0.7771 GB, free: 98.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003829/4.621, allocations: 0.9872 MB / 0.7781 GB, free: 98.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001937/4.623, allocations: 10.92 kB / 0.7781 GB, free: 98.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005595/4.629, allocations: 122.3 kB / 0.7782 GB, free: 98.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/4.63, allocations: 161.3 kB / 0.7784 GB, free: 98.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004486/4.631, allocations: 90.75 kB / 0.7785 GB, free: 98.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.007698/4.638, allocations: 2.713 MB / 0.7811 GB, free: 98.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01149/4.65, allocations: 1.269 MB / 0.7824 GB, free: 98.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (255): * Single equations (assignments): 250 * Array equations: 3 * 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: 2 {(6,55.6%) 18,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001284/4.651, allocations: 156.2 kB / 0.7825 GB, free: 98.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02633/4.678, allocations: 8.395 MB / 0.7907 GB, free: 96.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.941e-05/4.678, allocations: 0 / 0.7907 GB, free: 96.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01718/4.695, allocations: 3.502 MB / 0.7941 GB, free: 95.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00697/4.702, allocations: 490.5 kB / 0.7946 GB, free: 95.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04454/4.746, allocations: 12.21 MB / 0.8065 GB, free: 91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01434/4.761, allocations: 4.884 MB / 0.8113 GB, free: 89.44 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/4.761, allocations: 0 / 0.8113 GB, free: 89.44 MB / 410.7 MB