Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.579/2.579, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.757e-05/3.775e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4297, allocations: 58.84 MB / 382.3 MB, free: 10.2 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7168/1.147, allocations: 219.2 MB / 0.5874 GB, free: 74.1 MB / 458.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/1.147, allocations: 82.33 kB / 0.5875 GB, free: 74.05 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.644/3.791, allocations: 0.5133 GB / 1.101 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.285e-06/3.791, allocations: 4 kB / 1.101 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001351/3.792, allocations: 31.92 kB / 1.101 GB, free: 6.812 MB / 0.5105 GB 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.007883/3.799, allocations: 1.94 MB / 1.103 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/3.799, allocations: 8.031 kB / 1.103 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004421/3.8, allocations: 131.1 kB / 1.103 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005108/3.805, allocations: 362.1 kB / 1.103 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/3.808, allocations: 0.8555 MB / 1.104 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.162e-05/3.808, allocations: 70 kB / 1.104 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/3.809, allocations: 83.94 kB / 1.104 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004419/3.813, allocations: 1.134 MB / 1.105 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/3.813, allocations: 4 kB / 1.105 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002268/3.813, allocations: 40 kB / 1.105 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/3.813, allocations: 20 kB / 1.105 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003735/3.817, allocations: 0.812 MB / 1.106 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4548/4.272, allocations: 5.42 MB / 1.111 GB, free: 74.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/4.275, allocations: 0.5245 MB / 1.112 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008725/4.276, allocations: 283.5 kB / 1.112 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008207/4.276, allocations: 0.95 MB / 1.113 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/4.277, allocations: 49 kB / 1.113 GB, free: 73.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001324/4.278, allocations: 125.4 kB / 1.113 GB, free: 73.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=65): time 5.33e-06/4.278, allocations: 1.062 kB / 1.113 GB, free: 73.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65): time 0.00581/4.284, allocations: 0.9226 MB / 1.114 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/4.284, allocations: 188.6 kB / 1.114 GB, free: 73.31 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/4.286, allocations: 0.8248 MB / 1.115 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000365/4.286, allocations: 42.2 kB / 1.115 GB, free: 73.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/4.287, allocations: 0.4992 MB / 1.116 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/4.287, allocations: 231.1 kB / 1.116 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/4.287, allocations: 14.16 kB / 1.116 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/4.287, allocations: 339.2 kB / 1.116 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008733/4.288, allocations: 272.8 kB / 1.117 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/4.289, allocations: 472.4 kB / 1.117 GB, free: 72.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/4.29, allocations: 341 kB / 1.117 GB, free: 72.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/4.29, allocations: 1.656 kB / 1.117 GB, free: 72.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003215/4.293, allocations: 0.9944 MB / 1.118 GB, free: 72.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004195/4.294, allocations: 1.845 MB / 1.12 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/4.294, allocations: 3.781 kB / 1.12 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/4.304, allocations: 0.7792 MB / 1.121 GB, free: 70.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/4.306, allocations: 260 kB / 1.121 GB, free: 70.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/4.307, allocations: 0.7865 MB / 1.122 GB, free: 69.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/4.31, allocations: 84.77 kB / 1.122 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003877/4.31, allocations: 72.06 kB / 1.122 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/4.31, allocations: 7.344 kB / 1.122 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002707/4.313, allocations: 0.813 MB / 1.123 GB, free: 69.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/4.313, allocations: 7.156 kB / 1.123 GB, free: 69.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/4.313, allocations: 78.88 kB / 1.123 GB, free: 69.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/4.315, allocations: 272.2 kB / 1.123 GB, free: 69.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/4.318, allocations: 1.646 MB / 1.125 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/4.32, allocations: 85.05 kB / 1.125 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/4.32, allocations: 67.09 kB / 1.125 GB, free: 68.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0004393/4.32, allocations: 155.3 kB / 1.125 GB, free: 68.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004134/4.321, allocations: 125.3 kB / 1.125 GB, free: 68.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006418/4.327, allocations: 2.245 MB / 1.127 GB, free: 67.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/4.327, allocations: 9.656 kB / 1.127 GB, free: 67.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/4.327, allocations: 3.953 kB / 1.127 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/4.327, allocations: 3.938 kB / 1.127 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004653/4.332, allocations: 1.841 MB / 1.129 GB, free: 67.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/4.332, allocations: 3.188 kB / 1.129 GB, free: 67.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009518/4.333, allocations: 152.2 kB / 1.129 GB, free: 67.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0052/4.338, allocations: 0.5972 MB / 1.13 GB, free: 67.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/4.338, allocations: 34.95 kB / 1.13 GB, free: 67.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/4.34, allocations: 0.8104 MB / 1.131 GB, free: 67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/4.34, allocations: 7.969 kB / 1.131 GB, free: 67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002989/4.343, allocations: 1.157 MB / 1.132 GB, free: 66.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/4.344, allocations: 347.3 kB / 1.132 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/4.344, allocations: 18.81 kB / 1.132 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/4.346, allocations: 86.72 kB / 1.132 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/4.346, allocations: 62.52 kB / 1.132 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/4.346, allocations: 45.55 kB / 1.132 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001439/4.348, allocations: 0.7025 MB / 1.133 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.012e-06/4.348, allocations: 5.375 kB / 1.133 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005015/4.353, allocations: 1.039 MB / 1.134 GB, free: 66.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.006156/4.359, allocations: 3.238 MB / 1.137 GB, free: 64.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003827/4.363, allocations: 1.26 MB / 1.139 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/4.363, allocations: 0 / 1.139 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/4.364, allocations: 349.2 kB / 1.139 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004562/4.368, allocations: 0.5144 MB / 1.139 GB, free: 64.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006153/4.375, allocations: 1.835 MB / 1.141 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/4.375, allocations: 1.108 MB / 1.142 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003742/4.379, allocations: 0.8624 MB / 1.143 GB, free: 62.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009369/4.38, allocations: 446.1 kB / 1.144 GB, free: 62.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.703e-06/4.38, allocations: 0.75 kB / 1.144 GB, free: 62.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/4.488, allocations: 41 MB / 1.184 GB, free: 61.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002617/4.488, allocations: 248.8 kB / 1.184 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.625/9.113, allocations: 0 / 1.184 GB, free: 61.31 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat