Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.724/2.724, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.372e-05/4.383e-05, allocations: 7.984 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4474, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/0.6536, allocations: 86.38 MB / 468.7 MB, free: 6.031 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.6539, allocations: 63.97 kB / 468.7 MB, free: 5.969 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02764/0.6816, allocations: 6.098 MB / 474.8 MB, free: 15.87 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6816, allocations: 0 / 474.8 MB, free: 15.87 MB / 410.8 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.6817, allocations: 0 / 474.8 MB, free: 15.87 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004994/0.6822, allocations: 408.1 kB / 475.2 MB, free: 15.42 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.6822, allocations: 12.03 kB / 475.2 MB, free: 15.41 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.6823, allocations: 30.56 kB / 475.3 MB, free: 15.37 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.6823, allocations: 0 / 475.3 MB, free: 15.37 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.6825, allocations: 167 kB / 475.4 MB, free: 15.16 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.6825, allocations: 4 kB / 475.4 MB, free: 15.16 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.6825, allocations: 0 / 475.4 MB, free: 15.16 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.498e-05/0.6826, allocations: 33.58 kB / 475.5 MB, free: 15.12 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6826, allocations: 3.984 kB / 475.5 MB, free: 15.12 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.6826, allocations: 4 kB / 475.5 MB, free: 15.11 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.6827, allocations: 0 / 475.5 MB, free: 15.11 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.982e-05/0.6827, allocations: 0 / 475.5 MB, free: 15.11 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.6829, allocations: 153.7 kB / 475.6 MB, free: 14.91 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.338e-05/0.6829, allocations: 18.58 kB / 475.7 MB, free: 14.89 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.683, allocations: 4.859 kB / 475.7 MB, free: 14.88 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.683, allocations: 4.062 kB / 475.7 MB, free: 14.88 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/0.6831, allocations: 64.19 kB / 475.7 MB, free: 14.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.6831, allocations: 0 / 475.7 MB, free: 14.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001769/0.6833, allocations: 63.41 kB / 475.8 MB, free: 14.72 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.6833, allocations: 81.14 kB / 475.9 MB, free: 14.62 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.6834, allocations: 89 kB / 476 MB, free: 14.53 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.6835, allocations: 25.7 kB / 476 MB, free: 14.5 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.6835, allocations: 80.14 kB / 476.1 MB, free: 14.42 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.6835, allocations: 3.984 kB / 476.1 MB, free: 14.41 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.6836, allocations: 3.938 kB / 476.1 MB, free: 14.41 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6837, allocations: 318.8 kB / 476.4 MB, free: 14.09 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.6837, allocations: 4 kB / 476.4 MB, free: 14.09 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.6838, allocations: 4.125 kB / 476.4 MB, free: 14.08 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.255e-05/0.6838, allocations: 29.7 kB / 476.4 MB, free: 14.05 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6838, allocations: 0 / 476.4 MB, free: 14.05 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001087/0.6839, allocations: 63.34 kB / 476.5 MB, free: 13.97 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.684, allocations: 33.69 kB / 476.5 MB, free: 13.93 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.684, allocations: 0 / 476.5 MB, free: 13.93 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.684, allocations: 0 / 476.5 MB, free: 13.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.684, allocations: 0 / 476.5 MB, free: 13.93 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.684, allocations: 0 / 476.5 MB, free: 13.93 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.6841, allocations: 12.09 kB / 476.5 MB, free: 13.92 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.6841, allocations: 0 / 476.5 MB, free: 13.92 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.891e-05/0.6842, allocations: 134.6 kB / 476.6 MB, free: 13.78 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.6842, allocations: 7.906 kB / 476.7 MB, free: 13.77 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.6843, allocations: 7.125 kB / 476.7 MB, free: 13.76 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.6843, allocations: 0 / 476.7 MB, free: 13.76 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6843, allocations: 0 / 476.7 MB, free: 13.76 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.6843, allocations: 11.91 kB / 476.7 MB, free: 13.75 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.6844, allocations: 149.6 kB / 476.8 MB, free: 13.55 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.6845, allocations: 0 / 476.8 MB, free: 13.55 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.6845, allocations: 4 kB / 476.8 MB, free: 13.55 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6845, allocations: 0 / 476.8 MB, free: 13.55 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.6845, allocations: 0 / 476.8 MB, free: 13.55 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6845, allocations: 0 / 476.8 MB, free: 13.55 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6845, allocations: 3.984 kB / 476.8 MB, free: 13.54 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.6847, allocations: 91.03 kB / 476.9 MB, free: 13.43 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.6847, allocations: 85.06 kB / 477 MB, free: 13.33 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.6848, allocations: 4.016 kB / 477 MB, free: 13.32 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.6848, allocations: 4 kB / 477 MB, free: 13.32 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.6848, allocations: 0 / 477 MB, free: 13.32 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.6848, allocations: 0 / 477 MB, free: 13.32 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.258e-05/0.6849, allocations: 79.28 kB / 477.1 MB, free: 13.24 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6849, allocations: 0 / 477.1 MB, free: 13.24 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0004512/0.6853, allocations: 75.98 kB / 477.2 MB, free: 13.17 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001283/0.6866, allocations: 0.8938 MB / 478.1 MB, free: 12.29 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.6868, allocations: 59.41 kB / 478.1 MB, free: 12.22 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6868, allocations: 0 / 478.1 MB, free: 12.22 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.972e-05/0.6869, allocations: 55.41 kB / 478.2 MB, free: 12.16 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.687, allocations: 4 kB / 478.2 MB, free: 12.15 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.6874, allocations: 124 kB / 478.3 MB, free: 12 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.6877, allocations: 0.6772 MB / 479 MB, free: 11.29 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.01e-05/0.6877, allocations: 0 / 479 MB, free: 11.29 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.6877, allocations: 15.42 kB / 479 MB, free: 11.28 MB / 410.8 MB Notification: Performance of SimCode: time 7.71e-07/0.6878, allocations: 0 / 479 MB, free: 11.28 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.7144, allocations: 2.275 MB / 481.3 MB, free: 9.051 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/0.7148, allocations: 175.5 kB / 481.4 MB, free: 8.824 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.169, allocations: 0 / 481.4 MB, free: 8.824 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat