Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.38/2.38, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.057e-05/4.069e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4577, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7245/1.182, allocations: 215.4 MB / 0.5618 GB, free: 99.74 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/1.183, allocations: 85.97 kB / 0.5619 GB, free: 99.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.498/3.681, allocations: 0.5087 GB / 1.071 GB, free: 25.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.304e-06/3.681, allocations: 0 / 1.071 GB, free: 25.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000128/3.681, allocations: 35.98 kB / 1.071 GB, free: 25.2 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.007057/3.688, allocations: 1.901 MB / 1.072 GB, free: 23.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/3.688, allocations: 12.02 kB / 1.072 GB, free: 23.23 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004054/3.689, allocations: 131.1 kB / 1.073 GB, free: 23.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004715/3.693, allocations: 358 kB / 1.073 GB, free: 22.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/3.696, allocations: 0.8905 MB / 1.074 GB, free: 21.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.125e-05/3.697, allocations: 65.94 kB / 1.074 GB, free: 21.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/3.697, allocations: 84 kB / 1.074 GB, free: 21.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/3.7, allocations: 1.146 MB / 1.075 GB, free: 20.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/3.701, allocations: 7.875 kB / 1.075 GB, free: 20.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/3.701, allocations: 36 kB / 1.075 GB, free: 20.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/3.701, allocations: 24 kB / 1.075 GB, free: 20.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/3.704, allocations: 0.8237 MB / 1.076 GB, free: 19.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/3.714, allocations: 6.276 MB / 1.082 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/3.716, allocations: 0.4931 MB / 1.083 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/3.717, allocations: 218.1 kB / 1.083 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005583/3.717, allocations: 0.764 MB / 1.083 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/3.717, allocations: 38.95 kB / 1.084 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00103/3.719, allocations: 111.2 kB / 1.084 GB, free: 10.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 4.899e-06/3.719, allocations: 0 / 1.084 GB, free: 10.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.003391/3.722, allocations: 0.6909 MB / 1.084 GB, free: 10.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/3.722, allocations: 196.3 kB / 1.084 GB, free: 9.977 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/3.723, allocations: 0.7419 MB / 1.085 GB, free: 9.215 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/3.724, allocations: 37.7 kB / 1.085 GB, free: 9.172 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/3.724, allocations: 0.6068 MB / 1.086 GB, free: 8.555 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/3.724, allocations: 169.6 kB / 1.086 GB, free: 8.387 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/3.724, allocations: 16 kB / 1.086 GB, free: 8.371 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.993e-05/3.724, allocations: 341.9 kB / 1.086 GB, free: 8.031 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007431/3.725, allocations: 265.9 kB / 1.087 GB, free: 7.773 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/3.726, allocations: 0.611 MB / 1.087 GB, free: 6.996 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008982/3.727, allocations: 363 kB / 1.088 GB, free: 6.641 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/3.727, allocations: 4 kB / 1.088 GB, free: 6.637 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003082/3.73, allocations: 1.089 MB / 1.089 GB, free: 5.539 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008345/3.731, allocations: 4.191 MB / 1.093 GB, free: 1.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.573e-05/3.731, allocations: 12 kB / 1.093 GB, free: 1.008 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009111/3.74, allocations: 0.7498 MB / 1.093 GB, free: 260 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.366/4.106, allocations: 281.9 kB / 1.094 GB, free: 67.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/4.108, allocations: 0.785 MB / 1.094 GB, free: 66.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/4.11, allocations: 98.11 kB / 1.095 GB, free: 66.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/4.11, allocations: 84.2 kB / 1.095 GB, free: 66.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/4.11, allocations: 3.375 kB / 1.095 GB, free: 66.97 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003305/4.114, allocations: 0.9226 MB / 1.096 GB, free: 66.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.989e-05/4.114, allocations: 10.5 kB / 1.096 GB, free: 66.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005122/4.114, allocations: 91.3 kB / 1.096 GB, free: 66.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/4.117, allocations: 304.5 kB / 1.096 GB, free: 66.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/4.119, allocations: 1.645 MB / 1.098 GB, free: 65.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/4.121, allocations: 92.75 kB / 1.098 GB, free: 65.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/4.121, allocations: 72.66 kB / 1.098 GB, free: 65.64 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.0004144/4.122, allocations: 166.2 kB / 1.098 GB, free: 65.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/4.122, allocations: 104.9 kB / 1.098 GB, free: 65.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005691/4.128, allocations: 1.497 MB / 1.099 GB, free: 65.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/4.128, allocations: 11.78 kB / 1.099 GB, free: 65.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/4.128, allocations: 2.812 kB / 1.099 GB, free: 65.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/4.128, allocations: 4.734 kB / 1.099 GB, free: 65.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004543/4.132, allocations: 1.649 MB / 1.101 GB, free: 65.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/4.132, allocations: 1 kB / 1.101 GB, free: 65.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009027/4.133, allocations: 132.4 kB / 1.101 GB, free: 65.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005007/4.138, allocations: 0.5531 MB / 1.102 GB, free: 65.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/4.139, allocations: 31.56 kB / 1.102 GB, free: 65.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/4.14, allocations: 0.8044 MB / 1.103 GB, free: 64.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/4.14, allocations: 2.219 kB / 1.103 GB, free: 64.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/4.142, allocations: 0.9027 MB / 1.103 GB, free: 64.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008102/4.143, allocations: 314.7 kB / 1.104 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/4.143, allocations: 17.78 kB / 1.104 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/4.145, allocations: 70.97 kB / 1.104 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/4.145, allocations: 51.16 kB / 1.104 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.661e-05/4.145, allocations: 28.27 kB / 1.104 GB, free: 64.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001373/4.146, allocations: 0.5797 MB / 1.104 GB, free: 63.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/4.146, allocations: 6 kB / 1.104 GB, free: 63.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00557/4.152, allocations: 1.026 MB / 1.105 GB, free: 63.93 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.006002/4.158, allocations: 2.483 MB / 1.108 GB, free: 62.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004715/4.163, allocations: 1.322 MB / 1.109 GB, free: 62.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/4.163, allocations: 1.469 kB / 1.109 GB, free: 62.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/4.164, allocations: 322.8 kB / 1.109 GB, free: 62.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/4.168, allocations: 424.8 kB / 1.11 GB, free: 62.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00802/4.176, allocations: 1.95 MB / 1.112 GB, free: 62.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/4.178, allocations: 1.101 MB / 1.113 GB, free: 77.42 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004612/4.183, allocations: 0.8339 MB / 1.114 GB, free: 77.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/4.184, allocations: 436.1 kB / 1.114 GB, free: 77.37 MB / 0.4948 GB Notification: Performance of SimCode: time 1.312e-06/4.184, allocations: 0 / 1.114 GB, free: 77.37 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/4.286, allocations: 36.35 MB / 1.15 GB, free: 76.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/4.286, allocations: 246.2 kB / 1.15 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.64/8.926, allocations: 6 kB / 1.15 GB, free: 76.02 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat