Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.RelativeSensor,fileNamePrefix="ModelicaTest_3_2_1_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.095/2.095, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2591/2.354, allocations: 51.04 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/2.48, allocations: 48.69 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.388/2.868, allocations: 98.18 MB / 414.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/2.869, allocations: 85.88 kB / 414.2 MB, free: 10.79 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: 5960 * Number of variables: 5960 Notification: Performance of Generate backend data structure: time 1.671/4.54, allocations: 253.1 MB / 0.6517 GB, free: 59.19 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/4.54, allocations: 8 kB / 0.6517 GB, free: 59.19 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06667/4.606, allocations: 7.906 MB / 0.6594 GB, free: 58.16 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05819/4.665, allocations: 12.48 MB / 0.6716 GB, free: 57.11 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002197/4.667, allocations: 0.647 MB / 0.6723 GB, free: 57.11 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01339/4.68, allocations: 1.155 MB / 0.6734 GB, free: 57.1 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08066/4.761, allocations: 23.48 MB / 0.6963 GB, free: 57.01 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1233/4.884, allocations: 34.11 MB / 0.7296 GB, free: 47.84 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001217/4.886, allocations: 149.1 kB / 0.7298 GB, free: 47.82 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007785/4.894, allocations: 74.84 kB / 0.7299 GB, free: 47.82 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004666/4.898, allocations: 2.495 MB / 0.7323 GB, free: 47.42 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.703/5.601, allocations: 142.7 MB / 0.8716 GB, free: 36.01 MB / 474.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/5.617, allocations: 8.088 MB / 0.8795 GB, free: 35.35 MB / 474.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01384/5.631, allocations: 7.131 MB / 0.8865 GB, free: 35.3 MB / 474.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07107/5.702, allocations: 28.05 MB / 0.9139 GB, free: 30.48 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.754e-05/5.702, allocations: 79.23 kB / 0.9139 GB, free: 30.44 MB / 474.9 MB Notification: Performance of pre-optimization done (n=381): time 9.698e-06/5.702, allocations: 0 / 0.9139 GB, free: 30.44 MB / 474.9 MB Notification: Performance of matching and sorting (n=495): time 1.503/7.205, allocations: 198.6 MB / 1.108 GB, free: 87 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/7.205, allocations: 283.8 kB / 1.108 GB, free: 86.71 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02262/7.228, allocations: 7.983 MB / 1.116 GB, free: 83.59 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 0.00275/7.231, allocations: 34.56 kB / 1.116 GB, free: 83.56 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.01159/7.242, allocations: 10.37 MB / 1.126 GB, free: 75.68 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.00692/7.249, allocations: 1.866 MB / 1.128 GB, free: 74.33 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006176/7.255, allocations: 0 / 1.128 GB, free: 74.33 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 0.003981/7.259, allocations: 1.04 MB / 1.129 GB, free: 73.71 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03864/7.298, allocations: 15.8 MB / 1.144 GB, free: 60.54 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3341/7.632, allocations: 28.34 MB / 1.172 GB, free: 83.9 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05844/7.691, allocations: 20.02 MB / 1.192 GB, free: 83.83 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006341/7.692, allocations: 108 kB / 1.192 GB, free: 83.83 MB / 474.9 MB Notification: Performance of matching and sorting (n=2254) (initialization): time 0.1106/7.802, allocations: 40.29 MB / 1.231 GB, free: 79.39 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/7.802, allocations: 3.562 kB / 1.231 GB, free: 79.39 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008878/7.803, allocations: 395.4 kB / 1.231 GB, free: 79.39 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002919/7.806, allocations: 0.8768 MB / 1.232 GB, free: 79.3 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05075/7.857, allocations: 4.797 MB / 1.237 GB, free: 78.79 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/7.871, allocations: 5.376 MB / 1.242 GB, free: 75.3 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04205/7.913, allocations: 1.234 MB / 1.243 GB, free: 75.29 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007099/7.92, allocations: 1.05 MB / 1.244 GB, free: 75.14 MB / 474.9 MB 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.01139/7.932, allocations: 1.009 MB / 1.245 GB, free: 74.33 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004968/7.937, allocations: 0.8253 MB / 1.246 GB, free: 74.33 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0875/8.024, allocations: 30.43 MB / 1.276 GB, free: 61.04 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003374/8.025, allocations: 89.22 kB / 1.276 GB, free: 61.03 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-05/8.025, allocations: 3.531 kB / 1.276 GB, free: 61.03 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001504/8.025, allocations: 27.2 kB / 1.276 GB, free: 61.03 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4624/8.487, allocations: 69.65 MB / 1.344 GB, free: 81.89 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.927e-05/8.487, allocations: 0 / 1.344 GB, free: 81.89 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02903/8.517, allocations: 1.547 MB / 1.346 GB, free: 81.89 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/8.52, allocations: 322.7 kB / 1.346 GB, free: 81.88 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004781/8.524, allocations: 16.41 kB / 1.346 GB, free: 81.88 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008693/8.533, allocations: 4.059 MB / 1.35 GB, free: 79.52 MB / 474.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/8.533, allocations: 7.469 kB / 1.35 GB, free: 79.52 MB / 474.9 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1342/8.667, allocations: 51.46 MB / 1.4 GB, free: 62.57 MB / 474.9 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.5056/9.173, allocations: 76.83 MB / 1.475 GB, free: 80.04 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01465/9.188, allocations: 3.887 MB / 1.479 GB, free: 79.95 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00603/9.194, allocations: 10.88 kB / 1.479 GB, free: 79.95 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02137/9.215, allocations: 0.9817 MB / 1.48 GB, free: 79.95 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003809/9.219, allocations: 218.2 kB / 1.48 GB, free: 79.94 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002897/9.222, allocations: 128.8 kB / 1.48 GB, free: 79.94 MB / 474.9 MB Notification: Performance of sort global known variables: time 0.01667/9.239, allocations: 5.322 MB / 1.485 GB, free: 79.69 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.03588/9.275, allocations: 3.872 MB / 1.489 GB, free: 79.69 MB / 474.9 MB 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.005555/9.28, allocations: 234.8 kB / 1.489 GB, free: 79.6 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.09497/9.375, allocations: 34.73 MB / 1.523 GB, free: 79.34 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/9.375, allocations: 6.531 kB / 1.523 GB, free: 79.34 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.04632/9.422, allocations: 15.01 MB / 1.538 GB, free: 74.79 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01528/9.437, allocations: 1.117 MB / 1.539 GB, free: 74.4 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1714/9.609, allocations: 42.77 MB / 1.581 GB, free: 58.54 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06318/9.672, allocations: 12.1 MB / 1.593 GB, free: 52.25 MB / 474.9 MB Notification: Performance of SimCode: time 1.694e-06/9.672, allocations: 0 / 1.593 GB, free: 52.25 MB / 474.9 MB