Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Spring2",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.102/2.102, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2277/2.329, allocations: 51.03 MB / 267.3 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/2.446, allocations: 48.68 MB / 316 MB, free: 4.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/2.814, allocations: 88.28 MB / 404.2 MB, free: 4.605 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000387/2.814, allocations: 72.22 kB / 404.3 MB, free: 4.57 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: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.6944/3.509, allocations: 98.21 MB / 0.4907 GB, free: 82.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/3.509, allocations: 7.594 kB / 0.4908 GB, free: 82.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02529/3.534, allocations: 2.301 MB / 0.493 GB, free: 81.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03653/3.57, allocations: 7.196 MB / 0.5 GB, free: 81.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004529/3.571, allocations: 150.6 kB / 0.5002 GB, free: 81.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002931/3.574, allocations: 288.4 kB / 0.5004 GB, free: 81.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02508/3.599, allocations: 7.397 MB / 0.5077 GB, free: 81.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03366/3.633, allocations: 10.94 MB / 0.5184 GB, free: 77.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003908/3.633, allocations: 77.34 kB / 0.5184 GB, free: 77.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002588/3.636, allocations: 37.5 kB / 0.5185 GB, free: 77.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004366/3.64, allocations: 1.275 MB / 0.5197 GB, free: 77.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1069/3.747, allocations: 57.77 MB / 0.5761 GB, free: 36.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00877/3.756, allocations: 3.624 MB / 0.5797 GB, free: 34.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009428/3.766, allocations: 2.716 MB / 0.5823 GB, free: 33.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02847/3.794, allocations: 8.811 MB / 0.5909 GB, free: 27.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/3.794, allocations: 59.02 kB / 0.591 GB, free: 27.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=193): time 6.793e-06/3.794, allocations: 0 / 0.591 GB, free: 27.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=222): time 0.08233/3.877, allocations: 19.11 MB / 0.6096 GB, free: 11.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/3.877, allocations: 206.2 kB / 0.6098 GB, free: 10.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009584/3.886, allocations: 3.516 MB / 0.6133 GB, free: 7.758 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008819/3.887, allocations: 25.7 kB / 0.6133 GB, free: 7.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003601/3.891, allocations: 3.289 MB / 0.6165 GB, free: 4.758 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002027/3.893, allocations: 0.8772 MB / 0.6174 GB, free: 3.969 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/3.894, allocations: 0 / 0.6174 GB, free: 3.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000709/3.895, allocations: 0.6238 MB / 0.618 GB, free: 3.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008956/3.904, allocations: 3 MB / 0.6209 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01842/3.922, allocations: 7.561 MB / 0.6283 GB, free: 8.004 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01477/3.937, allocations: 4.802 MB / 0.633 GB, free: 3.199 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001839/3.938, allocations: 47.94 kB / 0.633 GB, free: 3.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=973) (initialization): time 0.2089/4.146, allocations: 11.76 MB / 0.6445 GB, free: 126.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/4.147, allocations: 3.469 kB / 0.6445 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02649/4.173, allocations: 6.087 MB / 0.6505 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0188/4.192, allocations: 2.877 MB / 0.6533 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01222/4.204, allocations: 1.736 MB / 0.655 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03211/4.236, allocations: 14.43 MB / 0.669 GB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02004/4.257, allocations: 498.1 kB / 0.6695 GB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003078/4.26, allocations: 465.3 kB / 0.67 GB, free: 118.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (905): * Single equations (assignments): 885 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 11,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004022/4.264, allocations: 499.3 kB / 0.6704 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001891/4.266, allocations: 374.2 kB / 0.6708 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03848/4.304, allocations: 6.699 MB / 0.6773 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02723/4.331, allocations: 6.103 MB / 0.6833 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.623e-05/4.332, allocations: 7.469 kB / 0.6833 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-05/4.332, allocations: 10.36 kB / 0.6833 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05491/4.387, allocations: 13.84 MB / 0.6968 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.583e-05/4.387, allocations: 3.969 kB / 0.6968 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004101/4.391, allocations: 347.6 kB / 0.6972 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02069/4.412, allocations: 3.124 MB / 0.7002 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008517/4.412, allocations: 50.14 kB / 0.7003 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03749/4.45, allocations: 16.47 MB / 0.7164 GB, free: 105 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003211/4.453, allocations: 4.152 MB / 0.7204 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03573/4.489, allocations: 10.31 MB / 0.7305 GB, free: 92.06 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04264/4.532, allocations: 13.76 MB / 0.7439 GB, free: 80.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/4.533, allocations: 435.5 kB / 0.7443 GB, free: 80 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001999/4.535, allocations: 29.58 kB / 0.7444 GB, free: 79.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006282/4.542, allocations: 193.3 kB / 0.7445 GB, free: 79.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001208/4.543, allocations: 111.8 kB / 0.7446 GB, free: 79.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005208/4.544, allocations: 74.7 kB / 0.7447 GB, free: 79.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.006961/4.551, allocations: 2.341 MB / 0.747 GB, free: 77.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01159/4.562, allocations: 1.358 MB / 0.7483 GB, free: 76.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 147 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 10,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/4.564, allocations: 183.9 kB / 0.7485 GB, free: 76.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02711/4.591, allocations: 8.388 MB / 0.7567 GB, free: 67.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/4.591, allocations: 0 / 0.7567 GB, free: 67.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01641/4.607, allocations: 4.218 MB / 0.7608 GB, free: 63.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004885/4.612, allocations: 393.2 kB / 0.7612 GB, free: 63.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03437/4.647, allocations: 11.15 MB / 0.7721 GB, free: 52.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01105/4.658, allocations: 4.137 MB / 0.7761 GB, free: 47.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.933e-06/4.658, allocations: 0 / 0.7761 GB, free: 47.89 MB / 426.7 MB