Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.926/1.926, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.45e-05/4.511e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2979, allocations: 38.78 MB / 263.9 MB, free: 9.688 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.4251, allocations: 68.2 MB / 332.1 MB, free: 5.391 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.4255, allocations: 75.95 kB / 332.2 MB, free: 5.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04464/0.4702, allocations: 9.098 MB / 341.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.39e-06/0.4702, allocations: 3.984 kB / 341.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.119e-05/0.4703, allocations: 19.98 kB / 341.3 MB, free: 12.16 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.002141/0.4724, allocations: 0.7182 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.4725, allocations: 16.03 kB / 342 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.4727, allocations: 82.52 kB / 342.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.4729, allocations: 59.28 kB / 342.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.4734, allocations: 314.2 kB / 342.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.4735, allocations: 33 kB / 342.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.4736, allocations: 51.91 kB / 342.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.4748, allocations: 392.5 kB / 342.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.4748, allocations: 0 / 342.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.4749, allocations: 20 kB / 342.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.4749, allocations: 12 kB / 343 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.4761, allocations: 369.9 kB / 343.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.4801, allocations: 1.394 MB / 344.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.4814, allocations: 0.4889 MB / 345.2 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.4825, allocations: 335.1 kB / 345.5 MB, free: 7.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.805e-05/0.4825, allocations: 8.562 kB / 345.5 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.4826, allocations: 39.5 kB / 345.6 MB, free: 7.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 3.817e-06/0.4826, allocations: 0 / 345.6 MB, free: 7.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.01124/0.4939, allocations: 2.755 MB / 348.3 MB, free: 4.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.494, allocations: 68.41 kB / 348.4 MB, free: 4.762 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.4944, allocations: 227.4 kB / 348.6 MB, free: 4.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-05/0.4945, allocations: 41.7 kB / 348.7 MB, free: 4.484 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.4947, allocations: 193.2 kB / 348.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.4951, allocations: 346.9 kB / 349.2 MB, free: 3.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.4951, allocations: 20 kB / 349.2 MB, free: 3.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.4954, allocations: 358.8 kB / 349.6 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007413/0.4961, allocations: 230 kB / 349.8 MB, free: 3.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007699/0.4969, allocations: 291.5 kB / 350.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.4977, allocations: 256.9 kB / 350.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4977, allocations: 0 / 350.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001837/0.4996, allocations: 0.6844 MB / 351 MB, free: 2.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.4996, allocations: 4 kB / 351 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.4997, allocations: 3.984 kB / 351 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.4997, allocations: 7.953 kB / 351 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.5014, allocations: 219.8 kB / 351.2 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/0.5014, allocations: 7.984 kB / 351.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000724/0.5022, allocations: 63.91 kB / 351.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.5023, allocations: 31.98 kB / 351.3 MB, free: 1.773 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.000224/0.5025, allocations: 152.8 kB / 351.5 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.5026, allocations: 55.34 kB / 351.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.5029, allocations: 73.39 kB / 351.6 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.5029, allocations: 12 kB / 351.6 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.5029, allocations: 11.95 kB / 351.6 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.503, allocations: 3.984 kB / 351.6 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004536/0.5075, allocations: 1.889 MB / 353.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.5076, allocations: 11.92 kB / 353.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.5093, allocations: 212.1 kB / 353.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.458e-05/0.5094, allocations: 15.98 kB / 353.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.842e-05/0.5095, allocations: 24 kB / 353.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.119e-05/0.5095, allocations: 15.92 kB / 353.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.5095, allocations: 4 kB / 353.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003101/0.5127, allocations: 1.454 MB / 355.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.5131, allocations: 176.4 kB / 355.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.5133, allocations: 31.89 kB / 355.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/0.5141, allocations: 63.95 kB / 355.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.5142, allocations: 68.59 kB / 355.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/0.5143, allocations: 39.98 kB / 355.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002719/0.5146, allocations: 171.1 kB / 355.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5146, allocations: 0 / 355.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008065/0.5155, allocations: 156 kB / 355.9 MB, free: 12.83 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.003905/0.5194, allocations: 3.329 MB / 359.3 MB, free: 9.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.5213, allocations: 0.6206 MB / 359.9 MB, free: 8.719 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.5213, allocations: 4 kB / 359.9 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.5224, allocations: 386.6 kB / 360.3 MB, free: 8.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.5235, allocations: 100.5 kB / 360.4 MB, free: 8.242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.5276, allocations: 1.37 MB / 361.7 MB, free: 6.777 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.5283, allocations: 0.877 MB / 362.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005848/0.5289, allocations: 76.94 kB / 362.7 MB, free: 5.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006372/0.5295, allocations: 199.4 kB / 362.9 MB, free: 5.598 MB / 314.7 MB Notification: Performance of SimCode: time 1.332e-06/0.5296, allocations: 0 / 362.9 MB, free: 5.598 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2637/0.7932, allocations: 10.46 MB / 373.4 MB, free: 91.36 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.7935, allocations: 152.5 kB / 373.5 MB, free: 91.14 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.878/3.672, allocations: 3.938 kB / 373.5 MB, free: 91.14 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat