Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.334/2.334, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.651e-05, allocations: 4 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.126, allocations: 50.41 MB / 342.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.6016, allocations: 79.27 MB / 421.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.6019, allocations: 69.84 kB / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04466/0.6466, allocations: 9.553 MB / 431.5 MB, free: 6.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6467, allocations: 4 kB / 431.5 MB, free: 6.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.546e-05/0.6467, allocations: 12 kB / 431.6 MB, free: 6.496 MB / 346.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.002134/0.6489, allocations: 0.7294 MB / 432.3 MB, free: 5.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.649, allocations: 8.031 kB / 432.3 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.6492, allocations: 82.91 kB / 432.4 MB, free: 5.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.6494, allocations: 59.33 kB / 432.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.6499, allocations: 304.9 kB / 432.7 MB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/0.65, allocations: 35.31 kB / 432.8 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.6501, allocations: 44.75 kB / 432.8 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.6512, allocations: 395.6 kB / 433.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.6513, allocations: 15.31 kB / 433.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/0.6514, allocations: 17.25 kB / 433.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.6514, allocations: 12 kB / 433.2 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.6524, allocations: 362.9 kB / 433.6 MB, free: 4.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003914/0.6564, allocations: 1.399 MB / 435 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.6576, allocations: 489.9 kB / 435.5 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.6587, allocations: 325.9 kB / 435.8 MB, free: 3.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.839e-05/0.6588, allocations: 15.8 kB / 435.8 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.6588, allocations: 38.5 kB / 435.8 MB, free: 3.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.077e-06/0.6588, allocations: 0 / 435.8 MB, free: 3.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01106/0.6699, allocations: 2.747 MB / 438.6 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.67, allocations: 60.41 kB / 438.6 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.6704, allocations: 223 kB / 438.9 MB, free: 0.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.498e-05/0.6705, allocations: 39.14 kB / 438.9 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.6706, allocations: 203.7 kB / 439.1 MB, free: 352 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.671, allocations: 345 kB / 439.4 MB, free: 48 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.6711, allocations: 19.62 kB / 439.5 MB, free: 44 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6713, allocations: 364.3 kB / 439.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/0.6719, allocations: 231.7 kB / 440 MB, free: 15.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007329/0.6727, allocations: 290.2 kB / 440.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/0.6734, allocations: 261.2 kB / 440.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6734, allocations: 0 / 440.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001795/0.6752, allocations: 0.6809 MB / 441.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.6753, allocations: 8.047 kB / 441.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.6753, allocations: 4 kB / 441.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.6754, allocations: 4 kB / 441.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.6771, allocations: 218.9 kB / 441.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/0.6772, allocations: 4 kB / 441.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007924/0.678, allocations: 58.53 kB / 441.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.704e-05/0.6781, allocations: 31.17 kB / 441.6 MB, free: 14.41 MB / 362.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.0002306/0.6783, allocations: 152.9 kB / 441.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.6785, allocations: 55.34 kB / 441.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.6787, allocations: 81.88 kB / 441.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.6788, allocations: 12 kB / 441.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.6788, allocations: 4 kB / 441.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.6788, allocations: 3.984 kB / 441.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004379/0.6832, allocations: 1.895 MB / 443.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.6833, allocations: 4 kB / 443.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/0.6851, allocations: 219 kB / 444 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.646e-05/0.6851, allocations: 8 kB / 444 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.6853, allocations: 24.38 kB / 444 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.035e-05/0.6853, allocations: 11.98 kB / 444 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.6853, allocations: 7.938 kB / 444 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.6881, allocations: 1.451 MB / 445.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.6884, allocations: 128.4 kB / 445.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.6885, allocations: 30.55 kB / 445.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008072/0.6893, allocations: 54.28 kB / 445.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.6896, allocations: 83.33 kB / 445.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/0.6896, allocations: 31.55 kB / 445.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00026/0.6899, allocations: 171.7 kB / 446 MB, free: 10.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6899, allocations: 3.938 kB / 446 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008715/0.6908, allocations: 155.5 kB / 446.1 MB, free: 10.52 MB / 362.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.003797/0.6946, allocations: 3.339 MB / 449.5 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.6964, allocations: 0.6206 MB / 450.1 MB, free: 6.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.6965, allocations: 3.938 kB / 450.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.6975, allocations: 382.7 kB / 450.5 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.6987, allocations: 98.03 kB / 450.6 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.703, allocations: 1.378 MB / 451.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.7036, allocations: 0.877 MB / 452.8 MB, free: 3.551 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006246/0.7042, allocations: 76.94 kB / 452.9 MB, free: 3.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/0.7048, allocations: 199.4 kB / 453.1 MB, free: 3.277 MB / 362.7 MB Notification: Performance of SimCode: time 1.904e-06/0.7048, allocations: 0 / 453.1 MB, free: 3.277 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04404/0.7489, allocations: 10.47 MB / 463.6 MB, free: 8.926 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003083/0.7493, allocations: 151.1 kB / 463.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.947/3.697, allocations: 3.938 kB / 463.7 MB, free: 8.699 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat