Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",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.744/1.744, allocations: 171.2 MB / 178.1 MB, free: 8.32 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2153/1.959, allocations: 41.12 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/2.058, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3345/2.393, allocations: 85.76 MB / 343.8 MB, free: 2.59 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/2.393, allocations: 85.09 kB / 343.9 MB, free: 2.547 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1552 * Number of variables: 1552 Notification: Performance of Generate backend data structure: time 0.6563/3.05, allocations: 95.62 MB / 439.5 MB, free: 75.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/3.05, allocations: 13.66 kB / 439.5 MB, free: 75.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05329/3.103, allocations: 6.353 MB / 445.8 MB, free: 75.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02414/3.127, allocations: 6.23 MB / 452.1 MB, free: 74.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/3.127, allocations: 140.2 kB / 452.2 MB, free: 74.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002562/3.13, allocations: 260.8 kB / 452.5 MB, free: 74.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01749/3.148, allocations: 6.422 MB / 458.9 MB, free: 73.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02956/3.177, allocations: 9.631 MB / 468.5 MB, free: 68.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004047/3.178, allocations: 68.03 kB / 468.6 MB, free: 68.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00203/3.18, allocations: 34.7 kB / 468.6 MB, free: 68.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002596/3.182, allocations: 1.083 MB / 469.7 MB, free: 68.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08789/3.27, allocations: 45.23 MB / 0.5029 GB, free: 30.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006484/3.277, allocations: 3.325 MB / 0.5061 GB, free: 26.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004434/3.281, allocations: 2.247 MB / 0.5083 GB, free: 24.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01807/3.299, allocations: 7.011 MB / 0.5151 GB, free: 17.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/3.3, allocations: 55.55 kB / 0.5152 GB, free: 17.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=169): time 8.075e-06/3.3, allocations: 0 / 0.5152 GB, free: 17.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=208): time 0.2187/3.518, allocations: 19.45 MB / 0.5342 GB, free: 105 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/3.518, allocations: 253.1 kB / 0.5344 GB, free: 104.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009926/3.528, allocations: 3.29 MB / 0.5376 GB, free: 104.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005685/3.529, allocations: 25.7 kB / 0.5377 GB, free: 104.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002733/3.532, allocations: 2.999 MB / 0.5406 GB, free: 103.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001421/3.533, allocations: 0.7656 MB / 0.5413 GB, free: 103.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007685/3.534, allocations: 0 / 0.5413 GB, free: 103.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005186/3.535, allocations: 0.5652 MB / 0.5419 GB, free: 102.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005934/3.541, allocations: 2.227 MB / 0.5441 GB, free: 102.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009298/3.55, allocations: 5.881 MB / 0.5498 GB, free: 97.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/3.561, allocations: 3.621 MB / 0.5534 GB, free: 97.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001882/3.561, allocations: 37.09 kB / 0.5534 GB, free: 97.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=807) (initialization): time 0.04027/3.602, allocations: 8.815 MB / 0.562 GB, free: 97.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/3.602, allocations: 3.438 kB / 0.562 GB, free: 97.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002122/3.602, allocations: 129.9 kB / 0.5621 GB, free: 97.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01461/3.617, allocations: 1.916 MB / 0.564 GB, free: 97.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01128/3.628, allocations: 1.341 MB / 0.5653 GB, free: 97.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03292/3.661, allocations: 13.48 MB / 0.5785 GB, free: 90.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007694/3.669, allocations: 199.2 kB / 0.5787 GB, free: 90.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/3.67, allocations: 380.3 kB / 0.579 GB, free: 90.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 30 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.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 (719): * Single equations (assignments): 713 * 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: 2 {(6,69.4%) 32,(4,87.5%) 10} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.003533/3.674, allocations: 417.7 kB / 0.5794 GB, free: 89.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001867/3.676, allocations: 368.8 kB / 0.5798 GB, free: 89.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02324/3.699, allocations: 4.113 MB / 0.5838 GB, free: 88.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001364/3.699, allocations: 26.59 kB / 0.5838 GB, free: 88.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.99e-05/3.7, allocations: 7.938 kB / 0.5838 GB, free: 88.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.38e-05/3.7, allocations: 11.25 kB / 0.5838 GB, free: 88.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03641/3.736, allocations: 8.864 MB / 0.5925 GB, free: 85.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.352e-05/3.736, allocations: 0 / 0.5925 GB, free: 85.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003226/3.739, allocations: 290.5 kB / 0.5928 GB, free: 84.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007019/3.746, allocations: 1.154 MB / 0.5939 GB, free: 84.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005566/3.747, allocations: 12 kB / 0.5939 GB, free: 84.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/3.764, allocations: 6.794 MB / 0.6005 GB, free: 78.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/3.764, allocations: 1.641 kB / 0.6005 GB, free: 78.03 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02056/3.785, allocations: 7.182 MB / 0.6076 GB, free: 71.73 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02552/3.811, allocations: 9.949 MB / 0.6173 GB, free: 62.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002981/3.814, allocations: 0.6875 MB / 0.6179 GB, free: 62.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001675/3.815, allocations: 7.891 kB / 0.6179 GB, free: 62.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005918/3.821, allocations: 61.64 kB / 0.618 GB, free: 62.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00103/3.822, allocations: 93.78 kB / 0.6181 GB, free: 62.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006586/3.823, allocations: 48 kB / 0.6181 GB, free: 62.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.008387/3.832, allocations: 2.243 MB / 0.6203 GB, free: 60.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.009894/3.842, allocations: 0.9656 MB / 0.6213 GB, free: 59.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (155): * Single equations (assignments): 151 * 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 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/3.843, allocations: 150.4 kB / 0.6214 GB, free: 59.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01618/3.859, allocations: 5.878 MB / 0.6272 GB, free: 53.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/3.859, allocations: 0 / 0.6272 GB, free: 53.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006782/3.866, allocations: 2.06 MB / 0.6292 GB, free: 51.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004601/3.87, allocations: 442 kB / 0.6296 GB, free: 51.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03/3.9, allocations: 8.689 MB / 0.6381 GB, free: 43.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01093/3.911, allocations: 3.89 MB / 0.6419 GB, free: 40.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.964e-06/3.911, allocations: 5.422 kB / 0.6419 GB, free: 40.74 MB / 346.7 MB