Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.917/1.917, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.116e-05/4.122e-05, allocations: 0 / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5283, allocations: 73.33 MB / 395.2 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.5287, allocations: 71.19 kB / 395.2 MB, free: 456 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01638/0.5451, allocations: 3.083 MB / 398.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5451, allocations: 0 / 398.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.5451, allocations: 4 kB / 398.3 MB, free: 13.37 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005008/0.5457, allocations: 354.4 kB / 398.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.5457, allocations: 12.02 kB / 398.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.5458, allocations: 39.44 kB / 398.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.5458, allocations: 7.859 kB / 398.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.546, allocations: 163 kB / 398.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.546, allocations: 11.94 kB / 398.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.5461, allocations: 8 kB / 398.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.5463, allocations: 65.67 kB / 399 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.5463, allocations: 0 / 399 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.5463, allocations: 4 kB / 399 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.5463, allocations: 0 / 399 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.5465, allocations: 43.91 kB / 399 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.5468, allocations: 189.5 kB / 399.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.547, allocations: 78.56 kB / 399.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.229e-05/0.5471, allocations: 28.86 kB / 399.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003791/0.5475, allocations: 113 kB / 399.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.5476, allocations: 38.55 kB / 399.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.5476, allocations: 4 kB / 399.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.2888/0.8364, allocations: 4.962 MB / 404.4 MB, free: 7.039 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.8365, allocations: 51.41 kB / 404.5 MB, free: 6.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/0.8366, allocations: 89 kB / 404.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/0.8367, allocations: 29.7 kB / 404.6 MB, free: 6.848 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.8368, allocations: 155.1 kB / 404.7 MB, free: 6.691 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.8369, allocations: 70.91 kB / 404.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.837, allocations: 4 kB / 404.8 MB, free: 6.617 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8371, allocations: 318.8 kB / 405.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.8373, allocations: 67.98 kB / 405.2 MB, free: 6.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.8376, allocations: 71.91 kB / 405.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009829/0.8386, allocations: 115.4 kB / 405.4 MB, free: 6.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8386, allocations: 0 / 405.4 MB, free: 6.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001451/0.8401, allocations: 261.3 kB / 405.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.8402, allocations: 4 kB / 405.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.8402, allocations: 4 kB / 405.6 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.8402, allocations: 7.953 kB / 405.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/0.841, allocations: 87.86 kB / 405.7 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.8411, allocations: 3.984 kB / 405.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.8415, allocations: 39.97 kB / 405.8 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.8416, allocations: 15.98 kB / 405.8 MB, free: 5.629 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001429/0.8417, allocations: 113 kB / 405.9 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.8418, allocations: 11.91 kB / 405.9 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.8436, allocations: 345.6 kB / 406.3 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.8437, allocations: 0 / 406.3 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.8437, allocations: 3.953 kB / 406.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.8437, allocations: 7.984 kB / 406.3 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003265/0.847, allocations: 0.7295 MB / 407 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.847, allocations: 4 kB / 407 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.8476, allocations: 83.98 kB / 407.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.8477, allocations: 4 kB / 407.1 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.8477, allocations: 15.98 kB / 407.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.8477, allocations: 0 / 407.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.8478, allocations: 3.938 kB / 407.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.8491, allocations: 371.1 kB / 407.5 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.8492, allocations: 85.02 kB / 407.6 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.8492, allocations: 4 kB / 407.6 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.8496, allocations: 43.89 kB / 407.6 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.8497, allocations: 19.94 kB / 407.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.8497, allocations: 15.98 kB / 407.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.96e-05/0.8498, allocations: 75.28 kB / 407.7 MB, free: 3.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.8498, allocations: 0 / 407.7 MB, free: 3.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002452/0.8523, allocations: 0.609 MB / 408.3 MB, free: 2.988 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.006512/0.8588, allocations: 1.253 MB / 409.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006497/0.8595, allocations: 160 kB / 409.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.8596, allocations: 4 kB / 409.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.8598, allocations: 91.84 kB / 409.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.86, allocations: 4 kB / 409.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.8627, allocations: 426.8 kB / 410.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.8631, allocations: 0.7017 MB / 410.9 MB, free: 248 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.8634, allocations: 59.39 kB / 411 MB, free: 188 kB / 330.7 MB Notification: Performance of SimCode: time 3.978e-06/0.8634, allocations: 0 / 411 MB, free: 188 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.222/4.085, allocations: 15.22 MB / 426.2 MB, free: 1.02 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat