Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.337/2.337, allocations: 235.1 MB / 242.2 MB, free: 15.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.082e-05, allocations: 4 kB / 299.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3873, allocations: 54.86 MB / 354.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.699/8.086, allocations: 2.607 GB / 2.953 GB, free: 106.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/8.087, allocations: 84.36 kB / 2.953 GB, free: 106.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.38/11.47, allocations: 0.6261 GB / 3.579 GB, free: 40.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.374e-06/11.47, allocations: 0 / 3.579 GB, free: 40.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001713/11.47, allocations: 38.09 kB / 3.579 GB, free: 40.2 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.01203/11.48, allocations: 2.438 MB / 3.582 GB, free: 39.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/11.48, allocations: 9.656 kB / 3.582 GB, free: 39.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/11.49, allocations: 0.9549 MB / 3.582 GB, free: 39.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/11.49, allocations: 1.058 MB / 3.584 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/11.49, allocations: 53.72 kB / 3.584 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003745/11.49, allocations: 69.89 kB / 3.584 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003577/11.5, allocations: 1.207 MB / 3.585 GB, free: 38.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/11.5, allocations: 1.414 MB / 3.586 GB, free: 38.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.792e-05/11.5, allocations: 3.938 kB / 3.586 GB, free: 38.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002912/11.5, allocations: 13.5 kB / 3.586 GB, free: 38.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/11.5, allocations: 34.53 kB / 3.586 GB, free: 38.26 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.42/12.92, allocations: 266 MB / 3.846 GB, free: 21.11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007904/12.92, allocations: 347 kB / 3.846 GB, free: 21.09 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/12.92, allocations: 225.8 kB / 3.847 GB, free: 21.08 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06058/12.98, allocations: 15.71 MB / 3.862 GB, free: 28.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/12.98, allocations: 43.94 kB / 3.862 GB, free: 28.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 3.336e-06/12.98, allocations: 0 / 3.862 GB, free: 28.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.008436/12.99, allocations: 1.591 MB / 3.864 GB, free: 28.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/12.99, allocations: 263.6 kB / 3.864 GB, free: 28.42 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/12.99, allocations: 0.873 MB / 3.865 GB, free: 28.26 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/13, allocations: 25.7 kB / 3.865 GB, free: 28.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006136/13, allocations: 0.7803 MB / 3.865 GB, free: 27.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/13, allocations: 175.7 kB / 3.866 GB, free: 27.81 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.809e-05/13, allocations: 0 / 3.866 GB, free: 27.81 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000168/13, allocations: 355 kB / 3.866 GB, free: 27.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/13, allocations: 309.5 kB / 3.866 GB, free: 27.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/13, allocations: 0.8921 MB / 3.867 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004582/13, allocations: 0.7497 MB / 3.868 GB, free: 26.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-05/13, allocations: 6.094 kB / 3.868 GB, free: 26.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006901/13.01, allocations: 1.506 MB / 3.869 GB, free: 26.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002961/13.01, allocations: 7.314 MB / 3.876 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.326e-05/13.01, allocations: 23.55 kB / 3.876 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-05/13.01, allocations: 33.45 kB / 3.876 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/13.02, allocations: 392.9 kB / 3.877 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.04e-05/13.02, allocations: 39.95 kB / 3.877 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/13.02, allocations: 359.6 kB / 3.877 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002844/13.02, allocations: 88.78 kB / 3.877 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/13.02, allocations: 3.531 kB / 3.877 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005344/13.02, allocations: 1.236 MB / 3.879 GB, free: 18.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/13.02, allocations: 19.61 kB / 3.879 GB, free: 18.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.05e-05/13.02, allocations: 28.78 kB / 3.879 GB, free: 18.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/13.03, allocations: 394 kB / 3.879 GB, free: 18.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-05/13.03, allocations: 40.56 kB / 3.879 GB, free: 18.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/13.03, allocations: 233.1 kB / 3.879 GB, free: 18.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002024/13.03, allocations: 81.33 kB / 3.879 GB, free: 18.77 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.0004385/13.03, allocations: 171.5 kB / 3.879 GB, free: 18.66 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004344/13.03, allocations: 0.7789 MB / 3.88 GB, free: 18.56 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/13.04, allocations: 115.2 kB / 3.88 GB, free: 18.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003787/13.04, allocations: 1.821 MB / 3.882 GB, free: 18.21 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/13.04, allocations: 10.95 kB / 3.882 GB, free: 18.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/13.04, allocations: 0 / 3.882 GB, free: 18.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/13.04, allocations: 7.266 kB / 3.882 GB, free: 18.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/13.04, allocations: 1.36 MB / 3.883 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/13.04, allocations: 3.812 kB / 3.883 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/13.04, allocations: 90.77 kB / 3.884 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/13.04, allocations: 0 / 3.884 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/13.04, allocations: 5.688 kB / 3.884 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/13.04, allocations: 0 / 3.884 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/13.04, allocations: 3.656 kB / 3.884 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/13.04, allocations: 0.7039 MB / 3.884 GB, free: 17.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/13.05, allocations: 0.6045 MB / 3.885 GB, free: 17.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005239/13.05, allocations: 0 / 3.885 GB, free: 17.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/13.05, allocations: 88.53 kB / 3.885 GB, free: 17.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/13.05, allocations: 33.33 kB / 3.885 GB, free: 17.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/13.05, allocations: 17.3 kB / 3.885 GB, free: 17.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003055/13.05, allocations: 1.429 MB / 3.886 GB, free: 16.84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.244e-06/13.05, allocations: 0 / 3.886 GB, free: 16.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00946/13.06, allocations: 1.757 MB / 3.888 GB, free: 15.3 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.01472/13.08, allocations: 3.267 MB / 3.891 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003498/13.08, allocations: 1.274 MB / 3.892 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/13.08, allocations: 0 / 3.892 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004024/13.08, allocations: 157.9 kB / 3.893 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004536/13.08, allocations: 469.2 kB / 3.893 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/13.09, allocations: 2.331 MB / 3.895 GB, free: 9.836 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/13.1, allocations: 1.358 MB / 3.897 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006336/13.1, allocations: 2.519 MB / 3.899 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/13.1, allocations: 0.676 MB / 3.9 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of SimCode: time 1.463e-06/13.1, allocations: 0 / 3.9 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6247/13.73, allocations: 61.49 MB / 3.96 GB, free: 95.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/13.73, allocations: 202.4 kB / 3.96 GB, free: 95.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.177/18.91, allocations: 3.281 kB / 3.96 GB, free: 95.59 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat