Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.984/1.984, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.237e-05/4.249e-05, allocations: 7.984 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.77/7.879, allocations: 2.497 GB / 2.811 GB, free: 64.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/7.88, allocations: 80.7 kB / 2.811 GB, free: 64.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.011/10.89, allocations: 0.561 GB / 3.372 GB, free: 7.254 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.811e-06/10.89, allocations: 0 / 3.372 GB, free: 7.254 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002212/10.89, allocations: 42.83 kB / 3.372 GB, free: 7.215 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.01742/10.91, allocations: 2.461 MB / 3.375 GB, free: 4.719 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/10.91, allocations: 8.031 kB / 3.375 GB, free: 4.711 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006193/10.91, allocations: 181 kB / 3.375 GB, free: 4.523 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/10.92, allocations: 0.8121 MB / 3.376 GB, free: 3.715 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/10.92, allocations: 1.073 MB / 3.377 GB, free: 2.625 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/10.92, allocations: 98.23 kB / 3.377 GB, free: 2.527 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003824/10.92, allocations: 120 kB / 3.377 GB, free: 2.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008231/10.93, allocations: 2.144 MB / 3.379 GB, free: 132 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/10.93, allocations: 0 / 3.379 GB, free: 132 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002787/10.93, allocations: 56 kB / 3.379 GB, free: 76 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/10.93, allocations: 28 kB / 3.379 GB, free: 48 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3755/11.31, allocations: 1.939 MB / 3.381 GB, free: 36.11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02081/11.33, allocations: 8.878 MB / 3.39 GB, free: 30.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007648/11.34, allocations: 1.719 MB / 3.391 GB, free: 30.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/11.34, allocations: 0.4923 MB / 3.392 GB, free: 30.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1994/11.54, allocations: 49.44 MB / 3.44 GB, free: 18.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/11.54, allocations: 45.31 kB / 3.44 GB, free: 18.14 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001481/11.54, allocations: 148.4 kB / 3.44 GB, free: 18.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=106): time 4.348e-06/11.54, allocations: 0 / 3.44 GB, free: 18.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=106): time 0.01079/11.55, allocations: 2.383 MB / 3.443 GB, free: 17.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/11.55, allocations: 192.6 kB / 3.443 GB, free: 17.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/11.55, allocations: 0.7771 MB / 3.444 GB, free: 17.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003868/11.55, allocations: 47.42 kB / 3.444 GB, free: 17.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006085/11.55, allocations: 0.6099 MB / 3.444 GB, free: 17.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004702/11.55, allocations: 363.7 kB / 3.445 GB, free: 17.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/11.55, allocations: 29.56 kB / 3.445 GB, free: 17.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002026/11.55, allocations: 364.5 kB / 3.445 GB, free: 16.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/11.56, allocations: 442.5 kB / 3.445 GB, free: 16.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/11.56, allocations: 0.8624 MB / 3.446 GB, free: 16.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/11.56, allocations: 0.5468 MB / 3.447 GB, free: 16.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/11.56, allocations: 3.781 kB / 3.447 GB, free: 16.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004429/11.56, allocations: 1.588 MB / 3.448 GB, free: 16.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002509/11.57, allocations: 4.971 MB / 3.453 GB, free: 26.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-05/11.57, allocations: 14.19 kB / 3.453 GB, free: 26.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01191/11.58, allocations: 1.086 MB / 3.454 GB, free: 26.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003324/11.58, allocations: 441.8 kB / 3.455 GB, free: 26.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/11.58, allocations: 0.9304 MB / 3.456 GB, free: 26.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/11.59, allocations: 174.8 kB / 3.456 GB, free: 26.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003948/11.59, allocations: 87.92 kB / 3.456 GB, free: 26.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/11.59, allocations: 3.094 kB / 3.456 GB, free: 26.35 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004446/11.59, allocations: 1.371 MB / 3.457 GB, free: 26.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/11.59, allocations: 15.19 kB / 3.457 GB, free: 26.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/11.59, allocations: 94.16 kB / 3.457 GB, free: 26.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003545/11.59, allocations: 477.6 kB / 3.458 GB, free: 26.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/11.6, allocations: 1.753 MB / 3.459 GB, free: 24.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/11.6, allocations: 171.7 kB / 3.46 GB, free: 24.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003441/11.6, allocations: 88.06 kB / 3.46 GB, free: 24.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 15 (SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase,V5.state_b.phase,V5.state_a.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 (163): * Single equations (assignments): 162 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005775/11.6, allocations: 203.2 kB / 3.46 GB, free: 24.78 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004608/11.6, allocations: 128.5 kB / 3.46 GB, free: 24.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/11.61, allocations: 6.399 MB / 3.466 GB, free: 24.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/11.61, allocations: 90.55 kB / 3.466 GB, free: 24.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/11.61, allocations: 4 kB / 3.466 GB, free: 24.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.256e-05/11.61, allocations: 11.11 kB / 3.466 GB, free: 24.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005107/11.62, allocations: 2.879 MB / 3.469 GB, free: 23.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-05/11.62, allocations: 3.891 kB / 3.469 GB, free: 23.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/11.62, allocations: 279.9 kB / 3.469 GB, free: 23.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01054/11.63, allocations: 2.264 MB / 3.472 GB, free: 23.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003385/11.63, allocations: 37.33 kB / 3.472 GB, free: 23.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/11.63, allocations: 1.6 MB / 3.473 GB, free: 23.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/11.63, allocations: 0 / 3.473 GB, free: 23.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005998/11.64, allocations: 3.411 MB / 3.477 GB, free: 22.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/11.64, allocations: 0.5956 MB / 3.477 GB, free: 22.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/11.64, allocations: 25.28 kB / 3.477 GB, free: 22.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/11.64, allocations: 142.3 kB / 3.477 GB, free: 22.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/11.64, allocations: 108.9 kB / 3.477 GB, free: 22.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/11.64, allocations: 47.47 kB / 3.478 GB, free: 22.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001498/11.65, allocations: 0.751 MB / 3.478 GB, free: 22.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.71e-07/11.65, allocations: 0 / 3.478 GB, free: 22.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009372/11.66, allocations: 1.787 MB / 3.48 GB, free: 22.06 MB / 490.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: 51 ($cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse46.phase,$cse46.region,$cse47.phase,$cse47.region,$cse52.phase,$cse52.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.01758/11.67, allocations: 5.484 MB / 3.485 GB, free: 20.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007067/11.68, allocations: 2.72 MB / 3.488 GB, free: 20.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/11.68, allocations: 1.969 kB / 3.488 GB, free: 20.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003023/11.68, allocations: 1.501 MB / 3.489 GB, free: 20.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/11.69, allocations: 0.5911 MB / 3.49 GB, free: 20.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.87/12.56, allocations: 170.6 MB / 3.657 GB, free: 56.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/12.56, allocations: 1.705 MB / 3.658 GB, free: 55.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00526/12.57, allocations: 1.755 MB / 3.66 GB, free: 55.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/12.57, allocations: 0.9301 MB / 3.661 GB, free: 55.73 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/12.57, allocations: 0 / 3.661 GB, free: 55.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5854/13.15, allocations: 86.84 MB / 3.746 GB, free: 55.86 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002915/13.15, allocations: 248.9 kB / 3.746 GB, free: 55.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/19.98, allocations: 0 / 3.746 GB, free: 55.53 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat does not exist to compare? outputFormat=mat