Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.197/2.197, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.17e-05, allocations: 0 / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1287, allocations: 47.57 MB / 317 MB, free: 6.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4688/0.5976, allocations: 77.87 MB / 394.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/0.5981, allocations: 74.45 kB / 395 MB, free: 10.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04955/0.6476, allocations: 9.295 MB / 404.2 MB, free: 2.312 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6477, allocations: 0 / 404.2 MB, free: 2.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.6478, allocations: 11.98 kB / 404.3 MB, free: 2.301 MB / 314.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.002071/0.6498, allocations: 0.7197 MB / 405 MB, free: 1.566 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.6499, allocations: 8.031 kB / 405 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.6501, allocations: 89.27 kB / 405.1 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.6503, allocations: 55.34 kB / 405.1 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.6508, allocations: 312.7 kB / 405.4 MB, free: 1.125 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.752e-05/0.6509, allocations: 36.44 kB / 405.5 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.651, allocations: 47.31 kB / 405.5 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.6523, allocations: 393.1 kB / 405.9 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.6524, allocations: 7.906 kB / 405.9 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.409e-05/0.6525, allocations: 16.88 kB / 405.9 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.6525, allocations: 12 kB / 405.9 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.6536, allocations: 364.8 kB / 406.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.6576, allocations: 1.389 MB / 407.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.6588, allocations: 498.7 kB / 408.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.6609, allocations: 329.9 kB / 408.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-05/0.6611, allocations: 8.562 kB / 408.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.6611, allocations: 42.62 kB / 408.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 9.929e-06/0.6612, allocations: 7.984 kB / 408.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=103): time 0.01103/0.6722, allocations: 2.762 MB / 411.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.6723, allocations: 60.41 kB / 411.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.6727, allocations: 221.7 kB / 411.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.297e-05/0.6727, allocations: 43.33 kB / 411.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.6729, allocations: 188.8 kB / 411.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/0.6733, allocations: 354.5 kB / 412.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.6733, allocations: 21.06 kB / 412.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6735, allocations: 361.3 kB / 412.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/0.6742, allocations: 225.6 kB / 412.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006913/0.6749, allocations: 292 kB / 413 MB, free: 11.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007209/0.6756, allocations: 254.8 kB / 413.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6756, allocations: 0 / 413.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001739/0.6774, allocations: 0.6867 MB / 414 MB, free: 10.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.6774, allocations: 4 kB / 414 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6775, allocations: 0 / 414 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.6775, allocations: 11.95 kB / 414 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.6791, allocations: 219.1 kB / 414.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.6792, allocations: 12 kB / 414.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007349/0.6799, allocations: 65.02 kB / 414.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.68, allocations: 27.86 kB / 414.3 MB, free: 10.18 MB / 330.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.0002223/0.6802, allocations: 158.5 kB / 414.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.6804, allocations: 55.38 kB / 414.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.6806, allocations: 74.77 kB / 414.6 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.6807, allocations: 15.95 kB / 414.6 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.6807, allocations: 0 / 414.6 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.6807, allocations: 3.984 kB / 414.6 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004188/0.6849, allocations: 1.882 MB / 416.5 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.685, allocations: 4 kB / 416.5 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.6866, allocations: 219.3 kB / 416.7 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.232e-05/0.6867, allocations: 8 kB / 416.7 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.919e-05/0.6868, allocations: 30.17 kB / 416.7 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.922e-05/0.6868, allocations: 11.94 kB / 416.8 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.6868, allocations: 7.953 kB / 416.8 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.6896, allocations: 1.456 MB / 418.2 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.6899, allocations: 132.4 kB / 418.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.69, allocations: 29.33 kB / 418.4 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/0.6908, allocations: 55.95 kB / 418.4 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.691, allocations: 82.45 kB / 418.5 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.397e-05/0.691, allocations: 26.81 kB / 418.5 MB, free: 6.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000249/0.6913, allocations: 175.9 kB / 418.7 MB, free: 6.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6913, allocations: 0 / 418.7 MB, free: 6.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008075/0.6921, allocations: 153.6 kB / 418.9 MB, free: 6.305 MB / 330.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.003607/0.6957, allocations: 3.332 MB / 422.2 MB, free: 3.172 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.6976, allocations: 0.6181 MB / 422.8 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/0.6976, allocations: 0 / 422.8 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.6987, allocations: 389.5 kB / 423.2 MB, free: 2.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.6998, allocations: 106.1 kB / 423.3 MB, free: 2.387 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.7036, allocations: 1.369 MB / 424.7 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.7042, allocations: 0.877 MB / 425.5 MB, free: 204 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005421/0.7048, allocations: 76.92 kB / 425.6 MB, free: 124 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/0.7052, allocations: 196.2 kB / 425.8 MB, free: 52 kB / 330.7 MB Notification: Performance of SimCode: time 1.123e-06/0.7052, allocations: 4 kB / 425.8 MB, free: 48 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04923/0.7545, allocations: 10.47 MB / 436.3 MB, free: 5.641 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004151/0.755, allocations: 154.6 kB / 436.4 MB, free: 5.414 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/3.815, allocations: 4.062 kB / 436.4 MB, free: 5.41 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat