Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.493/2.493, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.623e-05, allocations: 4 kB / 305 MB, free: 5.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4335, allocations: 54.85 MB / 359.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.5943, allocations: 84.69 MB / 444.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.5946, allocations: 63.97 kB / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05629/0.6509, allocations: 11.27 MB / 455.9 MB, free: 0.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6509, allocations: 4 kB / 455.9 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.107e-05/0.651, allocations: 16 kB / 455.9 MB, free: 0.7734 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.003025/0.6541, allocations: 0.8378 MB / 456.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.6541, allocations: 8.031 kB / 456.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002552/0.6544, allocations: 103.1 kB / 456.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/0.6547, allocations: 79.06 kB / 456.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009826/0.6557, allocations: 371.7 kB / 457.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.667e-05/0.6558, allocations: 41.31 kB / 457.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.656, allocations: 63.91 kB / 457.4 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.6582, allocations: 0.5618 MB / 458 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.039e-05/0.6583, allocations: 17.44 kB / 458 MB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.6585, allocations: 23.98 kB / 458 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.6585, allocations: 16 kB / 458 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.6606, allocations: 445.2 kB / 458.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007263/0.6679, allocations: 2.201 MB / 460.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.6702, allocations: 0.632 MB / 461.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.6713, allocations: 299.6 kB / 461.6 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.6715, allocations: 97.83 kB / 461.7 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.937e-05/0.6716, allocations: 51.25 kB / 461.7 MB, free: 10.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 5.35e-06/0.6716, allocations: 4 kB / 461.7 MB, free: 10.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.01522/0.6869, allocations: 4.088 MB / 465.8 MB, free: 6.156 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.6871, allocations: 218.2 kB / 466 MB, free: 5.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007487/0.6879, allocations: 311.1 kB / 466.3 MB, free: 5.578 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.688, allocations: 49.77 kB / 466.4 MB, free: 5.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.6884, allocations: 269 kB / 466.6 MB, free: 5.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/0.689, allocations: 402.1 kB / 467 MB, free: 4.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.6892, allocations: 24 kB / 467.1 MB, free: 4.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002722/0.6895, allocations: 378.8 kB / 467.4 MB, free: 4.453 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.6906, allocations: 274.6 kB / 467.7 MB, free: 4.184 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.692, allocations: 454.6 kB / 468.1 MB, free: 3.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.6933, allocations: 330.8 kB / 468.5 MB, free: 3.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.6933, allocations: 0 / 468.5 MB, free: 3.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003266/0.6966, allocations: 0.9066 MB / 469.4 MB, free: 2.441 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.6967, allocations: 12 kB / 469.4 MB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.6967, allocations: 4.234 kB / 469.4 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.772e-05/0.6968, allocations: 19.94 kB / 469.4 MB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/0.6995, allocations: 287.6 kB / 469.7 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.021e-05/0.6996, allocations: 15.98 kB / 469.7 MB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.7007, allocations: 59.97 kB / 469.8 MB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.7009, allocations: 43.98 kB / 469.8 MB, free: 2.008 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0003516/0.7013, allocations: 168.7 kB / 470 MB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/0.7017, allocations: 71.16 kB / 470 MB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00078/0.7025, allocations: 215.6 kB / 470.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/0.7025, allocations: 12 kB / 470.3 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/0.7026, allocations: 7.953 kB / 470.3 MB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/0.7026, allocations: 3.984 kB / 470.3 MB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007603/0.7102, allocations: 2.273 MB / 472.5 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.7103, allocations: 0 / 472.5 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/0.7132, allocations: 263.9 kB / 472.8 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.552e-05/0.7132, allocations: 12.09 kB / 472.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.7134, allocations: 24 kB / 472.8 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.552e-05/0.7134, allocations: 15.92 kB / 472.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/0.7134, allocations: 7.984 kB / 472.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/0.718, allocations: 1.933 MB / 474.8 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005821/0.7186, allocations: 200.2 kB / 475 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.7188, allocations: 31.94 kB / 475 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.7204, allocations: 47.98 kB / 475.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/0.7207, allocations: 88.66 kB / 475.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.7209, allocations: 39.94 kB / 475.2 MB, free: 12.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00059/0.7215, allocations: 241.2 kB / 475.4 MB, free: 12.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.7215, allocations: 3.938 kB / 475.4 MB, free: 12.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002196/0.7237, allocations: 196.1 kB / 475.6 MB, free: 11.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.006644/0.7304, allocations: 3.568 MB / 479.2 MB, free: 8.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003415/0.7339, allocations: 0.7287 MB / 479.9 MB, free: 7.504 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/0.734, allocations: 0 / 479.9 MB, free: 7.504 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.736, allocations: 439.2 kB / 480.4 MB, free: 7.078 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.7386, allocations: 107.6 kB / 480.5 MB, free: 6.973 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.7492, allocations: 2.14 MB / 482.6 MB, free: 4.742 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.7505, allocations: 0.9564 MB / 483.6 MB, free: 3.758 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0013/0.7518, allocations: 101.6 kB / 483.7 MB, free: 3.656 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.7529, allocations: 259.3 kB / 483.9 MB, free: 3.402 MB / 410.7 MB Notification: Performance of SimCode: time 1.953e-06/0.753, allocations: 3.938 kB / 483.9 MB, free: 3.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07379/0.8268, allocations: 12.48 MB / 496.4 MB, free: 6.98 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/0.8272, allocations: 152.6 kB / 496.5 MB, free: 6.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.049/3.877, allocations: 0 / 496.5 MB, free: 6.75 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat