Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.067/2.067, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.907e-05/4.913e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9232/1.041, allocations: 209.1 MB / 0.5185 GB, free: 112.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.041, allocations: 81.28 kB / 0.5186 GB, free: 112.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.701/3.743, allocations: 0.4989 GB / 1.017 GB, free: 60.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.934e-06/3.743, allocations: 1.219 kB / 1.017 GB, free: 60.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001127/3.743, allocations: 35.14 kB / 1.018 GB, free: 60.45 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00726/3.75, allocations: 1.906 MB / 1.019 GB, free: 59.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/3.75, allocations: 8.812 kB / 1.019 GB, free: 59.84 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003552/3.751, allocations: 132.9 kB / 1.02 GB, free: 59.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/3.755, allocations: 350.2 kB / 1.02 GB, free: 59.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/3.758, allocations: 0.8974 MB / 1.021 GB, free: 59.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/3.758, allocations: 66.41 kB / 1.021 GB, free: 59.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/3.759, allocations: 82.34 kB / 1.021 GB, free: 59.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003761/3.762, allocations: 1.124 MB / 1.022 GB, free: 59.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/3.762, allocations: 5.906 kB / 1.022 GB, free: 59.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/3.763, allocations: 42.34 kB / 1.022 GB, free: 59.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/3.763, allocations: 20.78 kB / 1.022 GB, free: 59.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003232/3.766, allocations: 0.8078 MB / 1.023 GB, free: 59.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/3.776, allocations: 6.278 MB / 1.029 GB, free: 55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/3.778, allocations: 486.8 kB / 1.029 GB, free: 54.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/3.779, allocations: 225 kB / 1.03 GB, free: 54.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/3.78, allocations: 0.7615 MB / 1.03 GB, free: 54.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/3.78, allocations: 38.47 kB / 1.03 GB, free: 54.09 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001104/3.781, allocations: 110.4 kB / 1.031 GB, free: 54.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 3.616e-06/3.781, allocations: 0 / 1.031 GB, free: 54.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.003387/3.784, allocations: 0.7035 MB / 1.031 GB, free: 53.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/3.784, allocations: 190.5 kB / 1.031 GB, free: 53.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/3.786, allocations: 0.7403 MB / 1.032 GB, free: 53.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/3.786, allocations: 39.52 kB / 1.032 GB, free: 53.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/3.786, allocations: 0.6089 MB / 1.033 GB, free: 53.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/3.786, allocations: 175.1 kB / 1.033 GB, free: 53.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/3.787, allocations: 19.12 kB / 1.033 GB, free: 53.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.5e-05/3.787, allocations: 342.9 kB / 1.033 GB, free: 52.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007663/3.787, allocations: 268 kB / 1.033 GB, free: 52.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009356/3.788, allocations: 0.6053 MB / 1.034 GB, free: 52.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/3.789, allocations: 369.7 kB / 1.034 GB, free: 52.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/3.789, allocations: 7.703 kB / 1.034 GB, free: 52.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002848/3.792, allocations: 1.001 MB / 1.035 GB, free: 52.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009219/3.793, allocations: 4.181 MB / 1.04 GB, free: 48.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/3.793, allocations: 11.91 kB / 1.04 GB, free: 48.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009195/3.802, allocations: 0.7437 MB / 1.04 GB, free: 48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/3.804, allocations: 293.4 kB / 1.041 GB, free: 48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/3.806, allocations: 0.7757 MB / 1.041 GB, free: 47.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/3.808, allocations: 103.9 kB / 1.041 GB, free: 47.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/3.808, allocations: 82.25 kB / 1.041 GB, free: 47.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/3.808, allocations: 2.688 kB / 1.041 GB, free: 47.48 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002706/3.811, allocations: 0.9019 MB / 1.042 GB, free: 47.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/3.811, allocations: 9.906 kB / 1.042 GB, free: 47.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/3.811, allocations: 78.78 kB / 1.042 GB, free: 47.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/3.813, allocations: 309 kB / 1.043 GB, free: 47.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/3.815, allocations: 1.638 MB / 1.044 GB, free: 46.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/3.817, allocations: 91.02 kB / 1.044 GB, free: 46.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/3.817, allocations: 73.59 kB / 1.044 GB, free: 46.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003569/3.817, allocations: 161.8 kB / 1.045 GB, free: 46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/3.818, allocations: 110.5 kB / 1.045 GB, free: 45.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004924/3.822, allocations: 1.495 MB / 1.046 GB, free: 45.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/3.823, allocations: 7.25 kB / 1.046 GB, free: 45.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/3.823, allocations: 1.969 kB / 1.046 GB, free: 45.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/3.823, allocations: 6.797 kB / 1.046 GB, free: 45.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/3.826, allocations: 1.638 MB / 1.048 GB, free: 45.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/3.826, allocations: 2.344 kB / 1.048 GB, free: 45.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008525/3.827, allocations: 133.5 kB / 1.048 GB, free: 45.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004803/3.832, allocations: 0.5657 MB / 1.048 GB, free: 45.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001764/3.832, allocations: 23.75 kB / 1.049 GB, free: 45.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/3.834, allocations: 0.8014 MB / 1.049 GB, free: 44.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/3.834, allocations: 3.312 kB / 1.049 GB, free: 44.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/3.836, allocations: 0.8996 MB / 1.05 GB, free: 44.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008958/3.837, allocations: 312.7 kB / 1.05 GB, free: 44.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/3.837, allocations: 20.86 kB / 1.051 GB, free: 44.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/3.838, allocations: 68.34 kB / 1.051 GB, free: 44.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/3.838, allocations: 54.55 kB / 1.051 GB, free: 44.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.913e-05/3.839, allocations: 34.59 kB / 1.051 GB, free: 44.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001175/3.84, allocations: 0.5787 MB / 1.051 GB, free: 44.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/3.84, allocations: 1.969 kB / 1.051 GB, free: 44.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005046/3.845, allocations: 1.022 MB / 1.052 GB, free: 44.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.005763/3.851, allocations: 2.491 MB / 1.055 GB, free: 42.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003912/3.855, allocations: 1.253 MB / 1.056 GB, free: 42.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/3.855, allocations: 2.406 kB / 1.056 GB, free: 42.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009865/3.856, allocations: 307.2 kB / 1.056 GB, free: 42.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003995/3.86, allocations: 431.5 kB / 1.057 GB, free: 42.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007591/3.867, allocations: 1.972 MB / 1.059 GB, free: 42.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/3.868, allocations: 1.094 MB / 1.06 GB, free: 41.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/3.869, allocations: 457.2 kB / 1.06 GB, free: 41.44 MB / 442.7 MB Notification: Performance of SimCode: time 2.314e-06/3.869, allocations: 2.625 kB / 1.06 GB, free: 41.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.471/7.341, allocations: 31.66 MB / 1.091 GB, free: 39.72 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat