Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameTorques",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 1.947/1.947, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2895/2.236, allocations: 51.04 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/2.381, allocations: 48.68 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/2.771, allocations: 93.44 MB / 409.4 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/2.771, allocations: 87.72 kB / 409.5 MB, free: 15.57 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: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.7747/3.546, allocations: 116.2 MB / 0.5133 GB, free: 79.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/3.546, allocations: 10.81 kB / 0.5134 GB, free: 79.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06015/3.606, allocations: 6.579 MB / 0.5198 GB, free: 79.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02772/3.634, allocations: 6.925 MB / 0.5265 GB, free: 78.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/3.634, allocations: 179.8 kB / 0.5267 GB, free: 78.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003059/3.638, allocations: 328 kB / 0.527 GB, free: 78.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02159/3.659, allocations: 7.688 MB / 0.5345 GB, free: 76.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03455/3.694, allocations: 11.97 MB / 0.5462 GB, free: 70.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004983/3.694, allocations: 82.12 kB / 0.5463 GB, free: 70.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002543/3.697, allocations: 38.06 kB / 0.5463 GB, free: 70.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003401/3.7, allocations: 1.338 MB / 0.5476 GB, free: 70.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09867/3.799, allocations: 58.65 MB / 0.6049 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007486/3.807, allocations: 3.732 MB / 0.6086 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004964/3.812, allocations: 2.39 MB / 0.6109 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0185/3.83, allocations: 6.96 MB / 0.6177 GB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.297e-05/3.83, allocations: 59.5 kB / 0.6178 GB, free: 5.453 MB / 410.7 MB Notification: Performance of pre-optimization done (n=174): time 6.593e-06/3.83, allocations: 0 / 0.6178 GB, free: 5.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.0653/3.896, allocations: 16.91 MB / 0.6343 GB, free: 4.355 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/3.896, allocations: 226.7 kB / 0.6345 GB, free: 4.086 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.191/4.087, allocations: 4.22 MB / 0.6386 GB, free: 136.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000565/4.088, allocations: 25.7 kB / 0.6386 GB, free: 136.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00374/4.091, allocations: 3.842 MB / 0.6424 GB, free: 135.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001338/4.093, allocations: 0.7303 MB / 0.6431 GB, free: 135.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009242/4.094, allocations: 1.562 kB / 0.6431 GB, free: 135.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007058/4.094, allocations: 0.6208 MB / 0.6437 GB, free: 134.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006441/4.101, allocations: 2.245 MB / 0.6459 GB, free: 134.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009665/4.111, allocations: 6.907 MB / 0.6526 GB, free: 128.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/4.121, allocations: 3.944 MB / 0.6565 GB, free: 128.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003025/4.121, allocations: 46.69 kB / 0.6565 GB, free: 128.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=972) (initialization): time 0.03092/4.152, allocations: 8.43 MB / 0.6648 GB, free: 127.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/4.152, allocations: 6.812 kB / 0.6648 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003595/4.153, allocations: 169 kB / 0.6649 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/4.155, allocations: 0.6136 MB / 0.6655 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01127/4.166, allocations: 1.695 MB / 0.6672 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009718/4.176, allocations: 5.456 MB / 0.6725 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009799/4.186, allocations: 224.4 kB / 0.6727 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002047/4.188, allocations: 469.8 kB / 0.6732 GB, free: 125.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 764 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (920): * Single equations (assignments): 915 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00319/4.191, allocations: 0.5016 MB / 0.6737 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/4.193, allocations: 426.7 kB / 0.6741 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009562/4.202, allocations: 2.883 MB / 0.6769 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000137/4.202, allocations: 22.45 kB / 0.6769 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.714e-05/4.202, allocations: 10.2 kB / 0.6769 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.894e-05/4.203, allocations: 12.81 kB / 0.6769 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02446/4.227, allocations: 7.215 MB / 0.684 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-05/4.227, allocations: 3.938 kB / 0.684 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003281/4.23, allocations: 264.3 kB / 0.6842 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/4.232, allocations: 356.2 kB / 0.6846 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004779/4.233, allocations: 6.594 kB / 0.6846 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008694/4.242, allocations: 4.759 MB / 0.6892 GB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/4.242, allocations: 0 / 0.6892 GB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0132/4.255, allocations: 5.611 MB / 0.6947 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01752/4.272, allocations: 7.931 MB / 0.7025 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002797/4.275, allocations: 0.7041 MB / 0.7031 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001577/4.277, allocations: 2.156 kB / 0.7031 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003984/4.281, allocations: 52.23 kB / 0.7032 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006379/4.282, allocations: 81.22 kB / 0.7033 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/4.282, allocations: 43.22 kB / 0.7033 GB, free: 112.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.008929/4.291, allocations: 2.861 MB / 0.7061 GB, free: 111.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01139/4.302, allocations: 1.042 MB / 0.7071 GB, free: 111.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008311/4.303, allocations: 139.8 kB / 0.7073 GB, free: 111 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01454/4.318, allocations: 5.477 MB / 0.7126 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/4.318, allocations: 0 / 0.7126 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003965/4.322, allocations: 1.63 MB / 0.7142 GB, free: 106 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004946/4.327, allocations: 475.2 kB / 0.7147 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03171/4.359, allocations: 9.552 MB / 0.724 GB, free: 97.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0126/4.371, allocations: 4.582 MB / 0.7285 GB, free: 93.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.803e-06/4.371, allocations: 0 / 0.7285 GB, free: 93.63 MB / 426.7 MB