Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutTorque2",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.146/2.146, allocations: 209.3 MB / 216.3 MB, free: 4.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1549/2.301, allocations: 51.03 MB / 267.3 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/2.602, allocations: 48.69 MB / 316 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/2.824, allocations: 88.62 MB / 404.6 MB, free: 8.395 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/2.824, allocations: 71.97 kB / 404.7 MB, free: 8.324 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.4886/3.313, allocations: 57.52 MB / 462.2 MB, free: 90.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/3.313, allocations: 10.78 kB / 462.2 MB, free: 90.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/3.327, allocations: 1.51 MB / 463.7 MB, free: 90.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00616/3.333, allocations: 1.748 MB / 465.5 MB, free: 90.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/3.333, allocations: 95.81 kB / 465.6 MB, free: 90.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001599/3.335, allocations: 168.9 kB / 465.7 MB, free: 90.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01199/3.347, allocations: 4.563 MB / 470.3 MB, free: 89.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01945/3.366, allocations: 6.288 MB / 476.6 MB, free: 86.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/3.367, allocations: 14.31 kB / 476.6 MB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008813/3.367, allocations: 18.09 kB / 476.6 MB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001391/3.369, allocations: 0.7353 MB / 477.3 MB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05278/3.422, allocations: 23.6 MB / 0.4892 GB, free: 66.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003712/3.425, allocations: 1.526 MB / 0.4907 GB, free: 64.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/3.427, allocations: 0.5932 MB / 0.4913 GB, free: 64.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/3.428, allocations: 19.33 kB / 0.4913 GB, free: 64.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/3.428, allocations: 39.34 kB / 0.4913 GB, free: 64.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 6.793e-06/3.428, allocations: 4 kB / 0.4913 GB, free: 64.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.008218/3.436, allocations: 1.578 MB / 0.4929 GB, free: 62.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/3.436, allocations: 60.19 kB / 0.4929 GB, free: 62.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00499/3.441, allocations: 1.661 MB / 0.4945 GB, free: 60.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002486/3.441, allocations: 25.7 kB / 0.4946 GB, free: 60.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002196/3.443, allocations: 1.948 MB / 0.4965 GB, free: 58.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007893/3.444, allocations: 414.6 kB / 0.4969 GB, free: 58.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003882/3.445, allocations: 3.938 kB / 0.4969 GB, free: 58.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005026/3.445, allocations: 0.4945 MB / 0.4973 GB, free: 57.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/3.448, allocations: 0.9595 MB / 0.4983 GB, free: 56.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005009/3.454, allocations: 3.097 MB / 0.5013 GB, free: 52.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005163/3.459, allocations: 1.779 MB / 0.503 GB, free: 51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-05/3.459, allocations: 24 kB / 0.5031 GB, free: 50.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.01367/3.473, allocations: 3.588 MB / 0.5066 GB, free: 47.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/3.473, allocations: 11.94 kB / 0.5066 GB, free: 47.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002396/3.473, allocations: 76 kB / 0.5067 GB, free: 47.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/3.473, allocations: 112 kB / 0.5068 GB, free: 47.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007466/3.481, allocations: 0.772 MB / 0.5075 GB, free: 46.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002337/3.481, allocations: 155.4 kB / 0.5077 GB, free: 46.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00489/3.486, allocations: 387.6 kB / 0.508 GB, free: 45.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008356/3.487, allocations: 216 kB / 0.5082 GB, free: 45.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (432): * Single equations (assignments): 429 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006715/3.487, allocations: 297.1 kB / 0.5085 GB, free: 45.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/3.488, allocations: 169.8 kB / 0.5087 GB, free: 45.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/3.491, allocations: 1.39 MB / 0.51 GB, free: 43.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/3.492, allocations: 12 kB / 0.5101 GB, free: 43.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/3.492, allocations: 0 / 0.5101 GB, free: 43.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/3.492, allocations: 7.984 kB / 0.5101 GB, free: 43.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/3.505, allocations: 5.258 MB / 0.5152 GB, free: 38.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.282e-05/3.505, allocations: 13 kB / 0.5152 GB, free: 38.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/3.506, allocations: 151.7 kB / 0.5154 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.691e-05/3.506, allocations: 20 kB / 0.5154 GB, free: 38.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/3.506, allocations: 23.89 kB / 0.5154 GB, free: 38.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.652e-05/3.507, allocations: 19.94 kB / 0.5154 GB, free: 38.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/3.507, allocations: 19.88 kB / 0.5154 GB, free: 38.04 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003651/3.51, allocations: 2.479 MB / 0.5179 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003885/3.514, allocations: 2.882 MB / 0.5207 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005278/3.515, allocations: 254.6 kB / 0.5209 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003888/3.515, allocations: 23.59 kB / 0.5209 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/3.516, allocations: 19.98 kB / 0.521 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/3.517, allocations: 75.69 kB / 0.521 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/3.517, allocations: 47.98 kB / 0.5211 GB, free: 31.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.002508/3.519, allocations: 1.102 MB / 0.5222 GB, free: 30.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005208/3.524, allocations: 0.7228 MB / 0.5229 GB, free: 29.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000594/3.525, allocations: 142.9 kB / 0.523 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005302/3.53, allocations: 2.277 MB / 0.5252 GB, free: 27.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/3.53, allocations: 12 kB / 0.5252 GB, free: 27.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/3.532, allocations: 0.6152 MB / 0.5258 GB, free: 26.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/3.533, allocations: 174.8 kB / 0.526 GB, free: 26.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/3.548, allocations: 4.892 MB / 0.5308 GB, free: 21.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005479/3.553, allocations: 2.677 MB / 0.5334 GB, free: 18.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/3.553, allocations: 0 / 0.5334 GB, free: 18.55 MB / 378.7 MB