Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.787/2.787, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.3e-05, allocations: 3 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5293/0.6474, allocations: 89.62 MB / 383.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004621/0.6479, allocations: 89 kB / 384 MB, free: 4.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4919/1.14, allocations: 90.08 MB / 474.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.966e-06/1.14, allocations: 0 / 474.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003454/1.14, allocations: 92 kB / 474.1 MB, free: 13.22 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.0314/1.172, allocations: 4.624 MB / 478.8 MB, free: 8.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.045e-05/1.172, allocations: 12.03 kB / 478.8 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004056/1.176, allocations: 0.6526 MB / 479.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02852/1.204, allocations: 2.685 MB / 482.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02688/1.231, allocations: 5.539 MB / 487.7 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004743/1.232, allocations: 197.3 kB / 487.8 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00288/1.235, allocations: 271.9 kB / 488.1 MB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02269/1.258, allocations: 6.73 MB / 494.8 MB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.379/1.637, allocations: 10.18 MB / 0.4932 GB, free: 75.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004878/1.637, allocations: 69.42 kB / 0.4933 GB, free: 75.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002535/1.64, allocations: 34.06 kB / 0.4933 GB, free: 75.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004861/1.645, allocations: 1.172 MB / 0.4944 GB, free: 75.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09775/1.742, allocations: 51.93 MB / 0.5451 GB, free: 42.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006016/1.749, allocations: 2.642 MB / 0.5477 GB, free: 42.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/1.752, allocations: 1.453 MB / 0.5491 GB, free: 42.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009334/1.753, allocations: 0.5643 MB / 0.5497 GB, free: 41.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/1.753, allocations: 52.38 kB / 0.5497 GB, free: 41.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=168): time 7.685e-06/1.753, allocations: 0 / 0.5497 GB, free: 41.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=185): time 0.05818/1.812, allocations: 12.2 MB / 0.5617 GB, free: 38.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/1.812, allocations: 143.7 kB / 0.5618 GB, free: 38.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008021/1.82, allocations: 3.194 MB / 0.5649 GB, free: 37.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000548/1.82, allocations: 25.7 kB / 0.5649 GB, free: 37.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003341/1.824, allocations: 3.426 MB / 0.5683 GB, free: 34.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.825, allocations: 0.7272 MB / 0.569 GB, free: 34.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008074/1.826, allocations: 0 / 0.569 GB, free: 34.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005416/1.826, allocations: 0.5885 MB / 0.5696 GB, free: 33.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005759/1.832, allocations: 2.01 MB / 0.5715 GB, free: 33.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009386/1.842, allocations: 6.182 MB / 0.5776 GB, free: 26.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009455/1.851, allocations: 3.456 MB / 0.5809 GB, free: 25.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001795/1.851, allocations: 45.06 kB / 0.581 GB, free: 25.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02967/1.881, allocations: 7.985 MB / 0.5888 GB, free: 23.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/1.881, allocations: 69.38 kB / 0.5889 GB, free: 23.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01067/1.892, allocations: 2.58 MB / 0.5914 GB, free: 22.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007452/1.899, allocations: 1.079 MB / 0.5924 GB, free: 22.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01299/1.913, allocations: 1.617 MB / 0.594 GB, free: 21.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007912/1.92, allocations: 4.228 MB / 0.5981 GB, free: 19.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/1.931, allocations: 393.8 kB / 0.5985 GB, free: 19.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001982/1.933, allocations: 419.7 kB / 0.5989 GB, free: 18.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (849): * Single equations (assignments): 840 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002168/1.936, allocations: 487.4 kB / 0.5994 GB, free: 18.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/1.937, allocations: 347.9 kB / 0.5997 GB, free: 18.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/1.949, allocations: 2.93 MB / 0.6026 GB, free: 17.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01061/1.96, allocations: 2.455 MB / 0.605 GB, free: 16.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.392e-05/1.96, allocations: 0 / 0.605 GB, free: 16.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.603e-05/1.96, allocations: 10.89 kB / 0.605 GB, free: 16.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03513/1.995, allocations: 9.085 MB / 0.6139 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.575e-05/1.996, allocations: 8 kB / 0.6139 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004186/2, allocations: 339.6 kB / 0.6142 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009009/2.009, allocations: 0.9649 MB / 0.6151 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008325/2.01, allocations: 31.08 kB / 0.6152 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/2.024, allocations: 4.483 MB / 0.6195 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002258/2.027, allocations: 1.393 MB / 0.6209 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04069/2.067, allocations: 6.828 MB / 0.6276 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004722/2.072, allocations: 0.6121 MB / 0.6282 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001935/2.074, allocations: 27.42 kB / 0.6282 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008014/2.082, allocations: 149.9 kB / 0.6283 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/2.084, allocations: 150.8 kB / 0.6285 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006039/2.084, allocations: 68.16 kB / 0.6285 GB, free: 11.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01136/2.096, allocations: 2.096 MB / 0.6306 GB, free: 10.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.415e-06/2.096, allocations: 0 / 0.6306 GB, free: 10.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01751/2.113, allocations: 0.982 MB / 0.6315 GB, free: 9.145 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 14 ($STATESET139675116626312.x[3],$STATESET139675116626312.x[2],$STATESET139675116626312.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],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 154 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4055/2.519, allocations: 9.872 MB / 0.6412 GB, free: 87.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01938/2.538, allocations: 5.332 MB / 0.6464 GB, free: 87.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/2.538, allocations: 1.219 kB / 0.6464 GB, free: 87.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008847/2.547, allocations: 2.049 MB / 0.6484 GB, free: 86.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004358/2.552, allocations: 359.5 kB / 0.6487 GB, free: 86.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04242/2.594, allocations: 9.849 MB / 0.6584 GB, free: 84.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01009/2.604, allocations: 3.485 MB / 0.6618 GB, free: 83.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01284/2.617, allocations: 2.055 MB / 0.6638 GB, free: 83.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005999/2.623, allocations: 2.017 MB / 0.6657 GB, free: 83.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.964e-06/2.623, allocations: 0 / 0.6657 GB, free: 83.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2669/2.89, allocations: 75.75 MB / 0.7397 GB, free: 44.82 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002903/2.891, allocations: 171.7 kB / 0.7399 GB, free: 44.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.479/10.37, allocations: 0 / 0.7399 GB, free: 44.62 MB / 410.7 MB