Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.566/2.566, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.054e-05/4.064e-05, allocations: 0 / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1342, allocations: 61.89 MB / 410.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5028/0.6371, allocations: 91.12 MB / 0.4897 GB, free: 12.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.6374, allocations: 64.47 kB / 0.4898 GB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05544/0.6929, allocations: 11.8 MB / 0.5013 GB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6929, allocations: 0 / 0.5013 GB, free: 1.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.111e-05/0.693, allocations: 12 kB / 0.5013 GB, free: 1.016 MB / 410.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.002321/0.6953, allocations: 0.8456 MB / 0.5021 GB, free: 128 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.6954, allocations: 8.031 kB / 0.5021 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.6955, allocations: 102.5 kB / 0.5022 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.6957, allocations: 79.02 kB / 0.5023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.6964, allocations: 363.4 kB / 0.5027 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/0.6965, allocations: 45.31 kB / 0.5027 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.6967, allocations: 67.89 kB / 0.5028 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.6981, allocations: 0.5618 MB / 0.5033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.746e-05/0.6982, allocations: 15.91 kB / 0.5033 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/0.6983, allocations: 20 kB / 0.5034 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.6983, allocations: 16 kB / 0.5034 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.6996, allocations: 449.1 kB / 0.5038 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005173/0.7048, allocations: 2.198 MB / 0.5059 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.7065, allocations: 0.6244 MB / 0.5066 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007143/0.7072, allocations: 299.7 kB / 0.5068 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.7074, allocations: 105.8 kB / 0.5069 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.7074, allocations: 43 kB / 0.507 GB, free: 10.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.368e-06/0.7075, allocations: 0 / 0.507 GB, free: 10.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.01121/0.7187, allocations: 4.09 MB / 0.511 GB, free: 6.402 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.7189, allocations: 226.1 kB / 0.5112 GB, free: 6.133 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005429/0.7194, allocations: 311.2 kB / 0.5115 GB, free: 5.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.7196, allocations: 45.7 kB / 0.5115 GB, free: 5.773 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.7198, allocations: 268.9 kB / 0.5118 GB, free: 5.504 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.7203, allocations: 406 kB / 0.5122 GB, free: 5.102 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.7204, allocations: 28 kB / 0.5122 GB, free: 5.074 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.7206, allocations: 382.8 kB / 0.5126 GB, free: 4.691 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007894/0.7214, allocations: 266.6 kB / 0.5128 GB, free: 4.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009763/0.7224, allocations: 453.6 kB / 0.5133 GB, free: 3.922 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009485/0.7234, allocations: 350 kB / 0.5136 GB, free: 3.578 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.7234, allocations: 0 / 0.5136 GB, free: 3.578 MB / 426.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00231/0.7257, allocations: 0.8934 MB / 0.5145 GB, free: 2.676 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.7258, allocations: 8 kB / 0.5145 GB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.7258, allocations: 5.078 kB / 0.5145 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-05/0.7259, allocations: 16 kB / 0.5145 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/0.7279, allocations: 296 kB / 0.5148 GB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.325e-05/0.728, allocations: 11.94 kB / 0.5148 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008514/0.7289, allocations: 63.97 kB / 0.5148 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.729, allocations: 40 kB / 0.5149 GB, free: 2.246 MB / 426.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.0002612/0.7293, allocations: 168.6 kB / 0.515 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.7296, allocations: 79.52 kB / 0.5151 GB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/0.7301, allocations: 206.7 kB / 0.5153 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.7302, allocations: 12 kB / 0.5153 GB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.7302, allocations: 7.938 kB / 0.5153 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.7302, allocations: 7.969 kB / 0.5153 GB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005327/0.7356, allocations: 2.277 MB / 0.5176 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.7356, allocations: 4 kB / 0.5176 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/0.7378, allocations: 259.6 kB / 0.5178 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.418e-05/0.7379, allocations: 8 kB / 0.5178 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.738, allocations: 35.94 kB / 0.5179 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/0.738, allocations: 12.09 kB / 0.5179 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.738, allocations: 4 kB / 0.5179 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/0.7414, allocations: 1.937 MB / 0.5198 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/0.7419, allocations: 200.2 kB / 0.52 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.7421, allocations: 28 kB / 0.52 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.7432, allocations: 51.97 kB / 0.52 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.7434, allocations: 84.34 kB / 0.5201 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-05/0.7435, allocations: 35.98 kB / 0.5201 GB, free: 12.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000412/0.7439, allocations: 249.2 kB / 0.5204 GB, free: 12.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.744, allocations: 4 kB / 0.5204 GB, free: 12.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001284/0.7453, allocations: 196 kB / 0.5206 GB, free: 12.14 MB / 442.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.004249/0.7495, allocations: 3.553 MB / 0.524 GB, free: 8.488 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.7517, allocations: 0.7361 MB / 0.5248 GB, free: 7.754 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.7517, allocations: 4.375 kB / 0.5248 GB, free: 7.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.7529, allocations: 438.4 kB / 0.5252 GB, free: 7.324 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.7544, allocations: 99.09 kB / 0.5253 GB, free: 7.227 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006457/0.7609, allocations: 2.166 MB / 0.5274 GB, free: 4.969 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/0.7617, allocations: 0.9564 MB / 0.5283 GB, free: 3.984 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008198/0.7625, allocations: 101.6 kB / 0.5284 GB, free: 3.883 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006624/0.7632, allocations: 259.3 kB / 0.5287 GB, free: 3.629 MB / 442.7 MB Notification: Performance of SimCode: time 1.253e-06/0.7632, allocations: 0 / 0.5287 GB, free: 3.629 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06035/0.8236, allocations: 12.46 MB / 0.5408 GB, free: 7.277 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/0.824, allocations: 150.5 kB / 0.541 GB, free: 7.051 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.987/3.811, allocations: 4 kB / 0.541 GB, free: 7.047 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat