Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_1_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.63/1.63, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2168/1.847, allocations: 41.11 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/1.949, allocations: 38.77 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3296/2.279, allocations: 79.97 MB / 338 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004158/2.279, allocations: 82.69 kB / 338.1 MB, free: 8.285 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: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.596/2.875, allocations: 78.76 MB / 416.8 MB, free: 113.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/2.875, allocations: 14.72 kB / 416.8 MB, free: 113.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/2.893, allocations: 1.825 MB / 418.7 MB, free: 113.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/2.91, allocations: 4.367 MB / 423 MB, free: 113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003154/2.911, allocations: 134.3 kB / 423.2 MB, free: 113 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002098/2.913, allocations: 239.2 kB / 423.4 MB, free: 113 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01609/2.929, allocations: 5.868 MB / 429.3 MB, free: 113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/2.953, allocations: 9.16 MB / 438.4 MB, free: 110.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/2.953, allocations: 68.83 kB / 438.5 MB, free: 110.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001855/2.955, allocations: 34.56 kB / 438.5 MB, free: 110.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002215/2.957, allocations: 1.039 MB / 439.6 MB, free: 110.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1129/3.07, allocations: 48.29 MB / 487.8 MB, free: 75.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004668/3.075, allocations: 2.217 MB / 490.1 MB, free: 74.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003239/3.078, allocations: 1.349 MB / 491.4 MB, free: 73.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0125/3.091, allocations: 4.172 MB / 495.6 MB, free: 71.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/3.091, allocations: 48.94 kB / 495.6 MB, free: 71.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 5.821e-06/3.091, allocations: 0 / 495.6 MB, free: 71.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.03668/3.128, allocations: 8.857 MB / 0.4927 GB, free: 65.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/3.128, allocations: 152.6 kB / 0.4928 GB, free: 64.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007333/3.135, allocations: 2.974 MB / 0.4957 GB, free: 62.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004312/3.135, allocations: 25.7 kB / 0.4957 GB, free: 62.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002459/3.138, allocations: 2.962 MB / 0.4986 GB, free: 59.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009977/3.139, allocations: 0.5776 MB / 0.4992 GB, free: 59.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007313/3.14, allocations: 0 / 0.4992 GB, free: 59.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004505/3.14, allocations: 0.5645 MB / 0.4997 GB, free: 58.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005158/3.145, allocations: 1.87 MB / 0.5016 GB, free: 56.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007641/3.153, allocations: 5.857 MB / 0.5073 GB, free: 49.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007716/3.161, allocations: 3.304 MB / 0.5105 GB, free: 46.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/3.161, allocations: 44 kB / 0.5106 GB, free: 46.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0263/3.187, allocations: 7.748 MB / 0.5181 GB, free: 39.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/3.187, allocations: 4 kB / 0.5181 GB, free: 39.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01507/3.202, allocations: 2.584 MB / 0.5207 GB, free: 37.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00966/3.212, allocations: 1.367 MB / 0.522 GB, free: 36.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008534/3.221, allocations: 1.391 MB / 0.5234 GB, free: 35.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00829/3.229, allocations: 5.076 MB / 0.5283 GB, free: 30.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008136/3.237, allocations: 264.1 kB / 0.5286 GB, free: 30.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/3.239, allocations: 399.4 kB / 0.5289 GB, free: 29.95 MB / 346.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 (744): * Single equations (assignments): 734 * 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 {1} * 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.002042/3.241, allocations: 465.5 kB / 0.5294 GB, free: 29.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007483/3.242, allocations: 296.6 kB / 0.5297 GB, free: 29.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/3.256, allocations: 2.853 MB / 0.5325 GB, free: 26.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01693/3.273, allocations: 2.442 MB / 0.5348 GB, free: 24.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-05/3.273, allocations: 4 kB / 0.5348 GB, free: 24.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.019e-05/3.273, allocations: 7.969 kB / 0.5348 GB, free: 24.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/3.285, allocations: 2.74 MB / 0.5375 GB, free: 21.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/3.285, allocations: 0 / 0.5375 GB, free: 21.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/3.287, allocations: 151.8 kB / 0.5377 GB, free: 21.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009965/3.297, allocations: 1.361 MB / 0.539 GB, free: 19.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005493/3.297, allocations: 23.88 kB / 0.539 GB, free: 19.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01438/3.312, allocations: 5.588 MB / 0.5445 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00155/3.313, allocations: 1.361 MB / 0.5458 GB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02318/3.337, allocations: 5.063 MB / 0.5508 GB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02594/3.363, allocations: 6.913 MB / 0.5575 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/3.364, allocations: 345.1 kB / 0.5578 GB, free: 228 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/3.366, allocations: 11.98 kB / 0.5578 GB, free: 216 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004854/3.37, allocations: 79.89 kB / 0.5579 GB, free: 136 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006271/3.371, allocations: 60.67 kB / 0.558 GB, free: 76 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002739/3.371, allocations: 39.98 kB / 0.558 GB, free: 36 kB / 346.7 MB Notification: Performance of sort global known variables: time 0.1386/3.51, allocations: 1.95 MB / 0.5599 GB, free: 100.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.008783/3.519, allocations: 0.8568 MB / 0.5608 GB, free: 100.3 MB / 346.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.0009349/3.52, allocations: 149.7 kB / 0.5609 GB, free: 100.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01564/3.536, allocations: 4.897 MB / 0.5657 GB, free: 99.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/3.536, allocations: 1.406 kB / 0.5657 GB, free: 99.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007103/3.543, allocations: 1.838 MB / 0.5675 GB, free: 99.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/3.546, allocations: 276 kB / 0.5677 GB, free: 99.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/3.569, allocations: 7.255 MB / 0.5748 GB, free: 97.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009093/3.578, allocations: 3.394 MB / 0.5781 GB, free: 97.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.853e-06/3.578, allocations: 0 / 0.5781 GB, free: 97.2 MB / 346.7 MB