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.839/1.839, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.467e-05, allocations: 4 kB / 225.1 MB, free: 2.211 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2635, allocations: 38.76 MB / 263.8 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.3861, allocations: 68.2 MB / 332 MB, free: 5.41 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.3865, allocations: 67.97 kB / 332.1 MB, free: 5.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04403/0.4305, allocations: 9.117 MB / 341.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4306, allocations: 0 / 341.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.669e-05/0.4306, allocations: 8 kB / 341.2 MB, free: 12.18 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.00215/0.4328, allocations: 0.7221 MB / 342 MB, free: 11.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.4329, allocations: 8.031 kB / 342 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.433, allocations: 94.45 kB / 342.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.4332, allocations: 55.34 kB / 342.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.4338, allocations: 302.2 kB / 342.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/0.4338, allocations: 33 kB / 342.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.434, allocations: 55.84 kB / 342.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.4351, allocations: 402.5 kB / 342.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.4351, allocations: 4 kB / 342.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.4352, allocations: 16 kB / 342.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.4352, allocations: 8 kB / 342.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.4364, allocations: 371.9 kB / 343.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003958/0.4404, allocations: 1.398 MB / 344.7 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.4417, allocations: 497.8 kB / 345.2 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.4428, allocations: 335.1 kB / 345.5 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.145e-05/0.4429, allocations: 16.53 kB / 345.5 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.443, allocations: 51.44 kB / 345.6 MB, free: 7.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 3.556e-06/0.443, allocations: 0 / 345.6 MB, free: 7.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.0115/0.4545, allocations: 2.761 MB / 348.3 MB, free: 4.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.4546, allocations: 60.41 kB / 348.4 MB, free: 4.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.455, allocations: 215.5 kB / 348.6 MB, free: 4.547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.508e-05/0.4551, allocations: 45.7 kB / 348.6 MB, free: 4.496 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.4553, allocations: 197.2 kB / 348.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.4557, allocations: 350.9 kB / 349.2 MB, free: 3.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.4557, allocations: 16 kB / 349.2 MB, free: 3.934 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4559, allocations: 362.8 kB / 349.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006772/0.4566, allocations: 230 kB / 349.8 MB, free: 3.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000753/0.4574, allocations: 293.5 kB / 350.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/0.4581, allocations: 256.9 kB / 350.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4582, allocations: 0 / 350.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001868/0.4601, allocations: 0.6922 MB / 351 MB, free: 2.102 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.4601, allocations: 4 kB / 351 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4602, allocations: 0 / 351 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.081e-05/0.4602, allocations: 11.95 kB / 351 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.4619, allocations: 219.8 kB / 351.2 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.749e-05/0.462, allocations: 4 kB / 351.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007611/0.4627, allocations: 63.95 kB / 351.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/0.4628, allocations: 32 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.0002467/0.4631, allocations: 164.7 kB / 351.5 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.4633, allocations: 55.34 kB / 351.5 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.4635, allocations: 69.39 kB / 351.6 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.4636, allocations: 12 kB / 351.6 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/0.4636, allocations: 3.953 kB / 351.6 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.4636, allocations: 7.969 kB / 351.6 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.4683, allocations: 1.897 MB / 353.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.4684, allocations: 8.031 kB / 353.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/0.4702, allocations: 211.7 kB / 353.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.433e-05/0.4702, allocations: 8 kB / 353.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.4704, allocations: 31.98 kB / 353.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.413e-05/0.4704, allocations: 15.92 kB / 353.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.4704, allocations: 8 kB / 353.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.4735, allocations: 1.457 MB / 355.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.474, allocations: 176.4 kB / 355.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.4742, allocations: 31.94 kB / 355.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007625/0.4749, allocations: 59.97 kB / 355.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.4751, allocations: 76.58 kB / 355.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/0.4752, allocations: 32 kB / 355.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002698/0.4755, allocations: 171.1 kB / 355.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4755, allocations: 7.938 kB / 355.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008277/0.4764, allocations: 160 kB / 356 MB, free: 12.81 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.004336/0.4807, allocations: 3.325 MB / 359.3 MB, free: 9.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.4827, allocations: 0.6357 MB / 359.9 MB, free: 8.688 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.4827, allocations: 128 / 359.9 MB, free: 8.688 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.4839, allocations: 400.2 kB / 360.3 MB, free: 8.293 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.485, allocations: 94.02 kB / 360.4 MB, free: 8.199 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.4892, allocations: 1.376 MB / 361.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.4899, allocations: 0.8848 MB / 362.7 MB, free: 5.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005785/0.4905, allocations: 72.94 kB / 362.7 MB, free: 5.746 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.4909, allocations: 199.4 kB / 362.9 MB, free: 5.551 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.491, allocations: 0 / 362.9 MB, free: 5.551 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2675/0.7584, allocations: 10.51 MB / 373.4 MB, free: 91.36 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.7587, allocations: 157.9 kB / 373.6 MB, free: 91.13 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/3.586, allocations: 0 / 373.6 MB, free: 91.13 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