Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",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.041/2.041, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.279/2.32, allocations: 51.03 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/2.432, allocations: 48.68 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/2.827, allocations: 95.53 MB / 411.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003869/2.828, allocations: 80.7 kB / 411.6 MB, free: 13.48 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: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.8921/3.72, allocations: 140.6 MB / 0.5392 GB, free: 76.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/3.72, allocations: 7.812 kB / 0.5392 GB, free: 76.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06927/3.789, allocations: 6.796 MB / 0.5459 GB, free: 75.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0313/3.821, allocations: 7.606 MB / 0.5533 GB, free: 71.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005483/3.821, allocations: 233.6 kB / 0.5535 GB, free: 71.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004329/3.826, allocations: 409.7 kB / 0.5539 GB, free: 71.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03001/3.856, allocations: 10.1 MB / 0.5638 GB, free: 64.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0434/3.899, allocations: 15.09 MB / 0.5785 GB, free: 48.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005142/3.9, allocations: 91.12 kB / 0.5786 GB, free: 47.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004004/3.904, allocations: 40 kB / 0.5786 GB, free: 47.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003507/3.907, allocations: 1.723 MB / 0.5803 GB, free: 46.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3392/4.247, allocations: 70.69 MB / 0.6493 GB, free: 92.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/4.259, allocations: 5.906 MB / 0.6551 GB, free: 91.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008576/4.267, allocations: 4.073 MB / 0.6591 GB, free: 91.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03554/4.303, allocations: 10.83 MB / 0.6696 GB, free: 90.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.218e-05/4.303, allocations: 64.28 kB / 0.6697 GB, free: 90.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=278): time 8.105e-06/4.303, allocations: 4.844 kB / 0.6697 GB, free: 90.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=320): time 0.1075/4.411, allocations: 26.8 MB / 0.6959 GB, free: 82.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/4.411, allocations: 243.7 kB / 0.6961 GB, free: 81.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01412/4.425, allocations: 4.683 MB / 0.7007 GB, free: 80.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009916/4.426, allocations: 25.7 kB / 0.7007 GB, free: 80.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004323/4.431, allocations: 4.545 MB / 0.7052 GB, free: 76.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002401/4.433, allocations: 1.17 MB / 0.7063 GB, free: 75.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/4.434, allocations: 0 / 0.7063 GB, free: 75.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006585/4.435, allocations: 0.694 MB / 0.707 GB, free: 75.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009983/4.445, allocations: 3.652 MB / 0.7105 GB, free: 73.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01659/4.462, allocations: 8.883 MB / 0.7192 GB, free: 65.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.015/4.477, allocations: 5.667 MB / 0.7248 GB, free: 62.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003212/4.477, allocations: 52 kB / 0.7248 GB, free: 62.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.04724/4.524, allocations: 12.74 MB / 0.7372 GB, free: 52.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/4.524, allocations: 4 kB / 0.7372 GB, free: 52.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003696/4.525, allocations: 193.8 kB / 0.7374 GB, free: 51.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00779/4.533, allocations: 1.623 MB / 0.739 GB, free: 50.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01585/4.548, allocations: 2.147 MB / 0.7411 GB, free: 48.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02367/4.572, allocations: 10.38 MB / 0.7512 GB, free: 39.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01297/4.585, allocations: 310.4 kB / 0.7515 GB, free: 39.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002975/4.588, allocations: 0.5448 MB / 0.7521 GB, free: 38.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1131): * Single equations (assignments): 1126 * 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 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004221/4.593, allocations: 0.5629 MB / 0.7526 GB, free: 38.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001596/4.594, allocations: 0.4975 MB / 0.7531 GB, free: 37.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02328/4.617, allocations: 6.83 MB / 0.7598 GB, free: 32.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001313/4.618, allocations: 31.91 kB / 0.7598 GB, free: 32.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/4.618, allocations: 12 kB / 0.7598 GB, free: 32.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.559e-05/4.618, allocations: 16.31 kB / 0.7598 GB, free: 32.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0471/4.665, allocations: 14.12 MB / 0.7736 GB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.846e-05/4.665, allocations: 4 kB / 0.7736 GB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006643/4.672, allocations: 0.5226 MB / 0.7741 GB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007289/4.679, allocations: 1.315 MB / 0.7754 GB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001014/4.68, allocations: 10.67 kB / 0.7754 GB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02428/4.704, allocations: 9.66 MB / 0.7849 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/4.704, allocations: 0 / 0.7849 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2106/4.915, allocations: 11.5 MB / 0.7961 GB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04029/4.955, allocations: 16.06 MB / 0.8118 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004428/4.96, allocations: 1.055 MB / 0.8128 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002511/4.963, allocations: 6.719 kB / 0.8128 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00627/4.969, allocations: 115.8 kB / 0.8129 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001299/4.97, allocations: 145.2 kB / 0.8131 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004671/4.971, allocations: 77.31 kB / 0.8132 GB, free: 115.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00917/4.98, allocations: 3.163 MB / 0.8162 GB, free: 115.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0131/4.993, allocations: 1.449 MB / 0.8177 GB, free: 115.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (264): * Single equations (assignments): 259 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001361/4.994, allocations: 154.7 kB / 0.8178 GB, free: 115.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02398/5.018, allocations: 8.941 MB / 0.8265 GB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/5.018, allocations: 1.875 kB / 0.8265 GB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01054/5.029, allocations: 3.448 MB / 0.8299 GB, free: 113.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005828/5.035, allocations: 0.5087 MB / 0.8304 GB, free: 113.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04586/5.081, allocations: 13.51 MB / 0.8436 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01711/5.098, allocations: 5.595 MB / 0.8491 GB, free: 107.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/5.098, allocations: 0 / 0.8491 GB, free: 107.1 MB / 426.7 MB