Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Worldtorque,fileNamePrefix="ModelicaTest_3_2_1_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.039/2.039, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2518/2.291, allocations: 51.03 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/2.416, allocations: 48.69 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4357/2.852, allocations: 92.35 MB / 408.3 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/2.852, allocations: 83.3 kB / 408.4 MB, free: 0.5742 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.8688/3.721, allocations: 145.1 MB / 0.5405 GB, free: 77.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/3.721, allocations: 9.594 kB / 0.5405 GB, free: 77.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0795/3.8, allocations: 9.135 MB / 0.5494 GB, free: 74.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05194/3.852, allocations: 8.932 MB / 0.5582 GB, free: 69.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006254/3.853, allocations: 233.8 kB / 0.5584 GB, free: 69.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004328/3.857, allocations: 424.1 kB / 0.5588 GB, free: 69.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03528/3.893, allocations: 9.759 MB / 0.5683 GB, free: 60.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05151/3.944, allocations: 14.91 MB / 0.5829 GB, free: 43.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006014/3.945, allocations: 99.11 kB / 0.583 GB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003692/3.949, allocations: 44 kB / 0.583 GB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003222/3.952, allocations: 1.635 MB / 0.5846 GB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3452/4.297, allocations: 71.08 MB / 0.654 GB, free: 87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01515/4.312, allocations: 5.062 MB / 0.659 GB, free: 86.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01034/4.323, allocations: 3.428 MB / 0.6623 GB, free: 86.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03555/4.358, allocations: 9.781 MB / 0.6719 GB, free: 84.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.358e-05/4.359, allocations: 61.12 kB / 0.6719 GB, free: 84.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=243): time 6.472e-06/4.359, allocations: 3.469 kB / 0.6719 GB, free: 84.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.08268/4.441, allocations: 23.32 MB / 0.6947 GB, free: 77.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/4.441, allocations: 262 kB / 0.695 GB, free: 76.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01457/4.456, allocations: 4.993 MB / 0.6998 GB, free: 74.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007979/4.457, allocations: 25.7 kB / 0.6999 GB, free: 74.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004001/4.461, allocations: 4.633 MB / 0.7044 GB, free: 71.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001808/4.463, allocations: 0.9888 MB / 0.7054 GB, free: 70.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/4.464, allocations: 0 / 0.7054 GB, free: 70.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008757/4.465, allocations: 0.6849 MB / 0.706 GB, free: 70.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008021/4.473, allocations: 2.86 MB / 0.7088 GB, free: 69.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01201/4.485, allocations: 8.313 MB / 0.7169 GB, free: 60.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/4.499, allocations: 4.874 MB / 0.7217 GB, free: 59.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002387/4.499, allocations: 56.97 kB / 0.7217 GB, free: 59.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=1160) (initialization): time 0.03834/4.538, allocations: 10.48 MB / 0.732 GB, free: 53.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/4.538, allocations: 4 kB / 0.732 GB, free: 53.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003782/4.538, allocations: 196 kB / 0.7322 GB, free: 53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00356/4.542, allocations: 0.8524 MB / 0.733 GB, free: 52.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01442/4.556, allocations: 2.039 MB / 0.735 GB, free: 50.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/4.57, allocations: 8.061 MB / 0.7429 GB, free: 42.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01129/4.582, allocations: 276.4 kB / 0.7431 GB, free: 42.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002317/4.584, allocations: 0.5446 MB / 0.7437 GB, free: 42.07 MB / 426.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.002984/4.587, allocations: 0.591 MB / 0.7442 GB, free: 41.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/4.589, allocations: 0.509 MB / 0.7447 GB, free: 40.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/4.603, allocations: 4.354 MB / 0.749 GB, free: 37.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001208/4.603, allocations: 24 kB / 0.749 GB, free: 37.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.031e-05/4.603, allocations: 8 kB / 0.749 GB, free: 37.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.179e-05/4.603, allocations: 16.94 kB / 0.749 GB, free: 37.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0343/4.637, allocations: 10.15 MB / 0.7589 GB, free: 29.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.112e-05/4.638, allocations: 0 / 0.7589 GB, free: 29.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0051/4.643, allocations: 419.1 kB / 0.7593 GB, free: 28.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003019/4.646, allocations: 0.5221 MB / 0.7599 GB, free: 28.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007149/4.646, allocations: 12 kB / 0.7599 GB, free: 28.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/4.659, allocations: 7.143 MB / 0.7668 GB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/4.659, allocations: 4 kB / 0.7668 GB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01929/4.678, allocations: 7.806 MB / 0.7745 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02669/4.705, allocations: 11.01 MB / 0.7852 GB, free: 4.387 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003715/4.709, allocations: 0.8965 MB / 0.7861 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/4.711, allocations: 0 / 0.7861 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005446/4.716, allocations: 85.48 kB / 0.7862 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00115/4.717, allocations: 128.7 kB / 0.7863 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003409/4.718, allocations: 70.58 kB / 0.7864 GB, free: 3.348 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.009466/4.727, allocations: 3.407 MB / 0.7897 GB, free: 380 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.02215/4.749, allocations: 1.801 MB / 0.7915 GB, free: 0 / 426.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.001541/4.751, allocations: 155.1 kB / 0.7916 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02556/4.776, allocations: 7.088 MB / 0.7985 GB, free: 9.391 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/4.777, allocations: 0 / 0.7985 GB, free: 9.391 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006535/4.783, allocations: 2.394 MB / 0.8009 GB, free: 7.184 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006577/4.79, allocations: 0.5827 MB / 0.8014 GB, free: 6.691 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2579/5.048, allocations: 12.82 MB / 0.814 GB, free: 136.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01756/5.065, allocations: 5.631 MB / 0.8195 GB, free: 135.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.934e-06/5.065, allocations: 0 / 0.8195 GB, free: 135.3 MB / 442.7 MB