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.982/1.982, allocations: 209.4 MB / 216.9 MB, free: 6.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.413e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 48.69 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4087/0.5204, allocations: 77.91 MB / 394.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.5207, allocations: 66.72 kB / 394.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06266/0.5834, allocations: 11.22 MB / 405.5 MB, free: 5.156 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5834, allocations: 3.938 kB / 405.5 MB, free: 5.152 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.58e-05/0.5835, allocations: 15.98 kB / 405.5 MB, free: 5.137 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002421/0.5859, allocations: 0.8503 MB / 406.4 MB, free: 4.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.586, allocations: 8.031 kB / 406.4 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.5862, allocations: 75.38 kB / 406.4 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000739/0.587, allocations: 380.1 kB / 406.8 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.587, allocations: 19.94 kB / 406.8 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.5872, allocations: 39.81 kB / 406.9 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0012/0.5884, allocations: 419 kB / 407.3 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.5896, allocations: 497.3 kB / 407.8 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.476e-05/0.5897, allocations: 7.906 kB / 407.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.5898, allocations: 0 / 407.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.5898, allocations: 12 kB / 407.8 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/0.5948, allocations: 1.959 MB / 409.7 MB, free: 1.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.5962, allocations: 0.5564 MB / 410.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/0.5968, allocations: 263.9 kB / 410.6 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.645e-05/0.5969, allocations: 16.56 kB / 410.6 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.597, allocations: 41.56 kB / 410.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 3.827e-06/0.597, allocations: 0 / 410.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.008656/0.6057, allocations: 3.593 MB / 414.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.6058, allocations: 166.8 kB / 414.4 MB, free: 13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.6064, allocations: 308.5 kB / 414.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.6065, allocations: 25.7 kB / 414.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.6067, allocations: 309.7 kB / 415 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004311/0.6072, allocations: 397.5 kB / 415.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.6072, allocations: 0 / 415.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.6074, allocations: 352.7 kB / 415.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006705/0.6081, allocations: 257 kB / 416 MB, free: 11.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008364/0.609, allocations: 435.7 kB / 416.4 MB, free: 11.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009482/0.6099, allocations: 320.1 kB / 416.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.61, allocations: 0 / 416.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002134/0.6121, allocations: 0.8026 MB / 417.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.6122, allocations: 8 kB / 417.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.6122, allocations: 7.938 kB / 417.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.175e-05/0.6123, allocations: 12 kB / 417.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.6144, allocations: 296.5 kB / 417.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/0.6145, allocations: 8 kB / 417.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009028/0.6154, allocations: 35.97 kB / 417.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.6156, allocations: 51.48 kB / 417.9 MB, free: 10.04 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.0002587/0.6158, allocations: 124.7 kB / 418.1 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002157/0.618, allocations: 0.6932 MB / 418.7 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.6183, allocations: 75.16 kB / 418.8 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008431/0.6192, allocations: 247.9 kB / 419.1 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.6192, allocations: 12 kB / 419.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.6193, allocations: 4 kB / 419.1 MB, free: 8.926 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/0.6193, allocations: 11.97 kB / 419.1 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/0.6247, allocations: 2.157 MB / 421.2 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/0.6248, allocations: 8.062 kB / 421.3 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/0.6271, allocations: 259.7 kB / 421.5 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.699e-05/0.6271, allocations: 12.05 kB / 421.5 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.6273, allocations: 16.36 kB / 421.5 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.534e-05/0.6273, allocations: 7.984 kB / 421.5 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/0.6273, allocations: 15.91 kB / 421.6 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003282/0.6306, allocations: 1.718 MB / 423.3 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/0.6312, allocations: 208.2 kB / 423.5 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.6313, allocations: 7.984 kB / 423.5 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009339/0.6323, allocations: 31.97 kB / 423.5 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.6325, allocations: 88.34 kB / 423.6 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.81e-05/0.6327, allocations: 39.98 kB / 423.6 MB, free: 4.125 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000387/0.6331, allocations: 239 kB / 423.9 MB, free: 3.891 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6331, allocations: 0 / 423.9 MB, free: 3.891 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001262/0.6343, allocations: 168.1 kB / 424 MB, free: 3.727 MB / 346.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.004039/0.6384, allocations: 3.185 MB / 427.2 MB, free: 452 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.6404, allocations: 0.7104 MB / 427.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6405, allocations: 4 kB / 427.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.6417, allocations: 425.7 kB / 428.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.6431, allocations: 86.28 kB / 428.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006053/0.6492, allocations: 2.113 MB / 430.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/0.65, allocations: 0.9642 MB / 431.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/0.6508, allocations: 263.3 kB / 431.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6508, allocations: 0 / 431.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.607/3.258, allocations: 11.69 MB / 443.5 MB, free: 68 kB / 362.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