Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Torque",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.347/2.347, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1877/2.534, allocations: 57.21 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/2.824, allocations: 54.83 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4112/3.235, allocations: 100.7 MB / 454.6 MB, free: 34.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/3.235, allocations: 76.89 kB / 454.7 MB, free: 34.02 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: 2388 * Number of variables: 2388 Notification: Performance of Generate backend data structure: time 0.6437/3.879, allocations: 134.3 MB / 0.5752 GB, free: 9.527 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/3.879, allocations: 8 kB / 0.5753 GB, free: 9.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05547/3.935, allocations: 6.768 MB / 0.5819 GB, free: 2.727 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04374/3.978, allocations: 7.508 MB / 0.5892 GB, free: 11.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006147/3.979, allocations: 220 kB / 0.5894 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005154/3.984, allocations: 399.9 kB / 0.5898 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03115/4.015, allocations: 9.532 MB / 0.5991 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0512/4.067, allocations: 14.61 MB / 0.6134 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005367/4.067, allocations: 87.2 kB / 0.6135 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003027/4.07, allocations: 44 kB / 0.6135 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2013/4.272, allocations: 1.648 MB / 0.6151 GB, free: 119.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1371/4.409, allocations: 71.04 MB / 0.6845 GB, free: 78.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/4.422, allocations: 5.53 MB / 0.6899 GB, free: 77.72 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00814/4.431, allocations: 3.821 MB / 0.6936 GB, free: 77.67 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02963/4.46, allocations: 10.13 MB / 0.7035 GB, free: 74.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.909e-05/4.46, allocations: 61.44 kB / 0.7036 GB, free: 74.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=254): time 1.237e-05/4.46, allocations: 0 / 0.7036 GB, free: 74.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=298): time 0.1094/4.57, allocations: 25.61 MB / 0.7286 GB, free: 64.72 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/4.57, allocations: 242.4 kB / 0.7288 GB, free: 64.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01456/4.585, allocations: 4.883 MB / 0.7336 GB, free: 62.76 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001006/4.586, allocations: 29.5 kB / 0.7336 GB, free: 62.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00409/4.59, allocations: 4.51 MB / 0.738 GB, free: 59.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002157/4.592, allocations: 1.113 MB / 0.7391 GB, free: 58.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/4.593, allocations: 0 / 0.7391 GB, free: 58.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008018/4.594, allocations: 0.7021 MB / 0.7398 GB, free: 57.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009745/4.604, allocations: 3.493 MB / 0.7432 GB, free: 56.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01377/4.618, allocations: 8.939 MB / 0.7519 GB, free: 48.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/4.634, allocations: 5.565 MB / 0.7573 GB, free: 46.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004923/4.634, allocations: 54.91 kB / 0.7574 GB, free: 46.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=1214) (initialization): time 0.05066/4.685, allocations: 12.52 MB / 0.7696 GB, free: 38.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/4.685, allocations: 4 kB / 0.7696 GB, free: 38.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005552/4.686, allocations: 195.9 kB / 0.7698 GB, free: 38.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01201/4.698, allocations: 1.642 MB / 0.7714 GB, free: 36.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02352/4.721, allocations: 2.148 MB / 0.7735 GB, free: 35.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03465/4.756, allocations: 10.26 MB / 0.7835 GB, free: 25.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01823/4.774, allocations: 316.3 kB / 0.7838 GB, free: 25.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003596/4.778, allocations: 0.5609 MB / 0.7844 GB, free: 24.98 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 886 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1142): * Single equations (assignments): 1137 * 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.005601/4.784, allocations: 0.5856 MB / 0.785 GB, free: 24.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002688/4.786, allocations: 0.5051 MB / 0.7855 GB, free: 23.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02635/4.813, allocations: 6.362 MB / 0.7917 GB, free: 18.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001326/4.813, allocations: 28 kB / 0.7917 GB, free: 18.67 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-05/4.813, allocations: 8 kB / 0.7917 GB, free: 18.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-05/4.813, allocations: 14.2 kB / 0.7917 GB, free: 18.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05387/4.867, allocations: 13.24 MB / 0.8046 GB, free: 7.914 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.571e-05/4.867, allocations: 0 / 0.8046 GB, free: 7.914 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005949/4.873, allocations: 479.5 kB / 0.8051 GB, free: 7.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007215/4.88, allocations: 1.313 MB / 0.8064 GB, free: 6.562 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008912/4.881, allocations: 19.64 kB / 0.8064 GB, free: 6.551 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2405/5.122, allocations: 9.605 MB / 0.8158 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/5.122, allocations: 3.938 kB / 0.8158 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03152/5.153, allocations: 10.7 MB / 0.8262 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03712/5.19, allocations: 14.9 MB / 0.8408 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004223/5.195, allocations: 1.01 MB / 0.8418 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002445/5.197, allocations: 5.266 kB / 0.8418 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007742/5.205, allocations: 99.94 kB / 0.8419 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001285/5.206, allocations: 141.2 kB / 0.842 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004638/5.207, allocations: 75.47 kB / 0.8421 GB, free: 106 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01189/5.219, allocations: 3.3 MB / 0.8453 GB, free: 105.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0225/5.241, allocations: 1.411 MB / 0.8467 GB, free: 105.8 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 (241): * Single equations (assignments): 236 * 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.001899/5.243, allocations: 150.6 kB / 0.8468 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02881/5.272, allocations: 8.541 MB / 0.8552 GB, free: 105.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/5.272, allocations: 0 / 0.8552 GB, free: 105.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01189/5.284, allocations: 3.197 MB / 0.8583 GB, free: 105.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008571/5.293, allocations: 0.5164 MB / 0.8588 GB, free: 105.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04759/5.341, allocations: 13.05 MB / 0.8715 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02134/5.362, allocations: 5.447 MB / 0.8769 GB, free: 102.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.554e-06/5.362, allocations: 2.156 kB / 0.8769 GB, free: 102.1 MB / 474.7 MB