Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.31/2.31, allocations: 235 MB / 247.6 MB, free: 14.3 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.583e-05, allocations: 0 / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3969, allocations: 54.86 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6748/1.072, allocations: 215.4 MB / 0.5618 GB, free: 99.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.072, allocations: 81.22 kB / 0.5619 GB, free: 99.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.626/3.698, allocations: 0.5087 GB / 1.071 GB, free: 24.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.114e-06/3.698, allocations: 4 kB / 1.071 GB, free: 24.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001568/3.698, allocations: 31.98 kB / 1.071 GB, free: 24.91 MB / 490.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.007392/3.706, allocations: 1.897 MB / 1.072 GB, free: 22.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/3.706, allocations: 12.03 kB / 1.072 GB, free: 22.95 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004566/3.706, allocations: 127.1 kB / 1.073 GB, free: 22.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00487/3.711, allocations: 358 kB / 1.073 GB, free: 22.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/3.714, allocations: 0.9022 MB / 1.074 GB, free: 21.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.01e-05/3.714, allocations: 69.94 kB / 1.074 GB, free: 21.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/3.714, allocations: 76 kB / 1.074 GB, free: 21.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003992/3.719, allocations: 1.13 MB / 1.075 GB, free: 20.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/3.719, allocations: 7.938 kB / 1.075 GB, free: 20.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/3.719, allocations: 40 kB / 1.075 GB, free: 20.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/3.719, allocations: 20 kB / 1.075 GB, free: 20.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/3.722, allocations: 0.8081 MB / 1.076 GB, free: 19.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/3.733, allocations: 6.276 MB / 1.082 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/3.735, allocations: 492.9 kB / 1.082 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/3.735, allocations: 218.1 kB / 1.083 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005515/3.736, allocations: 0.764 MB / 1.083 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/3.736, allocations: 42.95 kB / 1.083 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001038/3.737, allocations: 111.2 kB / 1.084 GB, free: 10.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 3.286e-06/3.737, allocations: 0 / 1.084 GB, free: 10.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.003191/3.74, allocations: 0.6987 MB / 1.084 GB, free: 9.957 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/3.74, allocations: 188.4 kB / 1.084 GB, free: 9.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/3.742, allocations: 0.7458 MB / 1.085 GB, free: 8.965 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/3.742, allocations: 33.7 kB / 1.085 GB, free: 8.926 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/3.742, allocations: 0.6093 MB / 1.086 GB, free: 8.309 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/3.742, allocations: 173.6 kB / 1.086 GB, free: 8.137 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/3.743, allocations: 24 kB / 1.086 GB, free: 8.113 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.724e-05/3.743, allocations: 346.8 kB / 1.086 GB, free: 7.766 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007089/3.743, allocations: 265.9 kB / 1.087 GB, free: 7.508 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008683/3.744, allocations: 0.6012 MB / 1.087 GB, free: 6.738 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008672/3.745, allocations: 363 kB / 1.088 GB, free: 6.383 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/3.745, allocations: 0 / 1.088 GB, free: 6.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002727/3.748, allocations: 1.004 MB / 1.088 GB, free: 5.371 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008781/3.749, allocations: 4.187 MB / 1.093 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/3.749, allocations: 12 kB / 1.093 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009285/3.758, allocations: 0.7498 MB / 1.093 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3654/4.124, allocations: 281.4 kB / 1.094 GB, free: 66.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/4.125, allocations: 0.7842 MB / 1.094 GB, free: 66.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/4.127, allocations: 99.58 kB / 1.094 GB, free: 66.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/4.128, allocations: 86.92 kB / 1.095 GB, free: 66.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/4.128, allocations: 3.781 kB / 1.095 GB, free: 66.33 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003214/4.131, allocations: 0.8957 MB / 1.095 GB, free: 66.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/4.131, allocations: 13.44 kB / 1.095 GB, free: 66.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004484/4.131, allocations: 80.47 kB / 1.096 GB, free: 66.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/4.134, allocations: 308.4 kB / 1.096 GB, free: 66.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/4.136, allocations: 1.628 MB / 1.097 GB, free: 65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/4.138, allocations: 92.81 kB / 1.097 GB, free: 65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/4.138, allocations: 73.95 kB / 1.098 GB, free: 65 MB / 490.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.0003928/4.138, allocations: 161.4 kB / 1.098 GB, free: 64.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/4.139, allocations: 110 kB / 1.098 GB, free: 64.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005748/4.144, allocations: 1.491 MB / 1.099 GB, free: 64.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/4.144, allocations: 7.406 kB / 1.099 GB, free: 64.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/4.145, allocations: 0.6562 kB / 1.099 GB, free: 64.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/4.145, allocations: 7.297 kB / 1.099 GB, free: 64.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/4.149, allocations: 1.644 MB / 1.101 GB, free: 64.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/4.149, allocations: 1.375 kB / 1.101 GB, free: 64.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000937/4.15, allocations: 134.1 kB / 1.101 GB, free: 64.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005145/4.155, allocations: 0.5656 MB / 1.102 GB, free: 64.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/4.156, allocations: 28.72 kB / 1.102 GB, free: 64.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/4.157, allocations: 0.7963 MB / 1.102 GB, free: 63.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/4.157, allocations: 8.453 kB / 1.102 GB, free: 63.92 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/4.159, allocations: 0.8993 MB / 1.103 GB, free: 63.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/4.16, allocations: 310 kB / 1.104 GB, free: 63.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/4.161, allocations: 15.41 kB / 1.104 GB, free: 63.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/4.162, allocations: 73.31 kB / 1.104 GB, free: 63.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/4.162, allocations: 52.38 kB / 1.104 GB, free: 63.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.961e-05/4.162, allocations: 36.06 kB / 1.104 GB, free: 63.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001361/4.164, allocations: 0.5803 MB / 1.104 GB, free: 63.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.71e-07/4.164, allocations: 1.562 kB / 1.104 GB, free: 63.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005287/4.169, allocations: 1.026 MB / 1.105 GB, free: 63.3 MB / 490.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.005908/4.175, allocations: 2.494 MB / 1.108 GB, free: 62.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004354/4.179, allocations: 1.249 MB / 1.109 GB, free: 61.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/4.179, allocations: 3.812 kB / 1.109 GB, free: 61.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/4.181, allocations: 313.2 kB / 1.109 GB, free: 61.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004125/4.185, allocations: 424.5 kB / 1.11 GB, free: 61.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008205/4.193, allocations: 1.961 MB / 1.112 GB, free: 61.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008473/4.194, allocations: 1.095 MB / 1.113 GB, free: 60.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/4.195, allocations: 457.9 kB / 1.113 GB, free: 60.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/4.195, allocations: 0 / 1.113 GB, free: 60.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.475/7.67, allocations: 31.66 MB / 1.144 GB, free: 59.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat