Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.66/2.66, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.194e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3826, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7071/1.09, allocations: 214.7 MB / 0.5558 GB, free: 7.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/1.09, allocations: 86.72 kB / 0.5559 GB, free: 7.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075/4.165, allocations: 0.504 GB / 1.06 GB, free: 70.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.184e-06/4.165, allocations: 0 / 1.06 GB, free: 70.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001109/4.165, allocations: 31.44 kB / 1.06 GB, free: 70.91 MB / 474.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.006632/4.172, allocations: 1.902 MB / 1.062 GB, free: 70.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/4.172, allocations: 11.66 kB / 1.062 GB, free: 70.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005029/4.177, allocations: 350 kB / 1.062 GB, free: 70 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/4.18, allocations: 0.9005 MB / 1.063 GB, free: 69.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/4.18, allocations: 29.8 kB / 1.063 GB, free: 69.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/4.18, allocations: 47.41 kB / 1.063 GB, free: 69.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002112/4.182, allocations: 0.718 MB / 1.064 GB, free: 69.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/4.184, allocations: 0.941 MB / 1.065 GB, free: 69.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/4.184, allocations: 0 / 1.065 GB, free: 69.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/4.185, allocations: 5.906 kB / 1.065 GB, free: 69.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/4.185, allocations: 22.47 kB / 1.065 GB, free: 69.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/4.195, allocations: 6.127 MB / 1.071 GB, free: 65.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/4.196, allocations: 457.7 kB / 1.071 GB, free: 65.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/4.197, allocations: 217.9 kB / 1.071 GB, free: 65.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006307/4.197, allocations: 0.7527 MB / 1.072 GB, free: 64.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/4.198, allocations: 43.75 kB / 1.072 GB, free: 64.3 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001043/4.199, allocations: 100.7 kB / 1.072 GB, free: 64.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 4.428e-06/4.199, allocations: 0 / 1.072 GB, free: 64.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.008621/4.207, allocations: 1.083 MB / 1.073 GB, free: 64.19 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/4.207, allocations: 192.3 kB / 1.073 GB, free: 63.97 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/4.209, allocations: 0.6835 MB / 1.074 GB, free: 63.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.425e-05/4.209, allocations: 29.64 kB / 1.074 GB, free: 63.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/4.209, allocations: 0.6033 MB / 1.075 GB, free: 63.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/4.209, allocations: 168.2 kB / 1.075 GB, free: 63.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.146e-05/4.21, allocations: 0 / 1.075 GB, free: 63.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/4.21, allocations: 346.6 kB / 1.075 GB, free: 63.13 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007012/4.21, allocations: 252.4 kB / 1.076 GB, free: 63.13 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008929/4.211, allocations: 0.5965 MB / 1.076 GB, free: 62.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/4.223, allocations: 1.512 MB / 1.078 GB, free: 62.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/4.223, allocations: 3 kB / 1.078 GB, free: 62.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01378/4.237, allocations: 2.174 MB / 1.08 GB, free: 62.53 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008518/4.238, allocations: 4.182 MB / 1.084 GB, free: 58.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/4.238, allocations: 9.969 kB / 1.084 GB, free: 58.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004792/4.243, allocations: 433.5 kB / 1.084 GB, free: 58.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/4.245, allocations: 285.9 kB / 1.084 GB, free: 58.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/4.248, allocations: 0.9503 MB / 1.085 GB, free: 57.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/4.25, allocations: 70.67 kB / 1.085 GB, free: 57.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/4.25, allocations: 82.59 kB / 1.086 GB, free: 57.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/4.25, allocations: 8.375 kB / 1.086 GB, free: 57.61 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01093/4.261, allocations: 1.81 MB / 1.087 GB, free: 57.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/4.261, allocations: 12.59 kB / 1.087 GB, free: 57.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/4.262, allocations: 87.8 kB / 1.087 GB, free: 57.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/4.264, allocations: 297.9 kB / 1.088 GB, free: 57.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/4.266, allocations: 1.592 MB / 1.089 GB, free: 56.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/4.268, allocations: 88.42 kB / 1.089 GB, free: 56.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/4.268, allocations: 73.05 kB / 1.089 GB, free: 56.2 MB / 474.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.0003632/4.269, allocations: 134.6 kB / 1.09 GB, free: 56.07 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01154/4.28, allocations: 1.658 MB / 1.091 GB, free: 55.97 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/4.28, allocations: 97.66 kB / 1.091 GB, free: 55.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00824/4.289, allocations: 1.759 MB / 1.093 GB, free: 55.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/4.289, allocations: 7.812 kB / 1.093 GB, free: 55.76 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/4.289, allocations: 0 / 1.093 GB, free: 55.76 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/4.289, allocations: 3.891 kB / 1.093 GB, free: 55.76 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006545/4.295, allocations: 1.799 MB / 1.095 GB, free: 55.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/4.295, allocations: 3.844 kB / 1.095 GB, free: 55.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009943/4.296, allocations: 128.8 kB / 1.095 GB, free: 55.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002041/4.298, allocations: 290.5 kB / 1.095 GB, free: 55.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/4.299, allocations: 20.89 kB / 1.095 GB, free: 55.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/4.301, allocations: 0.9143 MB / 1.096 GB, free: 54.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/4.301, allocations: 2.5 kB / 1.096 GB, free: 54.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004893/4.306, allocations: 1.162 MB / 1.097 GB, free: 54.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000688/4.306, allocations: 306.7 kB / 1.097 GB, free: 54.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/4.307, allocations: 10.7 kB / 1.097 GB, free: 54.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/4.308, allocations: 60.52 kB / 1.098 GB, free: 54.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/4.308, allocations: 50.91 kB / 1.098 GB, free: 54.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.383e-05/4.308, allocations: 30.8 kB / 1.098 GB, free: 54.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001031/4.309, allocations: 0.5181 MB / 1.098 GB, free: 54.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.31e-07/4.309, allocations: 2.844 kB / 1.098 GB, free: 54.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004775/4.314, allocations: 0.9768 MB / 1.099 GB, free: 54.06 MB / 474.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.008303/4.322, allocations: 2.743 MB / 1.102 GB, free: 51.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003889/4.326, allocations: 1.238 MB / 1.103 GB, free: 51 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/4.326, allocations: 0 / 1.103 GB, free: 51 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000949/4.327, allocations: 295.6 kB / 1.103 GB, free: 50.81 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/4.332, allocations: 412.8 kB / 1.104 GB, free: 50.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007321/4.339, allocations: 1.884 MB / 1.105 GB, free: 49.12 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/4.34, allocations: 1.103 MB / 1.107 GB, free: 48.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004234/4.344, allocations: 0.8297 MB / 1.107 GB, free: 47.65 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/4.345, allocations: 433.7 kB / 1.108 GB, free: 47.28 MB / 474.7 MB Notification: Performance of SimCode: time 1.233e-06/4.345, allocations: 0 / 1.108 GB, free: 47.28 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/4.463, allocations: 34.32 MB / 1.141 GB, free: 16.88 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000269/4.463, allocations: 212.2 kB / 1.142 GB, free: 16.59 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.394/8.857, allocations: 4 kB / 1.142 GB, free: 16.59 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat