Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",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.645/1.645, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2197/1.865, allocations: 46.84 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/1.957, allocations: 44.5 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3022/2.26, allocations: 85.29 MB / 379.1 MB, free: 6.398 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/2.26, allocations: 83.36 kB / 379.2 MB, free: 6.387 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: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.3726/2.633, allocations: 78.92 MB / 458.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.425e-05/2.633, allocations: 15.94 kB / 458.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0262/2.659, allocations: 1.831 MB / 460 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02764/2.687, allocations: 4.38 MB / 464.4 MB, free: 6.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004706/2.687, allocations: 139.9 kB / 464.5 MB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002844/2.69, allocations: 236 kB / 464.7 MB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02404/2.714, allocations: 5.865 MB / 470.6 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03414/2.748, allocations: 9.159 MB / 479.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003001/2.749, allocations: 59.41 kB / 479.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001994/2.751, allocations: 32 kB / 479.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003565/2.754, allocations: 1.048 MB / 480.9 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2556/3.01, allocations: 48.3 MB / 0.5168 GB, free: 96.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004374/3.015, allocations: 2.224 MB / 0.519 GB, free: 95.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002609/3.017, allocations: 1.341 MB / 0.5203 GB, free: 95.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/3.028, allocations: 4.167 MB / 0.5244 GB, free: 94.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/3.028, allocations: 45.16 kB / 0.5244 GB, free: 94.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=131): time 5.641e-06/3.028, allocations: 0 / 0.5244 GB, free: 94.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.03561/3.064, allocations: 8.871 MB / 0.5331 GB, free: 91.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/3.064, allocations: 143.3 kB / 0.5332 GB, free: 91.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007071/3.071, allocations: 2.975 MB / 0.5361 GB, free: 91.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003776/3.071, allocations: 28.52 kB / 0.5361 GB, free: 91.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00232/3.074, allocations: 2.963 MB / 0.539 GB, free: 89.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009393/3.075, allocations: 0.5714 MB / 0.5396 GB, free: 89.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008305/3.075, allocations: 0 / 0.5396 GB, free: 89.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005016/3.076, allocations: 0.5692 MB / 0.5401 GB, free: 88.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004869/3.081, allocations: 1.875 MB / 0.542 GB, free: 88.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007462/3.088, allocations: 5.859 MB / 0.5477 GB, free: 83.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007554/3.096, allocations: 3.313 MB / 0.5509 GB, free: 83.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001372/3.096, allocations: 42.59 kB / 0.551 GB, free: 83.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02639/3.123, allocations: 7.841 MB / 0.5586 GB, free: 81.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/3.123, allocations: 6 kB / 0.5586 GB, free: 81.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01123/3.134, allocations: 2.652 MB / 0.5612 GB, free: 80.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/3.145, allocations: 1.441 MB / 0.5626 GB, free: 80.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0114/3.156, allocations: 1.374 MB / 0.564 GB, free: 80.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/3.168, allocations: 5.392 MB / 0.5692 GB, free: 76.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/3.18, allocations: 264.7 kB / 0.5695 GB, free: 76.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/3.182, allocations: 403.5 kB / 0.5699 GB, free: 76.78 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring3.lineForce.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 658 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (741): * Single equations (assignments): 731 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.001798/3.184, allocations: 462.5 kB / 0.5703 GB, free: 76.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/3.185, allocations: 294.3 kB / 0.5706 GB, free: 76.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/3.201, allocations: 2.852 MB / 0.5734 GB, free: 75.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01193/3.213, allocations: 2.445 MB / 0.5758 GB, free: 74.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/3.213, allocations: 2.75 kB / 0.5758 GB, free: 74.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.654e-05/3.213, allocations: 5.141 kB / 0.5758 GB, free: 74.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007679/3.22, allocations: 2.742 MB / 0.5784 GB, free: 73.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/3.22, allocations: 7.5 kB / 0.5785 GB, free: 73.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/3.222, allocations: 150.5 kB / 0.5786 GB, free: 73.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008912/3.231, allocations: 1.351 MB / 0.5799 GB, free: 72.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004113/3.232, allocations: 18.94 kB / 0.5799 GB, free: 72.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009746/3.241, allocations: 5.589 MB / 0.5854 GB, free: 67.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001026/3.242, allocations: 1.367 MB / 0.5867 GB, free: 65.82 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01505/3.258, allocations: 5.066 MB / 0.5917 GB, free: 61.45 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01748/3.275, allocations: 6.904 MB / 0.5984 GB, free: 55.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009483/3.276, allocations: 340.6 kB / 0.5987 GB, free: 55.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007212/3.277, allocations: 14.52 kB / 0.5988 GB, free: 55.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/3.279, allocations: 82.81 kB / 0.5988 GB, free: 54.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/3.28, allocations: 57.86 kB / 0.5989 GB, free: 54.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/3.28, allocations: 46.39 kB / 0.5989 GB, free: 54.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004267/3.284, allocations: 1.953 MB / 0.6008 GB, free: 53.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00796/3.292, allocations: 0.8689 MB / 0.6017 GB, free: 52.37 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007138/3.293, allocations: 143.8 kB / 0.6018 GB, free: 52.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01373/3.307, allocations: 5.026 MB / 0.6067 GB, free: 47.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/3.307, allocations: 0 / 0.6067 GB, free: 47.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00639/3.313, allocations: 1.831 MB / 0.6085 GB, free: 46.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/3.315, allocations: 278 kB / 0.6088 GB, free: 45.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/3.336, allocations: 7.267 MB / 0.6159 GB, free: 39.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006715/3.342, allocations: 3.402 MB / 0.6192 GB, free: 36.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/3.343, allocations: 0 / 0.6192 GB, free: 36.68 MB / 394.7 MB