Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Cylindrical",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.396/2.396, allocations: 235 MB / 241.9 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1827/2.579, allocations: 57.21 MB / 299.1 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/2.87, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.437/3.308, allocations: 98.22 MB / 452.2 MB, free: 33.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/3.308, allocations: 77.83 kB / 452.3 MB, free: 33.14 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: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.4916/3.8, allocations: 91.84 MB / 0.5314 GB, free: 6.527 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/3.8, allocations: 8 kB / 0.5314 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02733/3.827, allocations: 2.845 MB / 0.5342 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01943/3.846, allocations: 4.468 MB / 0.5385 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/3.847, allocations: 139.9 kB / 0.5386 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003121/3.85, allocations: 248 kB / 0.5389 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02371/3.874, allocations: 7.862 MB / 0.5466 GB, free: 6.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03455/3.908, allocations: 10.22 MB / 0.5565 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004017/3.909, allocations: 23.81 kB / 0.5566 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003531/3.912, allocations: 12 kB / 0.5566 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004584/3.917, allocations: 1.329 MB / 0.5579 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1142/4.031, allocations: 35.58 MB / 0.5926 GB, free: 6.527 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009592/4.041, allocations: 3.105 MB / 0.5957 GB, free: 3.418 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00633/4.047, allocations: 2.471 MB / 0.5981 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02787/4.075, allocations: 9.709 MB / 0.6076 GB, free: 6.676 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/4.075, allocations: 43.88 kB / 0.6076 GB, free: 6.625 MB / 474.7 MB Notification: Performance of pre-optimization done (n=211): time 6.713e-06/4.075, allocations: 0 / 0.6076 GB, free: 6.625 MB / 474.7 MB Notification: Performance of matching and sorting (n=232): time 0.222/4.297, allocations: 15.65 MB / 0.6229 GB, free: 151.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/4.297, allocations: 76.44 kB / 0.6229 GB, free: 151.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0063/4.304, allocations: 2.553 MB / 0.6254 GB, free: 151 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005775/4.304, allocations: 25.7 kB / 0.6255 GB, free: 150.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00249/4.307, allocations: 2.915 MB / 0.6283 GB, free: 149.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001472/4.308, allocations: 0.8302 MB / 0.6291 GB, free: 148.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007445/4.309, allocations: 0 / 0.6291 GB, free: 148.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005957/4.31, allocations: 0.5615 MB / 0.6297 GB, free: 148.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006081/4.316, allocations: 2.386 MB / 0.632 GB, free: 148.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008375/4.324, allocations: 5.572 MB / 0.6374 GB, free: 144.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008761/4.333, allocations: 3.714 MB / 0.6411 GB, free: 144.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/4.333, allocations: 32.12 kB / 0.6411 GB, free: 144.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02541/4.359, allocations: 8.081 MB / 0.649 GB, free: 144 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/4.359, allocations: 3.969 kB / 0.649 GB, free: 144 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002643/4.359, allocations: 112.4 kB / 0.6491 GB, free: 144 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005655/4.365, allocations: 0.8941 MB / 0.65 GB, free: 144 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009085/4.374, allocations: 1.31 MB / 0.6513 GB, free: 143.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/4.388, allocations: 4.486 MB / 0.6556 GB, free: 142.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/4.399, allocations: 165.9 kB / 0.6558 GB, free: 142.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001593/4.401, allocations: 338.8 kB / 0.6561 GB, free: 142.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 514 * Number of states: 0 () * Number of discrete variables: 30 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (717): * Single equations (assignments): 710 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002041/4.403, allocations: 393.5 kB / 0.6565 GB, free: 142.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007186/4.404, allocations: 276.6 kB / 0.6568 GB, free: 142.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/4.419, allocations: 4.747 MB / 0.6614 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001285/4.42, allocations: 36.91 kB / 0.6614 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/4.42, allocations: 3.438 kB / 0.6614 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.607e-05/4.42, allocations: 11.44 kB / 0.6614 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03018/4.45, allocations: 9.331 MB / 0.6706 GB, free: 139.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-05/4.45, allocations: 6.219 kB / 0.6706 GB, free: 139.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003601/4.454, allocations: 332.8 kB / 0.6709 GB, free: 139.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004803/4.458, allocations: 0.6908 MB / 0.6716 GB, free: 139.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005794/4.459, allocations: 10.81 kB / 0.6716 GB, free: 139.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009471/4.468, allocations: 3.803 MB / 0.6753 GB, free: 137.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/4.469, allocations: 6.875 kB / 0.6753 GB, free: 137.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02016/4.489, allocations: 7.458 MB / 0.6826 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03268/4.521, allocations: 10.48 MB / 0.6928 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002565/4.524, allocations: 0.6744 MB / 0.6935 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/4.525, allocations: 3.938 kB / 0.6935 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/4.528, allocations: 62.22 kB / 0.6935 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006554/4.529, allocations: 102.2 kB / 0.6936 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002657/4.529, allocations: 53.91 kB / 0.6937 GB, free: 130 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004433/4.534, allocations: 1.68 MB / 0.6953 GB, free: 128.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008064/4.542, allocations: 0.8985 MB / 0.6962 GB, free: 127.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 169 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009669/4.543, allocations: 143 kB / 0.6963 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01336/4.556, allocations: 5.6 MB / 0.7018 GB, free: 122.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/4.556, allocations: 3.969 kB / 0.7018 GB, free: 122.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00535/4.562, allocations: 2.031 MB / 0.7038 GB, free: 120.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/4.564, allocations: 219.9 kB / 0.704 GB, free: 120.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02746/4.592, allocations: 8.33 MB / 0.7121 GB, free: 113.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01011/4.602, allocations: 3.787 MB / 0.7158 GB, free: 110.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.713e-06/4.602, allocations: 0 / 0.7158 GB, free: 110.4 MB / 474.7 MB