Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",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(Modelica): time 1.654/1.654, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2072/1.861, allocations: 46.84 MB / 249.3 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/1.947, allocations: 44.51 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2944/2.242, allocations: 93.9 MB / 387.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/2.242, allocations: 84.3 kB / 387.8 MB, free: 3.879 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.416/2.658, allocations: 98.6 MB / 486.4 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/2.658, allocations: 12 kB / 486.4 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03355/2.692, allocations: 4.146 MB / 490.6 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02097/2.713, allocations: 5.093 MB / 495.7 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/2.713, allocations: 156 kB / 495.8 MB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002433/2.716, allocations: 279.9 kB / 496.1 MB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1494/2.865, allocations: 7.163 MB / 0.4915 GB, free: 113.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02711/2.892, allocations: 10.76 MB / 0.502 GB, free: 110.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002909/2.893, allocations: 60.88 kB / 0.502 GB, free: 110.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001695/2.894, allocations: 32.47 kB / 0.5021 GB, free: 110.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002231/2.897, allocations: 1.269 MB / 0.5033 GB, free: 110.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07709/2.974, allocations: 51.27 MB / 0.5534 GB, free: 81.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00782/2.982, allocations: 4.208 MB / 0.5575 GB, free: 79.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005075/2.987, allocations: 2.581 MB / 0.56 GB, free: 78.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0174/3.004, allocations: 7.28 MB / 0.5671 GB, free: 74.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/3.004, allocations: 56.72 kB / 0.5672 GB, free: 74.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=192): time 6.462e-06/3.004, allocations: 0 / 0.5672 GB, free: 74.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=213): time 0.05307/3.057, allocations: 15.38 MB / 0.5822 GB, free: 68.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/3.058, allocations: 181.7 kB / 0.5824 GB, free: 68.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008327/3.066, allocations: 3.444 MB / 0.5857 GB, free: 67.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005938/3.067, allocations: 29.67 kB / 0.5858 GB, free: 67.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002437/3.069, allocations: 3.301 MB / 0.589 GB, free: 64.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/3.07, allocations: 0.7893 MB / 0.5898 GB, free: 64.24 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008548/3.071, allocations: 0 / 0.5898 GB, free: 64.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004411/3.072, allocations: 0.5985 MB / 0.5903 GB, free: 63.81 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006556/3.078, allocations: 2.43 MB / 0.5927 GB, free: 62.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009403/3.088, allocations: 6.444 MB / 0.599 GB, free: 56.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/3.098, allocations: 3.968 MB / 0.6029 GB, free: 55.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001359/3.098, allocations: 42.62 kB / 0.6029 GB, free: 55.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.02498/3.123, allocations: 8.648 MB / 0.6114 GB, free: 48.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/3.123, allocations: 8 kB / 0.6114 GB, free: 48.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/3.123, allocations: 144 kB / 0.6115 GB, free: 48.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00383/3.127, allocations: 0.8835 MB / 0.6124 GB, free: 47.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01087/3.138, allocations: 1.602 MB / 0.6139 GB, free: 46.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/3.15, allocations: 5.325 MB / 0.6191 GB, free: 41.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007727/3.158, allocations: 213.6 kB / 0.6193 GB, free: 41.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001419/3.159, allocations: 414.9 kB / 0.6197 GB, free: 41.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (843): * Single equations (assignments): 839 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00122/3.161, allocations: 476.4 kB / 0.6202 GB, free: 40.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009062/3.162, allocations: 359.3 kB / 0.6205 GB, free: 40.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/3.173, allocations: 3.889 MB / 0.6243 GB, free: 37.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-05/3.173, allocations: 20 kB / 0.6244 GB, free: 37.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/3.173, allocations: 8 kB / 0.6244 GB, free: 37.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/3.173, allocations: 10.55 kB / 0.6244 GB, free: 37.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02508/3.198, allocations: 8.499 MB / 0.6327 GB, free: 30.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/3.199, allocations: 0 / 0.6327 GB, free: 30.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004034/3.203, allocations: 366.3 kB / 0.633 GB, free: 29.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003335/3.206, allocations: 0.6659 MB / 0.6337 GB, free: 29.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004331/3.206, allocations: 8 kB / 0.6337 GB, free: 29.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/3.217, allocations: 4.822 MB / 0.6384 GB, free: 25.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/3.217, allocations: 4 kB / 0.6384 GB, free: 25.02 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01622/3.233, allocations: 7.037 MB / 0.6453 GB, free: 18.77 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02108/3.254, allocations: 9.962 MB / 0.655 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002619/3.257, allocations: 0.7153 MB / 0.6557 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008513/3.258, allocations: 11.03 kB / 0.6557 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/3.261, allocations: 71.89 kB / 0.6558 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/3.261, allocations: 97.11 kB / 0.6559 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002532/3.261, allocations: 63.52 kB / 0.6559 GB, free: 8.914 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.005111/3.267, allocations: 2.312 MB / 0.6582 GB, free: 6.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008172/3.275, allocations: 0.9728 MB / 0.6591 GB, free: 5.621 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (174): * Single equations (assignments): 170 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000647/3.276, allocations: 145 kB / 0.6593 GB, free: 5.477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.156/3.432, allocations: 5.89 MB / 0.665 GB, free: 105.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/3.432, allocations: 0 / 0.665 GB, free: 105.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008462/3.44, allocations: 2.059 MB / 0.667 GB, free: 105.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005049/3.445, allocations: 336 kB / 0.6673 GB, free: 105.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/3.472, allocations: 8.975 MB / 0.6761 GB, free: 104.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009588/3.482, allocations: 4.052 MB / 0.6801 GB, free: 103.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.442e-06/3.482, allocations: 0 / 0.6801 GB, free: 103.4 MB / 394.7 MB