Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.993/1.993, allocations: 209.4 MB / 216.5 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.805e-05, allocations: 10.39 kB / 267.6 MB, free: 4.965 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 48.7 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8956/1.014, allocations: 208.6 MB / 0.5127 GB, free: 97.37 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.014, allocations: 84.39 kB / 0.5127 GB, free: 97.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.654/3.668, allocations: 0.4943 GB / 1.007 GB, free: 68.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/3.668, allocations: 0 / 1.007 GB, free: 68.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001787/3.669, allocations: 33.47 kB / 1.007 GB, free: 68.04 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.007358/3.676, allocations: 1.904 MB / 1.009 GB, free: 67.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/3.676, allocations: 12.97 kB / 1.009 GB, free: 67.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004708/3.681, allocations: 351.7 kB / 1.009 GB, free: 67.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/3.684, allocations: 0.8987 MB / 1.01 GB, free: 67.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/3.684, allocations: 26.5 kB / 1.01 GB, free: 67.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/3.684, allocations: 50 kB / 1.01 GB, free: 67.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001926/3.686, allocations: 0.716 MB / 1.011 GB, free: 67.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/3.688, allocations: 0.9424 MB / 1.012 GB, free: 66.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/3.688, allocations: 7.656 kB / 1.012 GB, free: 66.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/3.688, allocations: 3.969 kB / 1.012 GB, free: 66.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/3.688, allocations: 20.91 kB / 1.012 GB, free: 66.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009949/3.698, allocations: 6.123 MB / 1.018 GB, free: 62.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/3.699, allocations: 450 kB / 1.018 GB, free: 62.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/3.7, allocations: 214.1 kB / 1.018 GB, free: 62.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006009/3.7, allocations: 0.7596 MB / 1.019 GB, free: 61.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/3.701, allocations: 46 kB / 1.019 GB, free: 61.72 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001057/3.702, allocations: 94.66 kB / 1.019 GB, free: 61.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 3.988e-06/3.702, allocations: 4.531 kB / 1.019 GB, free: 61.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.007975/3.71, allocations: 1.086 MB / 1.02 GB, free: 61.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/3.71, allocations: 187.2 kB / 1.021 GB, free: 61.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/3.711, allocations: 0.6852 MB / 1.021 GB, free: 61.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002215/3.711, allocations: 25.7 kB / 1.021 GB, free: 61.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/3.712, allocations: 0.6045 MB / 1.022 GB, free: 60.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/3.712, allocations: 170.3 kB / 1.022 GB, free: 60.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/3.712, allocations: 0 / 1.022 GB, free: 60.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.502e-05/3.712, allocations: 338.1 kB / 1.022 GB, free: 60.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006405/3.713, allocations: 258.1 kB / 1.023 GB, free: 60.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000824/3.714, allocations: 0.603 MB / 1.023 GB, free: 60.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/3.724, allocations: 1.501 MB / 1.025 GB, free: 60.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-05/3.724, allocations: 3.312 kB / 1.025 GB, free: 60.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01269/3.737, allocations: 2.184 MB / 1.027 GB, free: 60.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009606/3.738, allocations: 4.174 MB / 1.031 GB, free: 55.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-05/3.738, allocations: 10.03 kB / 1.031 GB, free: 55.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004265/3.743, allocations: 427.3 kB / 1.031 GB, free: 55.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/3.745, allocations: 292.7 kB / 1.032 GB, free: 55.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/3.747, allocations: 0.953 MB / 1.032 GB, free: 55.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/3.75, allocations: 78.47 kB / 1.033 GB, free: 55.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/3.75, allocations: 79.23 kB / 1.033 GB, free: 55.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/3.75, allocations: 2.938 kB / 1.033 GB, free: 55.16 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009897/3.76, allocations: 1.82 MB / 1.034 GB, free: 55.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/3.76, allocations: 14.47 kB / 1.034 GB, free: 55.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004577/3.76, allocations: 78.88 kB / 1.035 GB, free: 55.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/3.762, allocations: 301.9 kB / 1.035 GB, free: 55.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/3.764, allocations: 1.596 MB / 1.036 GB, free: 53.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/3.766, allocations: 73.77 kB / 1.036 GB, free: 53.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/3.766, allocations: 72.78 kB / 1.037 GB, free: 53.85 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.0003961/3.767, allocations: 139.3 kB / 1.037 GB, free: 53.74 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01026/3.777, allocations: 1.651 MB / 1.038 GB, free: 53.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/3.777, allocations: 103.9 kB / 1.038 GB, free: 53.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007153/3.785, allocations: 1.755 MB / 1.04 GB, free: 53.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/3.785, allocations: 10.91 kB / 1.04 GB, free: 53.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/3.785, allocations: 3.844 kB / 1.04 GB, free: 53.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/3.785, allocations: 3.281 kB / 1.04 GB, free: 53.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006073/3.791, allocations: 1.796 MB / 1.042 GB, free: 53.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/3.791, allocations: 3.844 kB / 1.042 GB, free: 53.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008377/3.792, allocations: 133.5 kB / 1.042 GB, free: 53.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/3.793, allocations: 289.5 kB / 1.042 GB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.425e-05/3.794, allocations: 17.91 kB / 1.042 GB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/3.795, allocations: 0.9101 MB / 1.043 GB, free: 52.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/3.796, allocations: 6.578 kB / 1.043 GB, free: 52.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004567/3.8, allocations: 1.164 MB / 1.044 GB, free: 52.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006991/3.801, allocations: 308.1 kB / 1.045 GB, free: 52.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/3.801, allocations: 0 / 1.045 GB, free: 52.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/3.802, allocations: 72 kB / 1.045 GB, free: 52.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/3.802, allocations: 51.77 kB / 1.045 GB, free: 52.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.554e-05/3.802, allocations: 31.33 kB / 1.045 GB, free: 52.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00093/3.803, allocations: 0.5168 MB / 1.045 GB, free: 51.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.803, allocations: 3 kB / 1.045 GB, free: 51.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004794/3.808, allocations: 0.9832 MB / 1.046 GB, free: 51.85 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.007917/3.816, allocations: 2.736 MB / 1.049 GB, free: 50.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0033/3.82, allocations: 1.234 MB / 1.05 GB, free: 50.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/3.82, allocations: 5.281 kB / 1.05 GB, free: 50.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008353/3.82, allocations: 297.3 kB / 1.05 GB, free: 50.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/3.824, allocations: 399.4 kB / 1.051 GB, free: 50.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007294/3.831, allocations: 1.888 MB / 1.053 GB, free: 49.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007041/3.832, allocations: 1.102 MB / 1.054 GB, free: 49.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003955/3.836, allocations: 0.835 MB / 1.054 GB, free: 48.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/3.837, allocations: 429 kB / 1.055 GB, free: 48.92 MB / 442.7 MB Notification: Performance of SimCode: time 1.253e-06/3.837, allocations: 0 / 1.055 GB, free: 48.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1332/3.97, allocations: 34.31 MB / 1.088 GB, free: 42.19 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/3.971, allocations: 211.5 kB / 1.089 GB, free: 41.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.023/7.994, allocations: 0 / 1.089 GB, free: 41.92 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat