Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_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.312/2.312, allocations: 234.9 MB / 241.9 MB, free: 9.809 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1537/2.466, allocations: 57.21 MB / 299.1 MB, free: 496 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/2.755, allocations: 54.85 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4086/3.164, allocations: 102.1 MB / 456.1 MB, free: 34.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/3.164, allocations: 83.09 kB / 456.2 MB, free: 34.58 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.7098/3.874, allocations: 140.8 MB / 0.5829 GB, free: 1.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/3.874, allocations: 12 kB / 0.5829 GB, free: 1.668 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09398/3.968, allocations: 6.799 MB / 0.5896 GB, free: 10.85 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04385/4.012, allocations: 7.605 MB / 0.597 GB, free: 3.156 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008673/4.013, allocations: 228 kB / 0.5972 GB, free: 2.934 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005408/4.019, allocations: 419.7 kB / 0.5976 GB, free: 2.523 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04218/4.061, allocations: 10.1 MB / 0.6075 GB, free: 8.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2915/4.352, allocations: 15.1 MB / 0.6222 GB, free: 110.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005677/4.353, allocations: 89.19 kB / 0.6223 GB, free: 110.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003799/4.357, allocations: 40.47 kB / 0.6224 GB, free: 110.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003347/4.36, allocations: 1.73 MB / 0.6241 GB, free: 110.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1418/4.502, allocations: 70.73 MB / 0.6931 GB, free: 71.78 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/4.514, allocations: 5.904 MB / 0.6989 GB, free: 71.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008412/4.522, allocations: 4.088 MB / 0.7029 GB, free: 71.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0296/4.552, allocations: 10.81 MB / 0.7134 GB, free: 66.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/4.552, allocations: 62.53 kB / 0.7135 GB, free: 66.49 MB / 474.7 MB Notification: Performance of pre-optimization done (n=278): time 7.795e-06/4.552, allocations: 0 / 0.7135 GB, free: 66.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.1103/4.662, allocations: 26.83 MB / 0.7397 GB, free: 55.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/4.662, allocations: 242.7 kB / 0.7399 GB, free: 55.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0161/4.679, allocations: 4.677 MB / 0.7445 GB, free: 54.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001001/4.68, allocations: 28.42 kB / 0.7445 GB, free: 54.05 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004005/4.684, allocations: 4.547 MB / 0.749 GB, free: 50.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002638/4.686, allocations: 1.172 MB / 0.7501 GB, free: 49.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/4.688, allocations: 0 / 0.7501 GB, free: 49.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007682/4.689, allocations: 0.6998 MB / 0.7508 GB, free: 49.26 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009775/4.698, allocations: 3.648 MB / 0.7544 GB, free: 47.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01378/4.712, allocations: 8.88 MB / 0.763 GB, free: 39.65 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01508/4.727, allocations: 5.665 MB / 0.7686 GB, free: 37.85 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002508/4.728, allocations: 52.59 kB / 0.7686 GB, free: 37.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.0427/4.77, allocations: 12.74 MB / 0.781 GB, free: 30.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/4.77, allocations: 4.969 kB / 0.7811 GB, free: 30.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003365/4.771, allocations: 188 kB / 0.7812 GB, free: 30.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/4.781, allocations: 1.625 MB / 0.7828 GB, free: 29.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01805/4.799, allocations: 2.143 MB / 0.7849 GB, free: 27.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0234/4.823, allocations: 10.38 MB / 0.795 GB, free: 18.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/4.835, allocations: 306.4 kB / 0.7953 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002859/4.838, allocations: 0.547 MB / 0.7959 GB, free: 17.48 MB / 474.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.003958/4.842, allocations: 0.5629 MB / 0.7964 GB, free: 16.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002703/4.845, allocations: 0.4974 MB / 0.7969 GB, free: 16.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02329/4.868, allocations: 6.834 MB / 0.8036 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000198/4.868, allocations: 32 kB / 0.8036 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-05/4.868, allocations: 12 kB / 0.8036 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001285/4.868, allocations: 14.25 kB / 0.8036 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3026/5.171, allocations: 14.22 MB / 0.8175 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.355e-05/5.171, allocations: 8.906 kB / 0.8175 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006545/5.178, allocations: 0.5215 MB / 0.818 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009232/5.187, allocations: 1.316 MB / 0.8193 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001409/5.188, allocations: 15.78 kB / 0.8193 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02499/5.214, allocations: 9.653 MB / 0.8288 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/5.214, allocations: 7.25 kB / 0.8288 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03192/5.246, allocations: 11.5 MB / 0.84 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04069/5.286, allocations: 16.07 MB / 0.8557 GB, free: 99.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004562/5.291, allocations: 1.05 MB / 0.8567 GB, free: 99.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002239/5.293, allocations: 6.984 kB / 0.8567 GB, free: 99.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00603/5.299, allocations: 112.2 kB / 0.8568 GB, free: 99.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/5.301, allocations: 142.3 kB / 0.857 GB, free: 99.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005246/5.301, allocations: 82.59 kB / 0.857 GB, free: 99.31 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.008817/5.31, allocations: 3.162 MB / 0.8601 GB, free: 99.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01361/5.324, allocations: 1.45 MB / 0.8616 GB, free: 99.13 MB / 474.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.001451/5.325, allocations: 157.6 kB / 0.8617 GB, free: 99.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02876/5.354, allocations: 8.935 MB / 0.8704 GB, free: 98.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/5.354, allocations: 3.469 kB / 0.8704 GB, free: 98.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01065/5.365, allocations: 3.438 MB / 0.8738 GB, free: 98.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006028/5.371, allocations: 0.5179 MB / 0.8743 GB, free: 98.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04734/5.418, allocations: 13.51 MB / 0.8875 GB, free: 94.76 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02487/5.443, allocations: 5.589 MB / 0.8929 GB, free: 93.05 MB / 474.7 MB Notification: Performance of SimCode: time 2.384e-06/5.443, allocations: 0 / 0.8929 GB, free: 93.05 MB / 474.7 MB