Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.508/2.508, allocations: 270 MB / 283.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.681e-05/5.694e-05, allocations: 3.984 kB / 348.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5825, allocations: 61.87 MB / 410.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.7501, allocations: 84.92 MB / 495.3 MB, free: 5.621 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.7505, allocations: 67.97 kB / 495.4 MB, free: 5.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002631/0.7531, allocations: 0.6235 MB / 496 MB, free: 4.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7532, allocations: 0 / 496 MB, free: 4.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.7532, allocations: 0 / 496 MB, free: 4.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000334/0.7535, allocations: 310.6 kB / 496.3 MB, free: 4.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.7536, allocations: 12.03 kB / 496.3 MB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.7537, allocations: 30.56 kB / 496.3 MB, free: 4.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.7537, allocations: 7.844 kB / 496.3 MB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.7539, allocations: 171 kB / 496.5 MB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.7539, allocations: 0 / 496.5 MB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.754, allocations: 11.89 kB / 496.5 MB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.7541, allocations: 33.69 kB / 496.5 MB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.7541, allocations: 3.938 kB / 496.5 MB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.7541, allocations: 0 / 496.5 MB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.7541, allocations: 7.984 kB / 496.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.7542, allocations: 8 kB / 496.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.7544, allocations: 149.7 kB / 496.7 MB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.7547, allocations: 38.58 kB / 496.7 MB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/0.7548, allocations: 12.86 kB / 496.8 MB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005025/0.7553, allocations: 125.1 kB / 496.9 MB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.7553, allocations: 38.5 kB / 496.9 MB, free: 3.801 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.916e-06/0.7553, allocations: 0 / 496.9 MB, free: 3.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.001806/0.7571, allocations: 157.5 kB / 497.1 MB, free: 3.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.7572, allocations: 55.41 kB / 497.1 MB, free: 3.574 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.7573, allocations: 88.94 kB / 497.2 MB, free: 3.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.7574, allocations: 25.7 kB / 497.2 MB, free: 3.449 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.7574, allocations: 80.14 kB / 497.3 MB, free: 3.367 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.7575, allocations: 19.92 kB / 497.3 MB, free: 3.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/0.7575, allocations: 4 kB / 497.3 MB, free: 3.344 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7576, allocations: 314.8 kB / 497.6 MB, free: 3.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.7577, allocations: 12 kB / 497.7 MB, free: 3.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.958e-05/0.7577, allocations: 8 kB / 497.7 MB, free: 3.008 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.7578, allocations: 8 kB / 497.7 MB, free: 3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7578, allocations: 0 / 497.7 MB, free: 3 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001665/0.758, allocations: 57.69 kB / 497.7 MB, free: 2.938 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.758, allocations: 7.953 kB / 497.7 MB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.758, allocations: 0 / 497.7 MB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.7581, allocations: 4 kB / 497.7 MB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.7583, allocations: 15.98 kB / 497.8 MB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.7583, allocations: 4 kB / 497.8 MB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.7585, allocations: 7.984 kB / 497.8 MB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.7585, allocations: 7.938 kB / 497.8 MB, free: 2.891 MB / 410.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.258e-05/0.7586, allocations: 108.9 kB / 497.9 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.7586, allocations: 0 / 497.9 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.7589, allocations: 77.19 kB / 498 MB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7589, allocations: 0 / 498 MB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7589, allocations: 0 / 498 MB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.759, allocations: 0 / 498 MB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008703/0.7598, allocations: 347.5 kB / 498.3 MB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7599, allocations: 3.938 kB / 498.3 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.7601, allocations: 19.98 kB / 498.3 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.7601, allocations: 3.984 kB / 498.3 MB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.7601, allocations: 4 kB / 498.3 MB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.7601, allocations: 0 / 498.3 MB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7601, allocations: 0 / 498.3 MB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.7604, allocations: 178 kB / 498.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.7604, allocations: 77.11 kB / 498.6 MB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.7605, allocations: 4 kB / 498.6 MB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.7607, allocations: 7.984 kB / 498.6 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.7607, allocations: 4 kB / 498.6 MB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.7607, allocations: 0 / 498.6 MB, free: 1.953 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.256e-05/0.7608, allocations: 79.28 kB / 498.7 MB, free: 1.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7608, allocations: 0 / 498.7 MB, free: 1.875 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.7611, allocations: 19.98 kB / 498.7 MB, free: 1.855 MB / 410.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.0006192/0.7618, allocations: 0.778 MB / 499.5 MB, free: 1.047 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.7619, allocations: 27.98 kB / 499.5 MB, free: 1.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.762, allocations: 0 / 499.5 MB, free: 1.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.804e-05/0.762, allocations: 19.94 kB / 499.5 MB, free: 1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.7622, allocations: 0 / 499.5 MB, free: 1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007293/0.763, allocations: 129.6 kB / 499.6 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.7633, allocations: 0.677 MB / 0.4886 GB, free: 136 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.407e-05/0.7634, allocations: 12 kB / 0.4886 GB, free: 124 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.7635, allocations: 15.38 kB / 0.4886 GB, free: 108 kB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.7635, allocations: 0 / 0.4886 GB, free: 108 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.7834, allocations: 1.212 MB / 0.4898 GB, free: 14.97 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003376/0.7838, allocations: 159.6 kB / 0.49 GB, free: 14.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/3.22, allocations: 0 / 0.49 GB, free: 14.74 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat