Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_1_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.652/1.652, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2006/1.853, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/1.955, allocations: 38.76 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3268/2.282, allocations: 80.5 MB / 338.5 MB, free: 7.781 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000396/2.283, allocations: 76.64 kB / 338.6 MB, free: 7.742 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: 1298 * Number of variables: 1298 Notification: Performance of Generate backend data structure: time 0.6109/2.894, allocations: 83.7 MB / 422.3 MB, free: 74.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/2.894, allocations: 12.97 kB / 422.3 MB, free: 74.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05525/2.949, allocations: 6.242 MB / 428.5 MB, free: 74.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02789/2.977, allocations: 5.884 MB / 434.4 MB, free: 73.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/2.977, allocations: 111.5 kB / 434.5 MB, free: 73.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/2.979, allocations: 214 kB / 434.8 MB, free: 73.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01452/2.994, allocations: 5.443 MB / 440.2 MB, free: 73.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/3.017, allocations: 8.368 MB / 448.6 MB, free: 71.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002867/3.017, allocations: 59.55 kB / 448.6 MB, free: 71.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001719/3.019, allocations: 28.84 kB / 448.6 MB, free: 71.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002071/3.021, allocations: 0.9585 MB / 449.6 MB, free: 71.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06608/3.087, allocations: 41.71 MB / 491.3 MB, free: 41.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009077/3.096, allocations: 3.229 MB / 494.5 MB, free: 39.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007603/3.104, allocations: 2.179 MB / 496.7 MB, free: 38.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02422/3.128, allocations: 6.385 MB / 0.4913 GB, free: 35.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/3.128, allocations: 50.47 kB / 0.4914 GB, free: 35.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=154): time 6.041e-06/3.128, allocations: 0 / 0.4914 GB, free: 35.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=184): time 0.08262/3.211, allocations: 17.27 MB / 0.5082 GB, free: 21.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/3.211, allocations: 248.6 kB / 0.5085 GB, free: 20.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007312/3.219, allocations: 3.05 MB / 0.5115 GB, free: 18.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005158/3.219, allocations: 25.7 kB / 0.5115 GB, free: 18.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002292/3.221, allocations: 2.6 MB / 0.514 GB, free: 15.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001226/3.223, allocations: 0.6801 MB / 0.5147 GB, free: 15.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005999/3.223, allocations: 0 / 0.5147 GB, free: 15.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004474/3.224, allocations: 0.5385 MB / 0.5152 GB, free: 14.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00536/3.229, allocations: 2.02 MB / 0.5172 GB, free: 12.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008206/3.237, allocations: 5.342 MB / 0.5224 GB, free: 6.254 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008352/3.246, allocations: 3.285 MB / 0.5256 GB, free: 3.438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/3.246, allocations: 32 kB / 0.5256 GB, free: 3.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02942/3.275, allocations: 7.693 MB / 0.5331 GB, free: 12.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/3.276, allocations: 8.188 kB / 0.5332 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003936/3.276, allocations: 120 kB / 0.5333 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/3.289, allocations: 1.339 MB / 0.5346 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01342/3.302, allocations: 1.24 MB / 0.5358 GB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02551/3.328, allocations: 7.506 MB / 0.5431 GB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/3.339, allocations: 179.5 kB / 0.5433 GB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002212/3.341, allocations: 343.2 kB / 0.5436 GB, free: 1.262 MB / 362.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.002349/3.344, allocations: 404.5 kB / 0.544 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/3.345, allocations: 323.8 kB / 0.5443 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1688/3.514, allocations: 3.758 MB / 0.548 GB, free: 114.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001102/3.514, allocations: 15.69 kB / 0.548 GB, free: 114.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.137e-05/3.514, allocations: 7.844 kB / 0.548 GB, free: 114.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.443e-05/3.514, allocations: 7.453 kB / 0.548 GB, free: 114.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03087/3.545, allocations: 7.855 MB / 0.5557 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.635e-05/3.545, allocations: 5.719 kB / 0.5557 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00359/3.549, allocations: 237.6 kB / 0.5559 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007637/3.557, allocations: 1.148 MB / 0.557 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006541/3.557, allocations: 7.156 kB / 0.557 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02233/3.58, allocations: 6.763 MB / 0.5636 GB, free: 112.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/3.58, allocations: 1.969 kB / 0.5636 GB, free: 112.9 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01786/3.598, allocations: 6.627 MB / 0.5701 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02403/3.622, allocations: 9.164 MB / 0.5791 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002298/3.624, allocations: 0.6369 MB / 0.5797 GB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009568/3.625, allocations: 7.078 kB / 0.5797 GB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/3.628, allocations: 57.02 kB / 0.5798 GB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005688/3.629, allocations: 83.08 kB / 0.5798 GB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002288/3.629, allocations: 52.7 kB / 0.5799 GB, free: 110.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.006136/3.635, allocations: 2.08 MB / 0.5819 GB, free: 109.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01016/3.646, allocations: 0.8398 MB / 0.5827 GB, free: 109.3 MB / 362.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.001156/3.647, allocations: 148.1 kB / 0.5829 GB, free: 109.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.02207/3.669, allocations: 5.052 MB / 0.5878 GB, free: 107.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/3.669, allocations: 0 / 0.5878 GB, free: 107.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007912/3.677, allocations: 1.827 MB / 0.5896 GB, free: 107.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005238/3.682, allocations: 379.5 kB / 0.59 GB, free: 106.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03496/3.717, allocations: 7.533 MB / 0.5973 GB, free: 104.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01468/3.732, allocations: 3.41 MB / 0.6006 GB, free: 103.2 MB / 362.7 MB Notification: Performance of SimCode: time 2.014e-06/3.732, allocations: 0 / 0.6006 GB, free: 103.2 MB / 362.7 MB