Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 235.2 MB / 242.3 MB, free: 15.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.78e-05, allocations: 7.281 kB / 299.6 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4068, allocations: 54.85 MB / 354.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.424/8.831, allocations: 2.607 GB / 2.953 GB, free: 106.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/8.832, allocations: 85.8 kB / 2.953 GB, free: 106.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687/12.52, allocations: 0.6261 GB / 3.579 GB, free: 39.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.685e-06/12.52, allocations: 5 kB / 3.579 GB, free: 39.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000187/12.52, allocations: 42.95 kB / 3.579 GB, free: 39.62 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01258/12.53, allocations: 2.433 MB / 3.582 GB, free: 38.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/12.53, allocations: 7.844 kB / 3.582 GB, free: 38.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/12.54, allocations: 0.9594 MB / 3.583 GB, free: 38.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003867/12.55, allocations: 1.06 MB / 3.584 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/12.55, allocations: 56.47 kB / 3.584 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003645/12.55, allocations: 69.17 kB / 3.584 GB, free: 38.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004111/12.55, allocations: 1.204 MB / 3.585 GB, free: 38.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004604/12.56, allocations: 1.421 MB / 3.586 GB, free: 37.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/12.56, allocations: 4.938 kB / 3.586 GB, free: 37.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003015/12.56, allocations: 6.062 kB / 3.586 GB, free: 37.69 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/12.56, allocations: 31.72 kB / 3.586 GB, free: 37.69 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.603/14.16, allocations: 266 MB / 3.846 GB, free: 20.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008714/14.16, allocations: 343.1 kB / 3.846 GB, free: 20.49 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/14.16, allocations: 232.6 kB / 3.847 GB, free: 20.48 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06879/14.23, allocations: 15.7 MB / 3.862 GB, free: 28.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/14.23, allocations: 41.94 kB / 3.862 GB, free: 28.19 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 3.406e-06/14.23, allocations: 2.531 kB / 3.862 GB, free: 28.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.009102/14.24, allocations: 1.592 MB / 3.864 GB, free: 28.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/14.24, allocations: 269.5 kB / 3.864 GB, free: 27.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/14.24, allocations: 0.8672 MB / 3.865 GB, free: 27.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/14.24, allocations: 25.7 kB / 3.865 GB, free: 27.63 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006812/14.24, allocations: 0.7782 MB / 3.865 GB, free: 27.29 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/14.24, allocations: 176.3 kB / 3.866 GB, free: 27.21 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/14.24, allocations: 0 / 3.866 GB, free: 27.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001927/14.24, allocations: 353.5 kB / 3.866 GB, free: 26.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008039/14.25, allocations: 310.5 kB / 3.866 GB, free: 26.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/14.25, allocations: 0.8915 MB / 3.867 GB, free: 26.15 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005048/14.25, allocations: 0.7446 MB / 3.868 GB, free: 26.12 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/14.25, allocations: 14.52 kB / 3.868 GB, free: 26.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007384/14.26, allocations: 1.505 MB / 3.869 GB, free: 26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003127/14.26, allocations: 7.317 MB / 3.877 GB, free: 18.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-05/14.26, allocations: 25.45 kB / 3.877 GB, free: 18.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-05/14.26, allocations: 32.3 kB / 3.877 GB, free: 18.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/14.27, allocations: 394 kB / 3.877 GB, free: 18.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-05/14.27, allocations: 37.19 kB / 3.877 GB, free: 18.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003727/14.27, allocations: 357.2 kB / 3.877 GB, free: 18.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/14.27, allocations: 85.34 kB / 3.877 GB, free: 18.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/14.27, allocations: 3.656 kB / 3.877 GB, free: 18.26 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005824/14.28, allocations: 1.239 MB / 3.879 GB, free: 18.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/14.28, allocations: 19.53 kB / 3.879 GB, free: 18.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.099e-05/14.28, allocations: 29 kB / 3.879 GB, free: 18.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/14.28, allocations: 390.5 kB / 3.879 GB, free: 18.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.748e-05/14.28, allocations: 45.44 kB / 3.879 GB, free: 18.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/14.28, allocations: 234.7 kB / 3.879 GB, free: 18.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/14.28, allocations: 88.41 kB / 3.879 GB, free: 18.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP4.medium.phase,SinkP4.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP1.medium.phase,SinkP1.medium.phase,V4.state_b.phase,V4.state_a.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 (167): * Single equations (assignments): 167 * 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.0004374/14.28, allocations: 163.1 kB / 3.88 GB, free: 18.07 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004923/14.29, allocations: 0.779 MB / 3.88 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/14.29, allocations: 116.8 kB / 3.88 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004244/14.29, allocations: 1.82 MB / 3.882 GB, free: 17.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/14.29, allocations: 3.938 kB / 3.882 GB, free: 17.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/14.29, allocations: 3.75 kB / 3.882 GB, free: 17.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/14.29, allocations: 6.516 kB / 3.882 GB, free: 17.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/14.29, allocations: 1.362 MB / 3.884 GB, free: 17.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/14.29, allocations: 0 / 3.884 GB, free: 17.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/14.29, allocations: 87.36 kB / 3.884 GB, free: 17.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/14.29, allocations: 2.625 kB / 3.884 GB, free: 17.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/14.29, allocations: 7.812 kB / 3.884 GB, free: 17.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/14.29, allocations: 1.812 kB / 3.884 GB, free: 17.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/14.3, allocations: 2.484 kB / 3.884 GB, free: 17.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/14.3, allocations: 0.7023 MB / 3.884 GB, free: 17.09 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/14.3, allocations: 0.6063 MB / 3.885 GB, free: 16.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006127/14.3, allocations: 0 / 3.885 GB, free: 16.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/14.3, allocations: 92.66 kB / 3.885 GB, free: 16.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/14.3, allocations: 31.89 kB / 3.885 GB, free: 16.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/14.3, allocations: 13.22 kB / 3.885 GB, free: 16.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003008/14.3, allocations: 1.43 MB / 3.886 GB, free: 16.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.21e-07/14.3, allocations: 0 / 3.886 GB, free: 16.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009174/14.31, allocations: 1.752 MB / 3.888 GB, free: 15.17 MB / 0.5573 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 (52): * Single equations (assignments): 52 * 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.01375/14.33, allocations: 3.272 MB / 3.891 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003426/14.33, allocations: 1.271 MB / 3.893 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/14.33, allocations: 6.094 kB / 3.893 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004127/14.33, allocations: 160.9 kB / 3.893 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00465/14.34, allocations: 469 kB / 3.893 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009155/14.35, allocations: 2.322 MB / 3.895 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/14.35, allocations: 1.356 MB / 3.897 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00655/14.35, allocations: 2.525 MB / 3.899 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/14.35, allocations: 0.677 MB / 3.9 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of SimCode: time 1.162e-06/14.35, allocations: 4 kB / 3.9 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6319/14.99, allocations: 60.91 MB / 3.959 GB, free: 95.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002785/14.99, allocations: 198.6 kB / 3.96 GB, free: 94.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.621/20.61, allocations: 0 / 3.96 GB, free: 94.91 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat