Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.189/2.189, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.095e-05, allocations: 0 / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3714, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.5057, allocations: 72.84 MB / 367.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.506, allocations: 71.97 kB / 367.1 MB, free: 8.953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04166/0.5477, allocations: 9.019 MB / 376.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.5478, allocations: 3.984 kB / 376.1 MB, free: 15.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.5478, allocations: 8 kB / 376.2 MB, free: 15.89 MB / 330.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.001978/0.5498, allocations: 0.7251 MB / 376.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.5499, allocations: 8.25 kB / 376.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.55, allocations: 67.28 kB / 377 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.5505, allocations: 310.1 kB / 377.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.5506, allocations: 20 kB / 377.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.5508, allocations: 31.94 kB / 377.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009893/0.5518, allocations: 346.5 kB / 377.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000924/0.5527, allocations: 335.9 kB / 378 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.5528, allocations: 7.984 kB / 378 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.5528, allocations: 0 / 378 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.5528, allocations: 12 kB / 378 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003553/0.5564, allocations: 1.3 MB / 379.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.5575, allocations: 480.2 kB / 379.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009002/0.5584, allocations: 303 kB / 380.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.972e-05/0.5585, allocations: 16.56 kB / 380.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.5586, allocations: 39.12 kB / 380.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 2.454e-06/0.5586, allocations: 0 / 380.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=103): time 0.006052/0.5647, allocations: 2.215 MB / 382.3 MB, free: 9.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.5648, allocations: 64.72 kB / 382.4 MB, free: 9.391 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.5651, allocations: 194.4 kB / 382.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.5651, allocations: 29.7 kB / 382.6 MB, free: 9.152 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.5653, allocations: 197.2 kB / 382.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.5657, allocations: 338.8 kB / 383.1 MB, free: 8.617 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.5657, allocations: 0 / 383.1 MB, free: 8.617 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.5659, allocations: 366.7 kB / 383.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.5665, allocations: 206.6 kB / 383.7 MB, free: 8.051 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006617/0.5671, allocations: 282.3 kB / 384 MB, free: 7.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.5678, allocations: 238.3 kB / 384.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5678, allocations: 4 kB / 384.2 MB, free: 7.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001593/0.5694, allocations: 0.6292 MB / 384.8 MB, free: 6.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.5694, allocations: 4 kB / 384.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5695, allocations: 0 / 384.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/0.5695, allocations: 7.953 kB / 384.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.5712, allocations: 219.8 kB / 385.1 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.5712, allocations: 7.938 kB / 385.1 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.5719, allocations: 39.95 kB / 385.1 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/0.572, allocations: 32 kB / 385.1 MB, free: 6.59 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.0001928/0.5722, allocations: 112.9 kB / 385.2 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00148/0.5737, allocations: 0.5902 MB / 385.8 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5738, allocations: 59.3 kB / 385.9 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.574, allocations: 53.38 kB / 385.9 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.5741, allocations: 15.98 kB / 386 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5741, allocations: 0 / 386 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.5741, allocations: 3.984 kB / 386 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/0.5782, allocations: 1.745 MB / 387.7 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.5783, allocations: 4 kB / 387.7 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.58, allocations: 215.6 kB / 387.9 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.473e-05/0.5801, allocations: 12 kB / 387.9 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/0.5802, allocations: 11.98 kB / 387.9 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.192e-05/0.5802, allocations: 23.97 kB / 388 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/0.5802, allocations: 8 kB / 388 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.5829, allocations: 1.386 MB / 389.4 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.5832, allocations: 132.5 kB / 389.5 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.5833, allocations: 8 kB / 389.5 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007371/0.5841, allocations: 47.95 kB / 389.5 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.5843, allocations: 72.59 kB / 389.6 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-05/0.5844, allocations: 31.98 kB / 389.7 MB, free: 1.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002083/0.5846, allocations: 154 kB / 389.8 MB, free: 1.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5846, allocations: 4 kB / 389.8 MB, free: 1.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008079/0.5854, allocations: 120 kB / 389.9 MB, free: 1.48 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.00356/0.589, allocations: 3.253 MB / 393.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.5906, allocations: 0.5888 MB / 393.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5906, allocations: 0 / 393.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009563/0.5916, allocations: 371 kB / 394.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.5927, allocations: 75.41 kB / 394.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.5967, allocations: 1.292 MB / 395.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.5973, allocations: 0.8884 MB / 396.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006354/0.598, allocations: 72.91 kB / 396.5 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/0.5985, allocations: 199.3 kB / 396.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of SimCode: time 2.766e-06/0.5985, allocations: 0 / 396.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05917/0.6577, allocations: 9.913 MB / 406.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/0.6581, allocations: 148.5 kB / 406.7 MB, free: 392 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.052/3.71, allocations: 8 kB / 406.7 MB, free: 384 kB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat