Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_2_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.707/1.707, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1967/1.903, allocations: 46.85 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08818/1.992, allocations: 44.5 MB / 293.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2899/2.282, allocations: 91.22 MB / 385.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/2.282, allocations: 87.41 kB / 385.2 MB, free: 4.449 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: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.396/2.678, allocations: 95.67 MB / 480.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/2.678, allocations: 8 kB / 480.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0476/2.726, allocations: 6.354 MB / 487.2 MB, free: 88 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02438/2.75, allocations: 6.231 MB / 493.4 MB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/2.75, allocations: 140 kB / 493.6 MB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002317/2.753, allocations: 267.8 kB / 493.8 MB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01811/2.771, allocations: 6.413 MB / 0.4885 GB, free: 2.973 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1491/2.92, allocations: 9.643 MB / 0.4979 GB, free: 112.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000235/2.92, allocations: 66.08 kB / 0.498 GB, free: 112.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008959/2.921, allocations: 26.25 kB / 0.498 GB, free: 112.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001786/2.923, allocations: 1.092 MB / 0.4991 GB, free: 112.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06539/2.988, allocations: 45.23 MB / 0.5433 GB, free: 86.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00618/2.995, allocations: 3.325 MB / 0.5465 GB, free: 86.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004137/2.999, allocations: 2.249 MB / 0.5487 GB, free: 85.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01553/3.014, allocations: 7.023 MB / 0.5556 GB, free: 82.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/3.014, allocations: 54.39 kB / 0.5556 GB, free: 82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=169): time 5.801e-06/3.014, allocations: 3.562 kB / 0.5556 GB, free: 82 MB / 394.7 MB Notification: Performance of matching and sorting (n=208): time 0.06855/3.083, allocations: 19.43 MB / 0.5746 GB, free: 74.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.835e-05/3.083, allocations: 256.2 kB / 0.5748 GB, free: 74.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006569/3.09, allocations: 3.289 MB / 0.578 GB, free: 73.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005606/3.09, allocations: 29.7 kB / 0.5781 GB, free: 73.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002126/3.093, allocations: 2.99 MB / 0.581 GB, free: 70.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/3.094, allocations: 0.7747 MB / 0.5817 GB, free: 70.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005761/3.094, allocations: 0 / 0.5817 GB, free: 70.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000377/3.095, allocations: 0.5677 MB / 0.5823 GB, free: 69.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004927/3.1, allocations: 2.219 MB / 0.5845 GB, free: 69.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00706/3.107, allocations: 5.883 MB / 0.5902 GB, free: 63.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0079/3.115, allocations: 3.62 MB / 0.5937 GB, free: 62.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.389e-05/3.115, allocations: 37.88 kB / 0.5938 GB, free: 62.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=807) (initialization): time 0.02989/3.145, allocations: 8.819 MB / 0.6024 GB, free: 58.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/3.145, allocations: 4.625 kB / 0.6024 GB, free: 58.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/3.145, allocations: 132 kB / 0.6025 GB, free: 58.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/3.156, allocations: 1.92 MB / 0.6044 GB, free: 56.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009729/3.165, allocations: 1.328 MB / 0.6057 GB, free: 55.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02926/3.195, allocations: 13.5 MB / 0.6189 GB, free: 43.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007212/3.202, allocations: 202.9 kB / 0.6191 GB, free: 43.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001632/3.204, allocations: 379.7 kB / 0.6194 GB, free: 42.99 MB / 394.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.0013/3.205, allocations: 428.6 kB / 0.6198 GB, free: 42.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009354/3.206, allocations: 355.4 kB / 0.6202 GB, free: 42.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/3.219, allocations: 4.117 MB / 0.6242 GB, free: 38.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/3.219, allocations: 20 kB / 0.6242 GB, free: 38.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/3.22, allocations: 8 kB / 0.6242 GB, free: 38.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.103e-05/3.22, allocations: 10.88 kB / 0.6242 GB, free: 38.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/3.245, allocations: 8.867 MB / 0.6329 GB, free: 31.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/3.245, allocations: 3.469 kB / 0.6329 GB, free: 31.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003038/3.248, allocations: 282.3 kB / 0.6332 GB, free: 31.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006722/3.255, allocations: 1.161 MB / 0.6343 GB, free: 30.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004439/3.256, allocations: 11.84 kB / 0.6343 GB, free: 30.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/3.272, allocations: 6.789 MB / 0.641 GB, free: 24.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/3.272, allocations: 0 / 0.641 GB, free: 24.53 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01818/3.29, allocations: 7.169 MB / 0.648 GB, free: 17.47 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02358/3.314, allocations: 9.955 MB / 0.6577 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002475/3.317, allocations: 0.6954 MB / 0.6584 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008471/3.317, allocations: 11.73 kB / 0.6584 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/3.32, allocations: 55.92 kB / 0.6584 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/3.321, allocations: 97.17 kB / 0.6585 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002454/3.321, allocations: 51.98 kB / 0.6586 GB, free: 6.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00471/3.326, allocations: 2.236 MB / 0.6607 GB, free: 4.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008585/3.334, allocations: 0.969 MB / 0.6617 GB, free: 3.379 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 (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.0008271/3.335, allocations: 147.7 kB / 0.6618 GB, free: 3.227 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.1472/3.483, allocations: 5.863 MB / 0.6676 GB, free: 108.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/3.483, allocations: 0 / 0.6676 GB, free: 108.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0063/3.489, allocations: 2.064 MB / 0.6696 GB, free: 108.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/3.493, allocations: 452.4 kB / 0.67 GB, free: 108.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/3.519, allocations: 8.7 MB / 0.6785 GB, free: 106.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008587/3.528, allocations: 3.889 MB / 0.6823 GB, free: 105.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/3.528, allocations: 0 / 0.6823 GB, free: 105.8 MB / 394.7 MB