Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.046/2.046, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.425e-05, allocations: 0 / 273.1 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5027, allocations: 78.32 MB / 400.2 MB, free: 11.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.503, allocations: 63.97 kB / 400.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05694/0.56, allocations: 11.33 MB / 411.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5601, allocations: 4 kB / 411.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.61e-05/0.5601, allocations: 12 kB / 411.6 MB, free: 15.75 MB / 346.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.002576/0.5627, allocations: 0.8494 MB / 412.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.5628, allocations: 12.03 kB / 412.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002251/0.563, allocations: 94.52 kB / 412.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.5633, allocations: 75.16 kB / 412.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007896/0.5641, allocations: 380.9 kB / 413 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.358e-05/0.5641, allocations: 41.31 kB / 413 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.5643, allocations: 71.83 kB / 413.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.5659, allocations: 0.5588 MB / 413.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.895e-05/0.566, allocations: 15.89 kB / 413.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.004e-05/0.5661, allocations: 20 kB / 413.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.5661, allocations: 16 kB / 413.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.5674, allocations: 446.9 kB / 414.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005392/0.5729, allocations: 2.044 MB / 416.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.5745, allocations: 0.6006 MB / 416.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.5754, allocations: 290 kB / 417.1 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.5755, allocations: 20.58 kB / 417.1 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.5756, allocations: 46.95 kB / 417.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 4.248e-06/0.5756, allocations: 0 / 417.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=115): time 0.01176/0.5873, allocations: 4.027 MB / 421.1 MB, free: 5.508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.5875, allocations: 178.7 kB / 421.3 MB, free: 5.297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/0.5883, allocations: 327.1 kB / 421.6 MB, free: 4.973 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002154/0.5885, allocations: 41.7 kB / 421.7 MB, free: 4.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.5888, allocations: 265.1 kB / 421.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005019/0.5893, allocations: 414 kB / 422.3 MB, free: 4.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/0.5894, allocations: 24 kB / 422.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.5896, allocations: 378.7 kB / 422.7 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008178/0.5904, allocations: 274.6 kB / 423 MB, free: 3.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.5915, allocations: 477.5 kB / 423.5 MB, free: 3.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009618/0.5925, allocations: 337.9 kB / 423.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.5925, allocations: 4 kB / 423.8 MB, free: 2.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002572/0.5951, allocations: 0.9212 MB / 424.7 MB, free: 1.781 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.5952, allocations: 8 kB / 424.7 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.5952, allocations: 4 kB / 424.7 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.902e-05/0.5952, allocations: 12 kB / 424.8 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/0.5974, allocations: 292 kB / 425 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.684e-05/0.5975, allocations: 19.98 kB / 425.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009228/0.5985, allocations: 59.97 kB / 425.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.5986, allocations: 40 kB / 425.2 MB, free: 1.355 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.0002804/0.5989, allocations: 172.6 kB / 425.3 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/0.5992, allocations: 83.14 kB / 425.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008476/0.6001, allocations: 271.3 kB / 425.7 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.6001, allocations: 12 kB / 425.7 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.6001, allocations: 0 / 425.7 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.6002, allocations: 11.97 kB / 425.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005688/0.6059, allocations: 2.328 MB / 428 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.6059, allocations: 7.953 kB / 428 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/0.6082, allocations: 267.9 kB / 428.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.457e-05/0.6083, allocations: 8 kB / 428.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.6084, allocations: 27.98 kB / 428.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.549e-05/0.6084, allocations: 8 kB / 428.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.6085, allocations: 7.938 kB / 428.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/0.6119, allocations: 1.793 MB / 430.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005018/0.6125, allocations: 204.2 kB / 430.3 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.6127, allocations: 24 kB / 430.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009516/0.6136, allocations: 51.97 kB / 430.4 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/0.6139, allocations: 88.34 kB / 430.5 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.614, allocations: 35.98 kB / 430.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004396/0.6145, allocations: 261.2 kB / 430.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6145, allocations: 0 / 430.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001221/0.6157, allocations: 200 kB / 431 MB, free: 11.27 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.004334/0.6201, allocations: 3.283 MB / 434.3 MB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.6222, allocations: 0.7784 MB / 435 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6223, allocations: 0 / 435 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.6235, allocations: 450.8 kB / 435.5 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.6248, allocations: 104.3 kB / 435.6 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006101/0.6309, allocations: 2.172 MB / 437.8 MB, free: 4.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/0.6317, allocations: 0.9681 MB / 438.7 MB, free: 3.324 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000779/0.6325, allocations: 101.6 kB / 438.8 MB, free: 3.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/0.6331, allocations: 259.3 kB / 439.1 MB, free: 2.969 MB / 362.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6331, allocations: 3.938 kB / 439.1 MB, free: 2.965 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05205/0.6852, allocations: 12.68 MB / 451.8 MB, free: 6.355 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/0.6856, allocations: 153.8 kB / 451.9 MB, free: 6.125 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.979/3.664, allocations: 4.062 kB / 451.9 MB, free: 6.121 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat