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.932/1.932, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.733e-05/3.741e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1025, allocations: 48.69 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.832/7.935, allocations: 2.497 GB / 2.811 GB, free: 66.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/7.935, allocations: 84.14 kB / 2.811 GB, free: 66.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975/10.91, allocations: 0.561 GB / 3.372 GB, free: 9.289 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.344e-06/10.91, allocations: 0 / 3.372 GB, free: 9.289 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001963/10.91, allocations: 34.66 kB / 3.372 GB, free: 9.258 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.01518/10.93, allocations: 2.461 MB / 3.375 GB, free: 6.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/10.93, allocations: 8.031 kB / 3.375 GB, free: 6.762 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007236/10.93, allocations: 173 kB / 3.375 GB, free: 6.582 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/10.94, allocations: 0.8216 MB / 3.376 GB, free: 5.766 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004103/10.94, allocations: 1.063 MB / 3.377 GB, free: 4.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/10.94, allocations: 102.2 kB / 3.377 GB, free: 4.578 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003889/10.94, allocations: 116 kB / 3.377 GB, free: 4.465 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008297/10.95, allocations: 2.16 MB / 3.379 GB, free: 2.164 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.221e-05/10.95, allocations: 11.88 kB / 3.379 GB, free: 2.152 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002756/10.95, allocations: 55.94 kB / 3.379 GB, free: 2.098 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/10.95, allocations: 28 kB / 3.379 GB, free: 2.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008128/10.96, allocations: 1.971 MB / 3.381 GB, free: 104 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3815/11.34, allocations: 8.868 MB / 3.39 GB, free: 32.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007733/11.35, allocations: 1.739 MB / 3.391 GB, free: 31.97 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/11.35, allocations: 0.4905 MB / 3.392 GB, free: 31.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1722/11.52, allocations: 49.44 MB / 3.44 GB, free: 19.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/11.52, allocations: 44.69 kB / 3.44 GB, free: 19.18 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001459/11.52, allocations: 148.1 kB / 3.44 GB, free: 19.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=106): time 3.937e-06/11.52, allocations: 1.969 kB / 3.44 GB, free: 19.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=106): time 0.01523/11.54, allocations: 2.381 MB / 3.443 GB, free: 19 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/11.54, allocations: 195 kB / 3.443 GB, free: 18.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/11.54, allocations: 0.7687 MB / 3.444 GB, free: 18.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004055/11.54, allocations: 54.17 kB / 3.444 GB, free: 18.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007705/11.54, allocations: 0.6087 MB / 3.444 GB, free: 18.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005889/11.54, allocations: 360.7 kB / 3.445 GB, free: 18.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/11.54, allocations: 29.72 kB / 3.445 GB, free: 18.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002263/11.54, allocations: 366.3 kB / 3.445 GB, free: 17.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/11.54, allocations: 447.3 kB / 3.445 GB, free: 17.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/11.55, allocations: 0.8691 MB / 3.446 GB, free: 17.35 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/11.55, allocations: 0.549 MB / 3.447 GB, free: 17.32 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/11.55, allocations: 3.812 kB / 3.447 GB, free: 17.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006525/11.56, allocations: 1.625 MB / 3.448 GB, free: 17.19 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003013/11.56, allocations: 4.969 MB / 3.453 GB, free: 27.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-05/11.56, allocations: 10.16 kB / 3.453 GB, free: 27.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/11.57, allocations: 1.085 MB / 3.454 GB, free: 27.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004252/11.58, allocations: 448 kB / 3.455 GB, free: 27.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/11.58, allocations: 0.9258 MB / 3.456 GB, free: 27.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/11.59, allocations: 174.3 kB / 3.456 GB, free: 27.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/11.59, allocations: 89.66 kB / 3.456 GB, free: 27.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/11.59, allocations: 5.031 kB / 3.456 GB, free: 27.38 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006046/11.59, allocations: 1.394 MB / 3.457 GB, free: 27.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/11.59, allocations: 23.17 kB / 3.457 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007253/11.59, allocations: 96.38 kB / 3.457 GB, free: 27.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00452/11.6, allocations: 475.1 kB / 3.458 GB, free: 27.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/11.6, allocations: 1.76 MB / 3.46 GB, free: 25.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/11.6, allocations: 167.6 kB / 3.46 GB, free: 25.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/11.61, allocations: 90.88 kB / 3.46 GB, free: 25.92 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.0006305/11.61, allocations: 203.4 kB / 3.46 GB, free: 25.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/11.61, allocations: 123.6 kB / 3.46 GB, free: 25.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/11.62, allocations: 6.41 MB / 3.466 GB, free: 25.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000107/11.62, allocations: 91.09 kB / 3.466 GB, free: 25.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/11.62, allocations: 0 / 3.466 GB, free: 25.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/11.62, allocations: 11.22 kB / 3.466 GB, free: 25.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00545/11.62, allocations: 2.881 MB / 3.469 GB, free: 24.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/11.62, allocations: 0 / 3.469 GB, free: 24.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/11.62, allocations: 286.3 kB / 3.47 GB, free: 24.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01063/11.64, allocations: 2.26 MB / 3.472 GB, free: 24.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003753/11.64, allocations: 37.94 kB / 3.472 GB, free: 24.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002576/11.64, allocations: 1.597 MB / 3.473 GB, free: 24.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/11.64, allocations: 0 / 3.473 GB, free: 24.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006105/11.64, allocations: 3.41 MB / 3.477 GB, free: 23.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/11.65, allocations: 0.5955 MB / 3.477 GB, free: 23.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004094/11.65, allocations: 33.8 kB / 3.477 GB, free: 23.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002058/11.65, allocations: 140.4 kB / 3.477 GB, free: 23.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004099/11.65, allocations: 103.5 kB / 3.478 GB, free: 23.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/11.65, allocations: 51.22 kB / 3.478 GB, free: 23.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001722/11.65, allocations: 0.7473 MB / 3.478 GB, free: 23.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.032e-06/11.65, allocations: 0 / 3.478 GB, free: 23.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009459/11.66, allocations: 1.788 MB / 3.48 GB, free: 23.1 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.01755/11.68, allocations: 5.472 MB / 3.485 GB, free: 21.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007158/11.69, allocations: 2.775 MB / 3.488 GB, free: 21.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/11.69, allocations: 0 / 3.488 GB, free: 21.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003185/11.69, allocations: 1.509 MB / 3.49 GB, free: 21.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005904/11.69, allocations: 0.5925 MB / 3.49 GB, free: 21.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9116/12.61, allocations: 170.2 MB / 3.656 GB, free: 58.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/12.61, allocations: 1.706 MB / 3.658 GB, free: 57.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005381/12.61, allocations: 1.751 MB / 3.66 GB, free: 57.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/12.62, allocations: 0.9305 MB / 3.661 GB, free: 57.47 MB / 490.7 MB Notification: Performance of SimCode: time 1.954e-06/12.62, allocations: 0 / 3.661 GB, free: 57.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5992/13.21, allocations: 86.65 MB / 3.745 GB, free: 55.62 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/13.21, allocations: 250.7 kB / 3.746 GB, free: 55.29 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/20.05, allocations: 0 / 3.746 GB, free: 55.29 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