Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",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.639/1.639, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2141/1.853, allocations: 46.83 MB / 249.3 MB, free: 5.367 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08638/1.94, allocations: 44.51 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2788/2.219, allocations: 85.94 MB / 379.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/2.219, allocations: 79.55 kB / 379.9 MB, free: 6.074 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: 1299 * Number of variables: 1299 Notification: Performance of Generate backend data structure: time 0.3482/2.567, allocations: 83.73 MB / 463.6 MB, free: 7.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/2.567, allocations: 8 kB / 463.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04658/2.614, allocations: 6.249 MB / 469.9 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02244/2.636, allocations: 5.895 MB / 475.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/2.637, allocations: 119.9 kB / 475.9 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001763/2.638, allocations: 215.8 kB / 476.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01521/2.654, allocations: 5.441 MB / 481.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02088/2.675, allocations: 8.37 MB / 489.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002369/2.675, allocations: 59.47 kB / 489.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/2.676, allocations: 28 kB / 490 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002058/2.678, allocations: 0.9538 MB / 490.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1821/2.86, allocations: 41.73 MB / 0.5202 GB, free: 97.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00584/2.866, allocations: 3.221 MB / 0.5233 GB, free: 96.97 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003762/2.87, allocations: 2.184 MB / 0.5254 GB, free: 96.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01334/2.883, allocations: 6.381 MB / 0.5317 GB, free: 95.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/2.883, allocations: 54.64 kB / 0.5317 GB, free: 94.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=154): time 5.781e-06/2.883, allocations: 0 / 0.5317 GB, free: 94.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=184): time 0.05988/2.943, allocations: 17.27 MB / 0.5486 GB, free: 91.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/2.943, allocations: 260.6 kB / 0.5488 GB, free: 91.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006469/2.95, allocations: 3.046 MB / 0.5518 GB, free: 90.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005015/2.95, allocations: 29.61 kB / 0.5519 GB, free: 90.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002027/2.952, allocations: 2.596 MB / 0.5544 GB, free: 88.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/2.953, allocations: 0.6797 MB / 0.555 GB, free: 87.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004915/2.954, allocations: 0 / 0.555 GB, free: 87.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003272/2.954, allocations: 0.5441 MB / 0.5556 GB, free: 87.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004346/2.959, allocations: 2.016 MB / 0.5575 GB, free: 86.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006444/2.965, allocations: 5.347 MB / 0.5628 GB, free: 81.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007156/2.972, allocations: 3.283 MB / 0.566 GB, free: 80.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.097e-05/2.973, allocations: 32.06 kB / 0.566 GB, free: 80.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.023/2.996, allocations: 7.691 MB / 0.5735 GB, free: 78.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/2.996, allocations: 4.531 kB / 0.5735 GB, free: 78.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/2.996, allocations: 120.2 kB / 0.5736 GB, free: 78.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007293/3.003, allocations: 1.338 MB / 0.5749 GB, free: 78.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007717/3.011, allocations: 1.239 MB / 0.5762 GB, free: 78.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/3.03, allocations: 7.496 MB / 0.5835 GB, free: 74.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00656/3.037, allocations: 181.8 kB / 0.5836 GB, free: 74.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/3.038, allocations: 343.3 kB / 0.584 GB, free: 74.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 27 (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 (669): * Single equations (assignments): 665 * 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%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001067/3.039, allocations: 404 kB / 0.5844 GB, free: 73.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000793/3.04, allocations: 323.8 kB / 0.5847 GB, free: 73.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/3.052, allocations: 3.762 MB / 0.5883 GB, free: 70.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.962e-05/3.052, allocations: 16.75 kB / 0.5884 GB, free: 70.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/3.052, allocations: 11.94 kB / 0.5884 GB, free: 70.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.208e-05/3.052, allocations: 10.84 kB / 0.5884 GB, free: 70.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02476/3.077, allocations: 7.854 MB / 0.5961 GB, free: 63.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-05/3.077, allocations: 7.906 kB / 0.5961 GB, free: 63.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003627/3.081, allocations: 237.1 kB / 0.5963 GB, free: 63.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009373/3.09, allocations: 1.158 MB / 0.5974 GB, free: 62.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006028/3.091, allocations: 4 kB / 0.5974 GB, free: 62.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02244/3.113, allocations: 6.773 MB / 0.604 GB, free: 56.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/3.113, allocations: 0 / 0.604 GB, free: 56.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02393/3.137, allocations: 6.622 MB / 0.6105 GB, free: 51.11 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02983/3.167, allocations: 9.169 MB / 0.6195 GB, free: 42.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003004/3.17, allocations: 0.6313 MB / 0.6201 GB, free: 42.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/3.172, allocations: 8 kB / 0.6201 GB, free: 42.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004118/3.176, allocations: 54.78 kB / 0.6201 GB, free: 42.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005693/3.176, allocations: 83.3 kB / 0.6202 GB, free: 42.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000333/3.177, allocations: 52 kB / 0.6203 GB, free: 42.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.006601/3.183, allocations: 2.079 MB / 0.6223 GB, free: 40.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01212/3.196, allocations: 0.8396 MB / 0.6231 GB, free: 39.6 MB / 394.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 (130): * Single equations (assignments): 126 * 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,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/3.197, allocations: 148.1 kB / 0.6233 GB, free: 39.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01816/3.215, allocations: 5.052 MB / 0.6282 GB, free: 34.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/3.215, allocations: 4 kB / 0.6282 GB, free: 34.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0071/3.222, allocations: 1.821 MB / 0.63 GB, free: 33.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004971/3.227, allocations: 373.6 kB / 0.6303 GB, free: 32.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03127/3.258, allocations: 7.544 MB / 0.6377 GB, free: 26.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01143/3.27, allocations: 3.414 MB / 0.641 GB, free: 23.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/3.27, allocations: 0 / 0.641 GB, free: 23.54 MB / 394.7 MB