Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.232e-05, allocations: 7.984 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3849, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.918/8.303, allocations: 2.607 GB / 2.953 GB, free: 107.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/8.304, allocations: 86.47 kB / 2.953 GB, free: 107.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.549/10.85, allocations: 0.4932 GB / 3.446 GB, free: 39 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/10.85, allocations: 0 / 3.446 GB, free: 39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001189/10.85, allocations: 31.97 kB / 3.446 GB, free: 38.99 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.009758/10.86, allocations: 2.049 MB / 3.448 GB, free: 37.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/10.86, allocations: 11.31 kB / 3.448 GB, free: 37.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008571/10.87, allocations: 0.7181 MB / 3.449 GB, free: 37.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/10.87, allocations: 0.8459 MB / 3.45 GB, free: 37.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/10.87, allocations: 49.52 kB / 3.45 GB, free: 37.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/10.87, allocations: 47.38 kB / 3.45 GB, free: 37.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00253/10.88, allocations: 0.9079 MB / 3.451 GB, free: 36.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/10.88, allocations: 1.085 MB / 3.452 GB, free: 36.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/10.88, allocations: 5.219 kB / 3.452 GB, free: 36.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/10.88, allocations: 13.73 kB / 3.452 GB, free: 36.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/10.88, allocations: 21.56 kB / 3.452 GB, free: 36.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.194/12.07, allocations: 201.4 MB / 3.648 GB, free: 20.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/12.08, allocations: 410.8 kB / 3.649 GB, free: 20.29 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/12.08, allocations: 193.8 kB / 3.649 GB, free: 20.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06727/12.14, allocations: 16.28 MB / 3.665 GB, free: 23.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/12.14, allocations: 38.94 kB / 3.665 GB, free: 23.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 3.737e-06/12.14, allocations: 0 / 3.665 GB, free: 23.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.006523/12.15, allocations: 1.258 MB / 3.666 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/12.15, allocations: 217.1 kB / 3.666 GB, free: 22.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/12.15, allocations: 0.6583 MB / 3.667 GB, free: 22.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.554e-05/12.15, allocations: 25.7 kB / 3.667 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000452/12.15, allocations: 0.5895 MB / 3.668 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/12.15, allocations: 154.6 kB / 3.668 GB, free: 21.74 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/12.15, allocations: 0.9844 kB / 3.668 GB, free: 21.74 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000223/12.15, allocations: 401.8 kB / 3.668 GB, free: 21.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/12.15, allocations: 233.5 kB / 3.668 GB, free: 21.28 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007656/12.15, allocations: 0.6417 MB / 3.669 GB, free: 20.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003488/12.16, allocations: 0.5679 MB / 3.67 GB, free: 20.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/12.16, allocations: 4 kB / 3.67 GB, free: 20.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005623/12.16, allocations: 1.138 MB / 3.671 GB, free: 19.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00271/12.17, allocations: 5.055 MB / 3.676 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-05/12.17, allocations: 12 kB / 3.676 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.754e-05/12.17, allocations: 22.19 kB / 3.676 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/12.17, allocations: 303 kB / 3.676 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.61e-05/12.17, allocations: 28.34 kB / 3.676 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/12.17, allocations: 255.8 kB / 3.676 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/12.17, allocations: 61.38 kB / 3.676 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/12.17, allocations: 6.844 kB / 3.676 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005994/12.18, allocations: 0.9325 MB / 3.677 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/12.18, allocations: 12 kB / 3.677 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.435e-05/12.18, allocations: 20.98 kB / 3.677 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/12.18, allocations: 307.2 kB / 3.677 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-05/12.18, allocations: 24.02 kB / 3.678 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/12.18, allocations: 177.4 kB / 3.678 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/12.18, allocations: 60.8 kB / 3.678 GB, free: 12.76 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 127 * 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 0.0004574/12.18, allocations: 152.7 kB / 3.678 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004967/12.19, allocations: 0.642 MB / 3.679 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/12.19, allocations: 93.88 kB / 3.679 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004494/12.19, allocations: 1.441 MB / 3.68 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/12.19, allocations: 4 kB / 3.68 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/12.19, allocations: 0 / 3.68 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/12.19, allocations: 0 / 3.68 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/12.2, allocations: 1.074 MB / 3.681 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/12.2, allocations: 0 / 3.681 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009396/12.2, allocations: 101.1 kB / 3.681 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/12.2, allocations: 4 kB / 3.681 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/12.2, allocations: 5.797 kB / 3.681 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/12.2, allocations: 4 kB / 3.681 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/12.2, allocations: 0 / 3.681 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/12.2, allocations: 0.6056 MB / 3.682 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/12.2, allocations: 490.9 kB / 3.682 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005555/12.2, allocations: 4 kB / 3.682 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/12.2, allocations: 77.14 kB / 3.682 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/12.2, allocations: 30.39 kB / 3.682 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/12.2, allocations: 12.89 kB / 3.682 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002667/12.21, allocations: 1.088 MB / 3.683 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.91e-07/12.21, allocations: 0 / 3.683 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009948/12.22, allocations: 1.546 MB / 3.685 GB, free: 7.852 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (46): * Single equations (assignments): 46 * 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.01585/12.23, allocations: 2.957 MB / 3.688 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003223/12.24, allocations: 0.9848 MB / 3.689 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/12.24, allocations: 0 / 3.689 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004466/12.24, allocations: 148.8 kB / 3.689 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/12.24, allocations: 373 kB / 3.689 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008287/12.25, allocations: 1.9 MB / 3.691 GB, free: 3.117 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009827/12.25, allocations: 1.2 MB / 3.692 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005231/12.26, allocations: 1.895 MB / 3.694 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/12.26, allocations: 0.5056 MB / 3.695 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of SimCode: time 1.423e-06/12.26, allocations: 0 / 3.695 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5505/12.81, allocations: 51.88 MB / 3.745 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/12.81, allocations: 189.9 kB / 3.745 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.999/17.81, allocations: 4 kB / 3.745 GB, free: 104.7 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat