Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.2e-05, allocations: 3.984 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4623, allocations: 54.85 MB / 359.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.6163, allocations: 79.08 MB / 438.9 MB, free: 1.754 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.6166, allocations: 63.97 kB / 439 MB, free: 1.691 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002522/0.6191, allocations: 0.6226 MB / 439.6 MB, free: 1.074 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6192, allocations: 0 / 439.6 MB, free: 1.074 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.6192, allocations: 0 / 439.6 MB, free: 1.074 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003099/0.6195, allocations: 319.8 kB / 439.9 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.6196, allocations: 11.97 kB / 439.9 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.6197, allocations: 30.56 kB / 440 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.6197, allocations: 11.95 kB / 440 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.6198, allocations: 163 kB / 440.1 MB, free: 472 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.6199, allocations: 1.438 kB / 440.1 MB, free: 472 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.6199, allocations: 7.5 kB / 440.2 MB, free: 468 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.62, allocations: 33.69 kB / 440.2 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.62, allocations: 4 kB / 440.2 MB, free: 424 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.6201, allocations: 0 / 440.2 MB, free: 424 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.6201, allocations: 3.953 kB / 440.2 MB, free: 420 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/0.6201, allocations: 4 kB / 440.2 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.6203, allocations: 158.4 kB / 440.4 MB, free: 208 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.6206, allocations: 38.55 kB / 440.4 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.6206, allocations: 12.86 kB / 440.4 MB, free: 144 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004909/0.6211, allocations: 121.2 kB / 440.5 MB, free: 4 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.6212, allocations: 34.56 kB / 440.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.6212, allocations: 0 / 440.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001911/0.6231, allocations: 161.4 kB / 440.7 MB, free: 15.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.6232, allocations: 59.36 kB / 440.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.6233, allocations: 86.03 kB / 440.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.6234, allocations: 25.7 kB / 440.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.6234, allocations: 80.27 kB / 441 MB, free: 15.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.6235, allocations: 23.8 kB / 441 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.6235, allocations: 0 / 441 MB, free: 15.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6236, allocations: 310.8 kB / 441.3 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.787e-05/0.6237, allocations: 12 kB / 441.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.6238, allocations: 8 kB / 441.3 MB, free: 15.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.527e-05/0.6238, allocations: 16.92 kB / 441.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6238, allocations: 0 / 441.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001652/0.624, allocations: 53.7 kB / 441.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.624, allocations: 9.016 kB / 441.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6241, allocations: 5.062 kB / 441.4 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.6241, allocations: 0 / 441.4 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.6243, allocations: 15.98 kB / 441.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6244, allocations: 0 / 441.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.6245, allocations: 11.95 kB / 441.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.6245, allocations: 4 kB / 441.4 MB, free: 15.05 MB / 378.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 (5): * Single equations (assignments): 5 * 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 9.093e-05/0.6246, allocations: 116.2 kB / 441.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.6247, allocations: 4 kB / 441.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.6249, allocations: 78.02 kB / 441.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.625, allocations: 144 / 441.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.625, allocations: 4.641 kB / 441.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.625, allocations: 0 / 441.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009151/0.6259, allocations: 339.3 kB / 441.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6259, allocations: 2.188 kB / 442 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.6261, allocations: 15.98 kB / 442 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.6262, allocations: 0 / 442 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.6262, allocations: 4 kB / 442 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.6262, allocations: 4.984 kB / 442 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6262, allocations: 0 / 442 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.6264, allocations: 174.1 kB / 442.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.6265, allocations: 81.09 kB / 442.2 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.6265, allocations: 7.953 kB / 442.2 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.6267, allocations: 4 kB / 442.2 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.6268, allocations: 7.984 kB / 442.2 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.6268, allocations: 4 kB / 442.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.94e-05/0.6268, allocations: 79.28 kB / 442.3 MB, free: 14.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6269, allocations: 4 kB / 442.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003013/0.6272, allocations: 8 kB / 442.3 MB, free: 14.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0006458/0.6278, allocations: 0.7857 MB / 443.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.628, allocations: 28 kB / 443.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.628, allocations: 0 / 443.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.622e-05/0.6281, allocations: 15.94 kB / 443.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.6283, allocations: 0.5625 kB / 443.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007369/0.629, allocations: 130.2 kB / 443.3 MB, free: 13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.6294, allocations: 0.6848 MB / 444 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.911e-05/0.6295, allocations: 4.75 kB / 444 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.6296, allocations: 20.83 kB / 444 MB, free: 12.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6296, allocations: 0 / 444 MB, free: 12.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.6539, allocations: 1.234 MB / 445.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/0.6543, allocations: 162.7 kB / 445.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.849, allocations: 0 / 445.4 MB, free: 10.89 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat