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.778/1.778, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.967e-05, allocations: 4 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.4132, allocations: 67.53 MB / 325.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.4136, allocations: 75.95 kB / 325.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04342/0.457, allocations: 9.024 MB / 335 MB, free: 1.129 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4571, allocations: 0 / 335 MB, free: 1.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.594e-05/0.4571, allocations: 16 kB / 335 MB, free: 1.113 MB / 282.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.002091/0.4592, allocations: 0.7263 MB / 335.7 MB, free: 348 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.4593, allocations: 16.02 kB / 335.7 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.4595, allocations: 55.34 kB / 335.8 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.4601, allocations: 306.2 kB / 336.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.4602, allocations: 16 kB / 336.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.4603, allocations: 24 kB / 336.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001054/0.4614, allocations: 346.5 kB / 336.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009874/0.4624, allocations: 339.9 kB / 336.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/0.4624, allocations: 7.891 kB / 336.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.201e-05/0.4625, allocations: 4 kB / 336.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.4625, allocations: 12 kB / 336.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/0.4664, allocations: 1.3 MB / 338.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.4675, allocations: 480.5 kB / 338.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009316/0.4685, allocations: 315 kB / 338.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.779e-05/0.4686, allocations: 8.562 kB / 338.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.4686, allocations: 43.06 kB / 338.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 3.927e-06/0.4687, allocations: 0 / 338.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.006489/0.4752, allocations: 2.216 MB / 341.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.4753, allocations: 64.72 kB / 341.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.4756, allocations: 206.3 kB / 341.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/0.4757, allocations: 25.7 kB / 341.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.4759, allocations: 197.2 kB / 341.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.4762, allocations: 334.9 kB / 342 MB, free: 9.836 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.4763, allocations: 0 / 342 MB, free: 9.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4765, allocations: 370.7 kB / 342.3 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/0.4771, allocations: 202.6 kB / 342.5 MB, free: 9.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006911/0.4778, allocations: 286.3 kB / 342.8 MB, free: 8.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006572/0.4785, allocations: 234.3 kB / 343 MB, free: 8.758 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4785, allocations: 0 / 343 MB, free: 8.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001649/0.4801, allocations: 0.6253 MB / 343.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.4802, allocations: 8 kB / 343.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.4802, allocations: 0 / 343.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.4803, allocations: 4 kB / 343.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.4819, allocations: 223.8 kB / 343.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/0.4821, allocations: 7.938 kB / 343.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/0.4829, allocations: 43.95 kB / 343.9 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.61e-05/0.483, allocations: 35.94 kB / 344 MB, free: 7.809 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.0002355/0.4832, allocations: 116.8 kB / 344.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001662/0.4849, allocations: 0.5864 MB / 344.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.4852, allocations: 55.34 kB / 344.7 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.4854, allocations: 61.3 kB / 344.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.4855, allocations: 20 kB / 344.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.4855, allocations: 3.953 kB / 344.8 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.4855, allocations: 3.984 kB / 344.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004641/0.4902, allocations: 1.737 MB / 346.6 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.4902, allocations: 4 kB / 346.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/0.4921, allocations: 212.2 kB / 346.8 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.344e-05/0.4921, allocations: 12 kB / 346.8 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.4923, allocations: 15.98 kB / 346.8 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.651e-05/0.4923, allocations: 11.94 kB / 346.8 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/0.4923, allocations: 4 kB / 346.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.4952, allocations: 1.39 MB / 348.2 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/0.4957, allocations: 176.5 kB / 348.4 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.4959, allocations: 7.984 kB / 348.4 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/0.4967, allocations: 47.97 kB / 348.4 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003133/0.497, allocations: 76.58 kB / 348.5 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.4972, allocations: 35.98 kB / 348.5 MB, free: 2.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003778/0.4976, allocations: 158 kB / 348.7 MB, free: 2.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.4977, allocations: 0 / 348.7 MB, free: 2.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001765/0.4994, allocations: 120 kB / 348.8 MB, free: 2.656 MB / 298.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.006324/0.5058, allocations: 3.245 MB / 352.1 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.5085, allocations: 0.5888 MB / 352.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/0.5086, allocations: 0 / 352.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.5102, allocations: 374.6 kB / 353 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.5118, allocations: 81.7 kB / 353.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006766/0.5186, allocations: 1.299 MB / 354.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.5197, allocations: 0.8883 MB / 355.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001027/0.5209, allocations: 72.91 kB / 355.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008761/0.5218, allocations: 195.4 kB / 355.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of SimCode: time 2.745e-06/0.5219, allocations: 0 / 355.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07664/0.5985, allocations: 9.926 MB / 365.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003028/0.5989, allocations: 140.2 kB / 365.6 MB, free: 1.539 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/3.486, allocations: 0 / 365.6 MB, free: 1.539 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