Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.299/2.299, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.422e-05, allocations: 4 kB / 305 MB, free: 5.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3911, allocations: 54.84 MB / 359.8 MB, free: 2.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.5453, allocations: 84.69 MB / 444.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.5456, allocations: 65.69 kB / 444.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05344/0.5991, allocations: 11.27 MB / 455.9 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5991, allocations: 4 kB / 455.9 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.536e-05/0.5992, allocations: 19.98 kB / 455.9 MB, free: 0.8477 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.002362/0.6015, allocations: 0.831 MB / 456.7 MB, free: 15.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.6016, allocations: 12.03 kB / 456.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.6018, allocations: 94.52 kB / 456.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.602, allocations: 83.05 kB / 456.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007395/0.6027, allocations: 371.7 kB / 457.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.766e-05/0.6028, allocations: 49.3 kB / 457.3 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.603, allocations: 63.91 kB / 457.4 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.6045, allocations: 0.5541 MB / 457.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.608e-05/0.6046, allocations: 15.78 kB / 457.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.444e-05/0.6047, allocations: 28 kB / 458 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.6047, allocations: 12.75 kB / 458 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.6061, allocations: 445.2 kB / 458.4 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005364/0.6115, allocations: 2.201 MB / 460.6 MB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.6132, allocations: 0.6401 MB / 461.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007372/0.614, allocations: 302.7 kB / 461.6 MB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.6142, allocations: 101.5 kB / 461.7 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.6142, allocations: 53.28 kB / 461.7 MB, free: 10.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.606e-06/0.6142, allocations: 0 / 461.7 MB, free: 10.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.01156/0.6258, allocations: 4.079 MB / 465.8 MB, free: 6.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.626, allocations: 226.1 kB / 466 MB, free: 5.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/0.6266, allocations: 319.1 kB / 466.3 MB, free: 5.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.6267, allocations: 45.7 kB / 466.4 MB, free: 5.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.6269, allocations: 299.5 kB / 466.7 MB, free: 5.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/0.6274, allocations: 410 kB / 467.1 MB, free: 4.891 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/0.6275, allocations: 24 kB / 467.1 MB, free: 4.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.6277, allocations: 354.8 kB / 467.4 MB, free: 4.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008491/0.6285, allocations: 266.6 kB / 467.7 MB, free: 4.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009923/0.6296, allocations: 454.6 kB / 468.1 MB, free: 3.738 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009769/0.6306, allocations: 341.9 kB / 468.5 MB, free: 3.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6306, allocations: 0 / 468.5 MB, free: 3.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002337/0.6329, allocations: 0.8685 MB / 469.3 MB, free: 2.535 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.633, allocations: 8.094 kB / 469.3 MB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.633, allocations: 12.95 kB / 469.4 MB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.953e-05/0.6331, allocations: 11.95 kB / 469.4 MB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.6352, allocations: 287.8 kB / 469.6 MB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.749e-05/0.6353, allocations: 23.92 kB / 469.7 MB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009369/0.6362, allocations: 59.97 kB / 469.7 MB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.6364, allocations: 36 kB / 469.8 MB, free: 2.105 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.0002793/0.6367, allocations: 168.7 kB / 469.9 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.637, allocations: 79.16 kB / 470 MB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00061/0.6376, allocations: 206.8 kB / 470.2 MB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.6377, allocations: 12 kB / 470.2 MB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.6377, allocations: 3.953 kB / 470.2 MB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.6377, allocations: 7.984 kB / 470.2 MB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00562/0.6433, allocations: 2.293 MB / 472.5 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.6434, allocations: 4 kB / 472.5 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/0.6457, allocations: 260 kB / 472.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.48e-05/0.6457, allocations: 8 kB / 472.8 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.6459, allocations: 27.98 kB / 472.8 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/0.6459, allocations: 8 kB / 472.8 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.6459, allocations: 7.938 kB / 472.8 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003751/0.6497, allocations: 1.938 MB / 474.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/0.6502, allocations: 196.3 kB / 475 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.6504, allocations: 27.95 kB / 475 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.6515, allocations: 51.97 kB / 475 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.6517, allocations: 84.39 kB / 475.1 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.966e-05/0.6518, allocations: 39.94 kB / 475.2 MB, free: 12.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004084/0.6522, allocations: 241.2 kB / 475.4 MB, free: 12.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6523, allocations: 4.188 kB / 475.4 MB, free: 12.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001263/0.6535, allocations: 196.1 kB / 475.6 MB, free: 12 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.004113/0.6577, allocations: 3.56 MB / 479.1 MB, free: 8.328 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.6597, allocations: 0.7358 MB / 479.9 MB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6598, allocations: 0 / 479.9 MB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.6609, allocations: 443.3 kB / 480.3 MB, free: 7.164 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.6639, allocations: 103.7 kB / 480.4 MB, free: 7.062 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.6757, allocations: 2.184 MB / 482.6 MB, free: 4.781 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/0.6778, allocations: 0.953 MB / 483.6 MB, free: 3.801 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.6789, allocations: 267.3 kB / 483.8 MB, free: 3.539 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6789, allocations: 0 / 483.8 MB, free: 3.539 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.516/3.195, allocations: 11.54 MB / 495.4 MB, free: 7.992 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat