Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.912/1.912, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.384e-05/4.404e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1412, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5611, allocations: 78.31 MB / 400.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.5614, allocations: 63.97 kB / 400.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0538/0.6152, allocations: 11.33 MB / 411.5 MB, free: 176 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6153, allocations: 0 / 411.5 MB, free: 176 kB / 330.7 MB Notification: Performance of Transformations before backend: time 4.257e-05/0.6153, allocations: 15.98 kB / 411.5 MB, free: 160 kB / 330.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.002417/0.6177, allocations: 0.8494 MB / 412.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.6178, allocations: 8.031 kB / 412.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/0.618, allocations: 102.5 kB / 412.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.6182, allocations: 75.16 kB / 412.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.6189, allocations: 369 kB / 412.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.514e-05/0.619, allocations: 45.31 kB / 413 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.6192, allocations: 75.83 kB / 413.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.6206, allocations: 0.5627 MB / 413.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.706e-05/0.6207, allocations: 11.89 kB / 413.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.6208, allocations: 24 kB / 413.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.6208, allocations: 16 kB / 413.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.6221, allocations: 446.9 kB / 414.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00511/0.6273, allocations: 2.048 MB / 416.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.6288, allocations: 0.5968 MB / 416.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/0.6296, allocations: 298.1 kB / 417 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.629e-05/0.6297, allocations: 8.438 kB / 417.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.6297, allocations: 50.89 kB / 417.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 3.737e-06/0.6297, allocations: 0 / 417.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=115): time 0.01053/0.6403, allocations: 4.012 MB / 421.1 MB, free: 5.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.6404, allocations: 178.7 kB / 421.3 MB, free: 5.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/0.641, allocations: 331 kB / 421.6 MB, free: 5.391 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.28e-05/0.6411, allocations: 45.7 kB / 421.7 MB, free: 5.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.6414, allocations: 315.5 kB / 422 MB, free: 5.027 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004301/0.6418, allocations: 402 kB / 422.4 MB, free: 4.629 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.6419, allocations: 20 kB / 422.4 MB, free: 4.609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.6421, allocations: 358.9 kB / 422.7 MB, free: 4.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007938/0.6429, allocations: 274.6 kB / 423 MB, free: 3.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009737/0.6439, allocations: 473.2 kB / 423.5 MB, free: 3.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009333/0.6448, allocations: 345.9 kB / 423.8 MB, free: 3.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.6448, allocations: 4 kB / 423.8 MB, free: 3.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002324/0.6472, allocations: 0.8937 MB / 424.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.6472, allocations: 8 kB / 424.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.6473, allocations: 4 kB / 424.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.654e-05/0.6473, allocations: 12 kB / 424.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.6494, allocations: 296 kB / 425 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.769e-05/0.6494, allocations: 11.98 kB / 425 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/0.6502, allocations: 55.97 kB / 425.1 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.6504, allocations: 44 kB / 425.1 MB, free: 1.785 MB / 346.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.0002555/0.6506, allocations: 172.6 kB / 425.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.6509, allocations: 75.06 kB / 425.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008281/0.6517, allocations: 283.3 kB / 425.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.6518, allocations: 16 kB / 425.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.6518, allocations: 0 / 425.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.6518, allocations: 7.969 kB / 425.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005263/0.6571, allocations: 2.325 MB / 428 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.6572, allocations: 8.047 kB / 428 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002893/0.6601, allocations: 275.8 kB / 428.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.353e-05/0.6601, allocations: 8 kB / 428.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/0.6603, allocations: 27.98 kB / 428.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.241e-05/0.6604, allocations: 11.94 kB / 428.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.6604, allocations: 4 kB / 428.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004923/0.6653, allocations: 1.785 MB / 430.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006657/0.666, allocations: 212.2 kB / 430.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.6663, allocations: 24 kB / 430.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.6677, allocations: 51.97 kB / 430.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/0.6681, allocations: 88.34 kB / 430.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.6682, allocations: 35.98 kB / 430.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006056/0.6689, allocations: 257.2 kB / 430.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6689, allocations: 0 / 430.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001922/0.6708, allocations: 204 kB / 430.9 MB, free: 11.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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.006086/0.6769, allocations: 3.275 MB / 434.2 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003191/0.6802, allocations: 0.7776 MB / 435 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.6803, allocations: 4 kB / 435 MB, free: 7.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.6818, allocations: 450.8 kB / 435.4 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.6831, allocations: 112.1 kB / 435.6 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006486/0.6896, allocations: 2.197 MB / 437.7 MB, free: 4.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007569/0.6904, allocations: 0.9603 MB / 438.7 MB, free: 3.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007525/0.6912, allocations: 263.3 kB / 439 MB, free: 3.461 MB / 362.7 MB Notification: Performance of SimCode: time 2.876e-06/0.6912, allocations: 4 kB / 439 MB, free: 3.457 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.626/3.317, allocations: 11.74 MB / 450.7 MB, free: 7.703 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat