Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.122/2.122, allocations: 209.3 MB / 221.5 MB, free: 1.949 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.755e-05/4.745e-05, allocations: 7.375 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.857/7.973, allocations: 2.497 GB / 2.811 GB, free: 65.06 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/7.974, allocations: 81.95 kB / 2.811 GB, free: 65.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496/11.47, allocations: 0.6181 GB / 3.429 GB, free: 34.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.623e-06/11.47, allocations: 0 / 3.429 GB, free: 34.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001271/11.47, allocations: 40.83 kB / 3.429 GB, free: 34.98 MB / 458.7 MB 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.01133/11.48, allocations: 2.36 MB / 3.432 GB, free: 33.92 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/11.48, allocations: 10 kB / 3.432 GB, free: 33.92 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005176/11.48, allocations: 181.5 kB / 3.432 GB, free: 33.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/11.49, allocations: 0.9023 MB / 3.433 GB, free: 33.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/11.5, allocations: 1.052 MB / 3.434 GB, free: 33.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/11.5, allocations: 105.6 kB / 3.434 GB, free: 33.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/11.5, allocations: 120.1 kB / 3.434 GB, free: 33.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0075/11.5, allocations: 2.226 MB / 3.436 GB, free: 33.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/11.5, allocations: 8.969 kB / 3.436 GB, free: 33.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/11.5, allocations: 57.66 kB / 3.436 GB, free: 33.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/11.5, allocations: 36.36 kB / 3.436 GB, free: 33.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007344/11.51, allocations: 1.942 MB / 3.438 GB, free: 33.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/11.53, allocations: 10.08 MB / 3.448 GB, free: 26.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005585/11.53, allocations: 1.462 MB / 3.45 GB, free: 26.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008754/11.53, allocations: 377.2 kB / 3.45 GB, free: 26.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0648/11.6, allocations: 17.11 MB / 3.467 GB, free: 17.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/11.6, allocations: 45.11 kB / 3.467 GB, free: 17.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 4.849e-06/11.6, allocations: 0 / 3.467 GB, free: 17.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=80): time 0.009426/11.61, allocations: 2.221 MB / 3.469 GB, free: 17.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/11.61, allocations: 268.5 kB / 3.469 GB, free: 16.81 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/11.61, allocations: 0.8227 MB / 3.47 GB, free: 16.63 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/11.61, allocations: 41.08 kB / 3.47 GB, free: 16.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/11.61, allocations: 0.6813 MB / 3.471 GB, free: 16.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/11.61, allocations: 275.8 kB / 3.471 GB, free: 16.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/11.61, allocations: 21.81 kB / 3.471 GB, free: 16.08 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/11.61, allocations: 360.7 kB / 3.471 GB, free: 15.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/11.61, allocations: 339.3 kB / 3.472 GB, free: 15.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/11.61, allocations: 0.9115 MB / 3.472 GB, free: 15.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/11.61, allocations: 462.8 kB / 3.473 GB, free: 14.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/11.61, allocations: 7.625 kB / 3.473 GB, free: 14.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.003304/11.62, allocations: 1.284 MB / 3.474 GB, free: 14.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002876/11.62, allocations: 7.321 MB / 3.481 GB, free: 23.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.666e-05/11.62, allocations: 19.84 kB / 3.481 GB, free: 23.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.491e-05/11.62, allocations: 30.53 kB / 3.481 GB, free: 23.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/11.62, allocations: 399.5 kB / 3.482 GB, free: 23.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.832e-05/11.62, allocations: 36.88 kB / 3.482 GB, free: 23.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/11.63, allocations: 265.7 kB / 3.482 GB, free: 23.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/11.63, allocations: 83.41 kB / 3.482 GB, free: 23.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/11.63, allocations: 10.56 kB / 3.482 GB, free: 23.09 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002851/11.63, allocations: 1.125 MB / 3.483 GB, free: 23.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/11.63, allocations: 19.81 kB / 3.483 GB, free: 23.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.991e-05/11.63, allocations: 27.44 kB / 3.483 GB, free: 23.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/11.63, allocations: 391.5 kB / 3.484 GB, free: 23.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.962e-05/11.63, allocations: 38.5 kB / 3.484 GB, free: 23.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/11.63, allocations: 220.8 kB / 3.484 GB, free: 23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/11.63, allocations: 83.91 kB / 3.484 GB, free: 23 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.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.0004794/11.63, allocations: 201.6 kB / 3.484 GB, free: 22.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/11.63, allocations: 123.2 kB / 3.484 GB, free: 22.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008115/11.64, allocations: 5.753 MB / 3.49 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.465e-05/11.64, allocations: 81.73 kB / 3.49 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/11.64, allocations: 3.562 kB / 3.49 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/11.64, allocations: 6.891 kB / 3.49 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004229/11.65, allocations: 2.77 MB / 3.493 GB, free: 21.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/11.65, allocations: 4 kB / 3.493 GB, free: 21.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/11.65, allocations: 254 kB / 3.493 GB, free: 21.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/11.65, allocations: 6.578 kB / 3.493 GB, free: 21.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.976e-05/11.65, allocations: 30.39 kB / 3.493 GB, free: 21.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/11.65, allocations: 7.75 kB / 3.493 GB, free: 21.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/11.65, allocations: 3.938 kB / 3.493 GB, free: 21.76 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004108/11.65, allocations: 2.623 MB / 3.495 GB, free: 21.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/11.65, allocations: 0.5188 MB / 3.496 GB, free: 21.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/11.65, allocations: 23.19 kB / 3.496 GB, free: 21.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/11.66, allocations: 132.9 kB / 3.496 GB, free: 21.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/11.66, allocations: 83.11 kB / 3.496 GB, free: 21.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/11.66, allocations: 32.23 kB / 3.496 GB, free: 21.01 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001424/11.66, allocations: 0.7111 MB / 3.497 GB, free: 20.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/11.66, allocations: 0 / 3.497 GB, free: 20.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008586/11.67, allocations: 1.727 MB / 3.499 GB, free: 20.66 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.01474/11.68, allocations: 5.052 MB / 3.504 GB, free: 19.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004813/11.69, allocations: 2.205 MB / 3.506 GB, free: 19.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/11.69, allocations: 3.062 kB / 3.506 GB, free: 19.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/11.69, allocations: 1.323 MB / 3.507 GB, free: 19.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005322/11.69, allocations: 0.5832 MB / 3.508 GB, free: 19.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7173/12.41, allocations: 123.8 MB / 3.628 GB, free: 41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/12.41, allocations: 1.658 MB / 3.63 GB, free: 40.22 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005129/12.42, allocations: 2.007 MB / 3.632 GB, free: 40.14 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/12.42, allocations: 0.8635 MB / 3.633 GB, free: 40.13 MB / 474.7 MB Notification: Performance of SimCode: time 1.623e-06/12.42, allocations: 0 / 3.633 GB, free: 40.13 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1876/12.61, allocations: 83.08 MB / 3.714 GB, free: 14.68 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003243/12.61, allocations: 220.5 kB / 3.714 GB, free: 14.45 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.076/18.68, allocations: 0 / 3.714 GB, free: 14.45 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat