Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.858/1.858, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.505e-05, allocations: 4 kB / 225.1 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2752, allocations: 38.76 MB / 263.8 MB, free: 9.77 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.4068, allocations: 68.2 MB / 332 MB, free: 5.465 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.4071, allocations: 67.97 kB / 332.1 MB, free: 5.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04407/0.4512, allocations: 9.116 MB / 341.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4513, allocations: 7.938 kB / 341.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.293e-05/0.4514, allocations: 12 kB / 341.3 MB, free: 12.23 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002091/0.4535, allocations: 0.7221 MB / 342 MB, free: 11.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.4535, allocations: 12.03 kB / 342 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001507/0.4537, allocations: 82.53 kB / 342.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.4539, allocations: 59.33 kB / 342.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.4544, allocations: 310.2 kB / 342.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/0.4545, allocations: 33 kB / 342.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.4547, allocations: 51.91 kB / 342.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.4558, allocations: 396.5 kB / 342.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.4558, allocations: 4 kB / 342.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.4559, allocations: 16 kB / 342.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.4559, allocations: 12 kB / 342.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.457, allocations: 365.9 kB / 343.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004086/0.4611, allocations: 1.394 MB / 344.7 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.4625, allocations: 496.7 kB / 345.2 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.4635, allocations: 337.5 kB / 345.5 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.728e-05/0.4636, allocations: 12.55 kB / 345.5 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.4637, allocations: 43.12 kB / 345.5 MB, free: 7.746 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 4.067e-06/0.4637, allocations: 0 / 345.5 MB, free: 7.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.01147/0.4752, allocations: 2.756 MB / 348.3 MB, free: 4.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.4753, allocations: 68.39 kB / 348.4 MB, free: 4.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.4757, allocations: 215.5 kB / 348.6 MB, free: 4.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.294e-05/0.4758, allocations: 41.7 kB / 348.6 MB, free: 4.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.476, allocations: 251.6 kB / 348.9 MB, free: 4.312 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/0.4764, allocations: 354.9 kB / 349.2 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.4765, allocations: 16 kB / 349.2 MB, free: 3.945 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4767, allocations: 346.8 kB / 349.6 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/0.4774, allocations: 226 kB / 349.8 MB, free: 3.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007508/0.4781, allocations: 287.5 kB / 350.1 MB, free: 3.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007291/0.4789, allocations: 252.9 kB / 350.3 MB, free: 2.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4789, allocations: 0 / 350.3 MB, free: 2.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00183/0.4807, allocations: 0.6729 MB / 351 MB, free: 2.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.4808, allocations: 8.062 kB / 351 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.4808, allocations: 4 kB / 351 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.4809, allocations: 7.953 kB / 351 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.4826, allocations: 219.7 kB / 351.2 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.551e-05/0.4826, allocations: 8 kB / 351.2 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/0.4834, allocations: 63.95 kB / 351.3 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.4835, allocations: 27.94 kB / 351.3 MB, free: 1.828 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002479/0.4837, allocations: 153.2 kB / 351.5 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.4839, allocations: 51.44 kB / 351.5 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.4842, allocations: 81.33 kB / 351.6 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.4842, allocations: 12 kB / 351.6 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.4842, allocations: 7.953 kB / 351.6 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/0.4843, allocations: 7.969 kB / 351.6 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004775/0.489, allocations: 1.888 MB / 353.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.4891, allocations: 4 kB / 353.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.4909, allocations: 212.3 kB / 353.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.503e-05/0.4909, allocations: 12 kB / 353.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/0.491, allocations: 27.98 kB / 353.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.841e-05/0.491, allocations: 11.94 kB / 353.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.4911, allocations: 8 kB / 353.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/0.494, allocations: 1.447 MB / 355.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/0.4944, allocations: 172.5 kB / 355.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.4945, allocations: 31.94 kB / 355.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007639/0.4953, allocations: 59.97 kB / 355.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.4955, allocations: 84.56 kB / 355.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.796e-05/0.4956, allocations: 28 kB / 355.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002631/0.4959, allocations: 183 kB / 355.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4959, allocations: 0 / 355.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008511/0.4968, allocations: 156 kB / 355.9 MB, free: 12.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003926/0.5007, allocations: 3.337 MB / 359.3 MB, free: 9.387 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.5025, allocations: 0.6127 MB / 359.9 MB, free: 8.773 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.5025, allocations: 0 / 359.9 MB, free: 8.773 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009971/0.5035, allocations: 390.6 kB / 360.3 MB, free: 8.395 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.5047, allocations: 98.08 kB / 360.4 MB, free: 8.297 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.5089, allocations: 1.4 MB / 361.8 MB, free: 6.797 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/0.5096, allocations: 0.8809 MB / 362.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/0.5102, allocations: 203.4 kB / 362.8 MB, free: 5.691 MB / 314.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5103, allocations: 0 / 362.8 MB, free: 5.691 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.83/3.34, allocations: 9.242 MB / 372.1 MB, free: 90.52 MB / 314.7 MB