Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.601/2.601, allocations: 270 MB / 283.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.532e-05, allocations: 0 / 348.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4347, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.6037, allocations: 84.93 MB / 495.3 MB, free: 5.586 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.6039, allocations: 63.97 kB / 495.3 MB, free: 5.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002289/0.6062, allocations: 0.6157 MB / 496 MB, free: 4.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6063, allocations: 0 / 496 MB, free: 4.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.6063, allocations: 0 / 496 MB, free: 4.906 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.0002953/0.6066, allocations: 318.5 kB / 496.3 MB, free: 4.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.6067, allocations: 8.031 kB / 496.3 MB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.6067, allocations: 30.56 kB / 496.3 MB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.6068, allocations: 11.91 kB / 496.3 MB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.6069, allocations: 171 kB / 496.5 MB, free: 4.285 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.6069, allocations: 7.938 kB / 496.5 MB, free: 4.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.607, allocations: 3.953 kB / 496.5 MB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.43e-05/0.6071, allocations: 37.64 kB / 496.5 MB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.6071, allocations: 4 kB / 496.5 MB, free: 4.227 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.6071, allocations: 0 / 496.5 MB, free: 4.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6072, allocations: 0 / 496.5 MB, free: 4.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.6072, allocations: 7.984 kB / 496.5 MB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.6074, allocations: 149.7 kB / 496.7 MB, free: 4.023 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.6076, allocations: 38.61 kB / 496.7 MB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.6077, allocations: 16.8 kB / 496.7 MB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.6081, allocations: 113.2 kB / 496.9 MB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.6082, allocations: 42.52 kB / 496.9 MB, free: 3.777 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.6082, allocations: 3.938 kB / 496.9 MB, free: 3.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.00174/0.61, allocations: 157.5 kB / 497.1 MB, free: 3.613 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.61, allocations: 51.41 kB / 497.1 MB, free: 3.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.6101, allocations: 96.92 kB / 497.2 MB, free: 3.449 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.6101, allocations: 29.7 kB / 497.2 MB, free: 3.414 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.6102, allocations: 80.14 kB / 497.3 MB, free: 3.332 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.6102, allocations: 7.812 kB / 497.3 MB, free: 3.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.6103, allocations: 4 kB / 497.3 MB, free: 3.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.6104, allocations: 319 kB / 497.6 MB, free: 3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.14e-05/0.6104, allocations: 4 kB / 497.6 MB, free: 2.996 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.309e-05/0.6105, allocations: 12 kB / 497.6 MB, free: 2.984 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.6106, allocations: 15.98 kB / 497.7 MB, free: 2.969 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6106, allocations: 0 / 497.7 MB, free: 2.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001559/0.6107, allocations: 53.69 kB / 497.7 MB, free: 2.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6108, allocations: 11.95 kB / 497.7 MB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6108, allocations: 0 / 497.7 MB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6108, allocations: 0 / 497.7 MB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.611, allocations: 19.98 kB / 497.7 MB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.6111, allocations: 0 / 497.7 MB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.6112, allocations: 15.92 kB / 497.8 MB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.6113, allocations: 0 / 497.8 MB, free: 2.863 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 7.826e-05/0.6113, allocations: 104.9 kB / 497.9 MB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.6114, allocations: 4 kB / 497.9 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.6116, allocations: 73.44 kB / 497.9 MB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.6116, allocations: 4 kB / 497.9 MB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6116, allocations: 4.062 kB / 497.9 MB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6117, allocations: 3.938 kB / 498 MB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008247/0.6125, allocations: 339.2 kB / 498.3 MB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.6125, allocations: 4 kB / 498.3 MB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.6127, allocations: 15.98 kB / 498.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6127, allocations: 0 / 498.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.6127, allocations: 0 / 498.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.6128, allocations: 7.984 kB / 498.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6128, allocations: 192 / 498.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.613, allocations: 186 kB / 498.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.613, allocations: 77.11 kB / 498.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.6131, allocations: 0 / 498.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.6133, allocations: 11.98 kB / 498.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.6133, allocations: 4 kB / 498.6 MB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.6133, allocations: 4 kB / 498.6 MB, free: 1.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.6134, allocations: 79.28 kB / 498.7 MB, free: 1.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6134, allocations: 0 / 498.7 MB, free: 1.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003248/0.6137, allocations: 15.94 kB / 498.7 MB, free: 1.824 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.0005652/0.6143, allocations: 0.776 MB / 499.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.6145, allocations: 28 kB / 499.5 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6145, allocations: 4 kB / 499.5 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.558e-05/0.6146, allocations: 15.92 kB / 499.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.6147, allocations: 8 kB / 499.5 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007042/0.6155, allocations: 113.2 kB / 499.6 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.6158, allocations: 0.6888 MB / 0.4886 GB, free: 100 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.031e-05/0.6159, allocations: 11.94 kB / 0.4886 GB, free: 88 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.6159, allocations: 15.42 kB / 0.4886 GB, free: 72 kB / 410.7 MB Notification: Performance of SimCode: time 9.81e-07/0.6159, allocations: 4 kB / 0.4886 GB, free: 68 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.6345, allocations: 1.199 MB / 0.4898 GB, free: 14.94 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003785/0.6349, allocations: 156.2 kB / 0.4899 GB, free: 14.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.103, allocations: 11.94 kB / 0.4899 GB, free: 14.7 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat