Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Worldtorque,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Worldtorque",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.141/2.141, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1758/2.317, allocations: 57.21 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/2.605, allocations: 54.85 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4099/3.015, allocations: 98.93 MB / 452.9 MB, free: 33.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004381/3.015, allocations: 75.31 kB / 453 MB, free: 33.12 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: 2470 * Number of variables: 2470 Notification: Performance of Generate backend data structure: time 0.6926/3.708, allocations: 145.2 MB / 0.5841 GB, free: 288 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/3.708, allocations: 12 kB / 0.5841 GB, free: 276 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08431/3.792, allocations: 9.131 MB / 0.5931 GB, free: 7.109 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04898/3.842, allocations: 8.933 MB / 0.6018 GB, free: 14.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008592/3.842, allocations: 235.9 kB / 0.602 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005276/3.848, allocations: 427.8 kB / 0.6024 GB, free: 13.44 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03316/3.881, allocations: 9.76 MB / 0.6119 GB, free: 3.672 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2689/4.15, allocations: 14.91 MB / 0.6265 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006908/4.151, allocations: 91.52 kB / 0.6266 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004321/4.155, allocations: 49.72 kB / 0.6266 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004653/4.16, allocations: 1.642 MB / 0.6282 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1649/4.325, allocations: 71.1 MB / 0.6977 GB, free: 69.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/4.335, allocations: 5.06 MB / 0.7026 GB, free: 68.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007343/4.343, allocations: 3.437 MB / 0.706 GB, free: 68.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02732/4.37, allocations: 9.778 MB / 0.7155 GB, free: 64.17 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/4.37, allocations: 64.56 kB / 0.7156 GB, free: 64.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=243): time 6.523e-06/4.37, allocations: 2.844 kB / 0.7156 GB, free: 64.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=263): time 0.08203/4.452, allocations: 23.31 MB / 0.7384 GB, free: 53.83 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/4.452, allocations: 254.8 kB / 0.7386 GB, free: 53.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02148/4.474, allocations: 4.984 MB / 0.7435 GB, free: 51.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009302/4.475, allocations: 32.92 kB / 0.7435 GB, free: 51.74 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00619/4.481, allocations: 4.635 MB / 0.748 GB, free: 48.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00276/4.484, allocations: 0.9832 MB / 0.749 GB, free: 47.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00184/4.486, allocations: 3.938 kB / 0.749 GB, free: 47.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001618/4.488, allocations: 0.6842 MB / 0.7497 GB, free: 47.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01179/4.5, allocations: 2.864 MB / 0.7525 GB, free: 46.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01664/4.516, allocations: 8.313 MB / 0.7606 GB, free: 37.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/4.532, allocations: 4.86 MB / 0.7653 GB, free: 36.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002202/4.532, allocations: 55.06 kB / 0.7654 GB, free: 36.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=1160) (initialization): time 0.03398/4.566, allocations: 10.49 MB / 0.7756 GB, free: 32.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/4.566, allocations: 5.312 kB / 0.7756 GB, free: 32.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004387/4.566, allocations: 199 kB / 0.7758 GB, free: 32.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003566/4.57, allocations: 0.8454 MB / 0.7766 GB, free: 32.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01542/4.585, allocations: 2.045 MB / 0.7786 GB, free: 30.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/4.604, allocations: 8.057 MB / 0.7865 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/4.615, allocations: 276.7 kB / 0.7868 GB, free: 22.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002318/4.618, allocations: 0.5439 MB / 0.7873 GB, free: 22.42 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 891 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1094): * Single equations (assignments): 1088 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003156/4.621, allocations: 0.591 MB / 0.7879 GB, free: 21.83 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/4.623, allocations: 0.5128 MB / 0.7884 GB, free: 21.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/4.636, allocations: 4.352 MB / 0.7926 GB, free: 17.69 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001115/4.637, allocations: 27.91 kB / 0.7927 GB, free: 17.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/4.637, allocations: 8 kB / 0.7927 GB, free: 17.65 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.075e-05/4.637, allocations: 14.11 kB / 0.7927 GB, free: 17.65 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03928/4.676, allocations: 10.13 MB / 0.8026 GB, free: 9.395 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.685e-05/4.676, allocations: 8 kB / 0.8026 GB, free: 9.387 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007698/4.684, allocations: 417 kB / 0.803 GB, free: 9.047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004427/4.688, allocations: 0.5279 MB / 0.8035 GB, free: 8.633 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008453/4.689, allocations: 11.84 kB / 0.8035 GB, free: 8.625 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/4.708, allocations: 7.142 MB / 0.8105 GB, free: 1.738 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/4.708, allocations: 224 / 0.8105 GB, free: 1.738 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2503/4.958, allocations: 7.924 MB / 0.8182 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02803/4.986, allocations: 10.99 MB / 0.8289 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003875/4.99, allocations: 0.8908 MB / 0.8298 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002278/4.992, allocations: 7.875 kB / 0.8298 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005455/4.998, allocations: 82.61 kB / 0.8299 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009629/4.999, allocations: 124.3 kB / 0.83 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003642/4.999, allocations: 69.8 kB / 0.8301 GB, free: 102.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.009972/5.009, allocations: 3.391 MB / 0.8334 GB, free: 101.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01474/5.024, allocations: 1.333 MB / 0.8347 GB, free: 101.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(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.001668/5.026, allocations: 164.6 kB / 0.8349 GB, free: 101.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02095/5.047, allocations: 7.088 MB / 0.8418 GB, free: 101.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/5.047, allocations: 0 / 0.8418 GB, free: 101.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006305/5.053, allocations: 2.394 MB / 0.8441 GB, free: 101.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006827/5.06, allocations: 0.5909 MB / 0.8447 GB, free: 101.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04316/5.103, allocations: 12.34 MB / 0.8567 GB, free: 98.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02336/5.127, allocations: 5.631 MB / 0.8622 GB, free: 97.96 MB / 474.7 MB Notification: Performance of SimCode: time 1.773e-06/5.127, allocations: 0 / 0.8622 GB, free: 97.96 MB / 474.7 MB