Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.RelativeSensor,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_RelativeSensor",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.371/2.371, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.229/2.6, allocations: 57.2 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/2.931, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/3.42, allocations: 104.8 MB / 458.8 MB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003753/3.42, allocations: 82.47 kB / 458.9 MB, free: 35 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: 5962 * Number of variables: 5962 Notification: Performance of Generate backend data structure: time 1.244/4.665, allocations: 253.2 MB / 0.6954 GB, free: 32.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/4.665, allocations: 7.062 kB / 0.6954 GB, free: 32.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05792/4.723, allocations: 7.908 MB / 0.7031 GB, free: 31.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05165/4.775, allocations: 12.49 MB / 0.7153 GB, free: 30.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/4.776, allocations: 0.6448 MB / 0.7159 GB, free: 30.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009374/4.785, allocations: 1.161 MB / 0.7171 GB, free: 30.24 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07827/4.864, allocations: 23.49 MB / 0.74 GB, free: 26.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.118/4.982, allocations: 34.12 MB / 0.7733 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00136/4.983, allocations: 145.8 kB / 0.7735 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009109/4.992, allocations: 68 kB / 0.7735 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00568/4.998, allocations: 2.503 MB / 0.776 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7341/5.732, allocations: 142.7 MB / 0.9153 GB, free: 58.71 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/5.748, allocations: 8.091 MB / 0.9232 GB, free: 58.05 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01986/5.768, allocations: 7.127 MB / 0.9302 GB, free: 55.42 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07507/5.843, allocations: 28.04 MB / 0.9576 GB, free: 41.46 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/5.843, allocations: 79.39 kB / 0.9576 GB, free: 41.39 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=381): time 1.578e-05/5.843, allocations: 0 / 0.9576 GB, free: 41.39 MB / 0.5262 GB Notification: Performance of matching and sorting (n=495): time 2.18/8.024, allocations: 200.5 MB / 1.153 GB, free: 115.8 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001969/8.024, allocations: 283 kB / 1.154 GB, free: 115.5 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0326/8.057, allocations: 7.989 MB / 1.162 GB, free: 112.6 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.003601/8.06, allocations: 33.67 kB / 1.162 GB, free: 112.5 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.008756/8.069, allocations: 10.37 MB / 1.172 GB, free: 104.7 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.005063/8.074, allocations: 1.868 MB / 1.173 GB, free: 103.3 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004345/8.079, allocations: 0 / 1.173 GB, free: 103.3 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.002466/8.081, allocations: 1.046 MB / 1.175 GB, free: 102.7 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03775/8.119, allocations: 15.8 MB / 1.19 GB, free: 95.96 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0505/8.17, allocations: 26.5 MB / 1.216 GB, free: 70.64 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3001/8.47, allocations: 20.13 MB / 1.235 GB, free: 110.4 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001618/8.471, allocations: 109.4 kB / 1.236 GB, free: 110.4 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2254) (initialization): time 0.1364/8.608, allocations: 40.29 MB / 1.275 GB, free: 109.4 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/8.608, allocations: 9.219 kB / 1.275 GB, free: 109.4 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001242/8.609, allocations: 383.4 kB / 1.275 GB, free: 109.4 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002931/8.612, allocations: 0.876 MB / 1.276 GB, free: 109.4 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0451/8.657, allocations: 4.799 MB / 1.281 GB, free: 109 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/8.667, allocations: 5.382 MB / 1.286 GB, free: 106.3 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04234/8.71, allocations: 1.236 MB / 1.287 GB, free: 106.3 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006791/8.717, allocations: 1.045 MB / 1.288 GB, free: 106.3 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1753 * Number of states: 0 () * Number of discrete variables: 45 (relativeSensor.arrowColor[3],relativeSensor.arrowColor[2],relativeSensor.arrowColor[1],relative_b1.arrowColor[3],relative_b1.arrowColor[2],relative_b1.arrowColor[1],relative_b2.arrowColor[3],relative_b2.arrowColor[2],relative_b2.arrowColor[1],relative_a2.arrowColor[3],relative_a2.arrowColor[2],relative_a2.arrowColor[1],relative_a1.arrowColor[3],relative_a1.arrowColor[2],relative_a1.arrowColor[1],BodyBox2.color[3],BodyBox2.color[2],BodyBox2.color[1],BodyBox2.body.sphereColor[3],BodyBox2.body.sphereColor[2],BodyBox2.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (2198): * Single equations (assignments): 2188 * Array equations: 8 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0101/8.727, allocations: 1.003 MB / 1.289 GB, free: 105.6 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005671/8.733, allocations: 0.8183 MB / 1.29 GB, free: 105.6 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08645/8.819, allocations: 30.45 MB / 1.32 GB, free: 96.02 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003849/8.82, allocations: 92.03 kB / 1.32 GB, free: 96.02 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.931e-05/8.82, allocations: 3.875 kB / 1.32 GB, free: 96.02 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001391/8.82, allocations: 26.64 kB / 1.32 GB, free: 96.02 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1742/8.994, allocations: 69.65 MB / 1.388 GB, free: 54.14 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.164e-05/8.994, allocations: 4 kB / 1.388 GB, free: 54.14 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03334/9.028, allocations: 1.549 MB / 1.389 GB, free: 53.04 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/9.031, allocations: 312.5 kB / 1.39 GB, free: 52.81 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003751/9.034, allocations: 19.03 kB / 1.39 GB, free: 52.8 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006795/9.041, allocations: 4.053 MB / 1.394 GB, free: 48.91 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/9.041, allocations: 1.875 kB / 1.394 GB, free: 48.91 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3954/9.437, allocations: 53.55 MB / 1.446 GB, free: 107.1 MB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1919/9.629, allocations: 74.57 MB / 1.519 GB, free: 78.82 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01776/9.647, allocations: 3.887 MB / 1.523 GB, free: 77.35 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005345/9.652, allocations: 4 kB / 1.523 GB, free: 77.35 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0216/9.674, allocations: 0.984 MB / 1.524 GB, free: 77.35 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003732/9.677, allocations: 223.5 kB / 1.524 GB, free: 77.32 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00278/9.68, allocations: 130.4 kB / 1.524 GB, free: 77.29 MB / 0.5263 GB Notification: Performance of sort global known variables: time 0.01701/9.697, allocations: 5.32 MB / 1.529 GB, free: 75.34 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.03749/9.735, allocations: 3.872 MB / 1.533 GB, free: 75.33 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (453): * Single equations (assignments): 443 * Array equations: 8 * 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 {(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004947/9.74, allocations: 227.8 kB / 1.533 GB, free: 75.24 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.08692/9.827, allocations: 34.73 MB / 1.567 GB, free: 50.18 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/9.827, allocations: 0.625 kB / 1.567 GB, free: 50.18 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.03266/9.86, allocations: 15.02 MB / 1.582 GB, free: 36.39 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2624/10.12, allocations: 1.127 MB / 1.583 GB, free: 118.2 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1583/10.28, allocations: 42.78 MB / 1.625 GB, free: 113.4 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06075/10.34, allocations: 12.11 MB / 1.636 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of SimCode: time 1.683e-06/10.34, allocations: 3.719 kB / 1.636 GB, free: 112.3 MB / 0.5263 GB