Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.129/2.129, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.252e-05, allocations: 6.031 kB / 292.7 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 50.4 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4891/0.5995, allocations: 79.27 MB / 422.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.5998, allocations: 70.52 kB / 422.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04396/0.6438, allocations: 9.561 MB / 432.1 MB, free: 6.492 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6438, allocations: 0 / 432.1 MB, free: 6.492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.651e-05/0.6439, allocations: 12 kB / 432.1 MB, free: 6.48 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.002199/0.6461, allocations: 0.7269 MB / 432.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.6462, allocations: 12.03 kB / 432.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.6463, allocations: 86.39 kB / 432.9 MB, free: 5.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.6465, allocations: 55.34 kB / 432.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.6471, allocations: 305.9 kB / 433.2 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/0.6472, allocations: 31.75 kB / 433.3 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.6473, allocations: 52.55 kB / 433.3 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.6484, allocations: 394.2 kB / 433.7 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.6484, allocations: 4 kB / 433.7 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.059e-05/0.6485, allocations: 19.25 kB / 433.7 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.6485, allocations: 19.98 kB / 433.7 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.6496, allocations: 358.8 kB / 434.1 MB, free: 4.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00372/0.6533, allocations: 1.4 MB / 435.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.6545, allocations: 497 kB / 436 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009627/0.6555, allocations: 326.6 kB / 436.3 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.517e-05/0.6556, allocations: 12.55 kB / 436.3 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.6557, allocations: 39.06 kB / 436.4 MB, free: 3.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 3.496e-06/0.6557, allocations: 0 / 436.4 MB, free: 3.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01082/0.6665, allocations: 2.746 MB / 439.1 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.6666, allocations: 68.41 kB / 439.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.667, allocations: 210.1 kB / 439.4 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.284e-05/0.6671, allocations: 44.89 kB / 439.4 MB, free: 496 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.6673, allocations: 202.4 kB / 439.6 MB, free: 328 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/0.6677, allocations: 340.5 kB / 439.9 MB, free: 28 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.6678, allocations: 21.38 kB / 440 MB, free: 20 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.668, allocations: 367.2 kB / 440.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/0.6687, allocations: 223 kB / 440.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007199/0.6694, allocations: 293.3 kB / 440.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.6701, allocations: 263.8 kB / 441.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6702, allocations: 0 / 441.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001752/0.6719, allocations: 0.6838 MB / 441.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.672, allocations: 8 kB / 441.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.672, allocations: 0 / 441.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.672, allocations: 4 kB / 441.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.6737, allocations: 221.9 kB / 442 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.6738, allocations: 4 kB / 442 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000832/0.6746, allocations: 63.83 kB / 442.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/0.6747, allocations: 26.81 kB / 442.1 MB, free: 14.38 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.0002516/0.675, allocations: 153.6 kB / 442.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.6752, allocations: 55.34 kB / 442.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.6754, allocations: 71.64 kB / 442.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.6754, allocations: 11.98 kB / 442.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.6754, allocations: 4 kB / 442.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.6755, allocations: 11.97 kB / 442.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005135/0.6806, allocations: 1.897 MB / 444.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.6807, allocations: 4 kB / 444.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.6824, allocations: 214.9 kB / 444.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.261e-05/0.6825, allocations: 12 kB / 444.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.671e-05/0.6826, allocations: 26.36 kB / 444.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-05/0.6826, allocations: 12 kB / 444.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.6827, allocations: 7.938 kB / 444.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00429/0.687, allocations: 1.451 MB / 446 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.6873, allocations: 131.2 kB / 446.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.6875, allocations: 20.69 kB / 446.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.6887, allocations: 63.7 kB / 446.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.689, allocations: 75.97 kB / 446.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.6892, allocations: 34.17 kB / 446.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004154/0.6896, allocations: 172.1 kB / 446.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6897, allocations: 3.938 kB / 446.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001221/0.6909, allocations: 155.9 kB / 446.7 MB, free: 10.49 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.005741/0.6967, allocations: 3.332 MB / 450 MB, free: 7.016 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002633/0.6994, allocations: 0.6206 MB / 450.6 MB, free: 6.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/0.6994, allocations: 4 kB / 450.6 MB, free: 6.391 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.701, allocations: 386.6 kB / 451 MB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.7027, allocations: 102.7 kB / 451.1 MB, free: 5.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/0.7086, allocations: 1.37 MB / 452.5 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000784/0.7095, allocations: 0.8809 MB / 453.3 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009065/0.7104, allocations: 80.92 kB / 453.4 MB, free: 3.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007017/0.7111, allocations: 195.4 kB / 453.6 MB, free: 3.262 MB / 362.7 MB Notification: Performance of SimCode: time 1.723e-06/0.7111, allocations: 0 / 453.6 MB, free: 3.262 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09568/0.8068, allocations: 10.47 MB / 464.1 MB, free: 8.91 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003584/0.8073, allocations: 155.2 kB / 464.2 MB, free: 8.684 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/3.694, allocations: 0 / 464.2 MB, free: 8.684 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat