Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.587/2.587, allocations: 235 MB / 247.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.592e-05, allocations: 0 / 305 MB, free: 5.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4553, allocations: 54.84 MB / 359.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.855/8.31, allocations: 2.608 GB / 2.959 GB, free: 112.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/8.311, allocations: 82.25 kB / 2.959 GB, free: 112.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.563/11.87, allocations: 0.5731 GB / 3.532 GB, free: 40.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.445e-06/11.87, allocations: 0 / 3.532 GB, free: 40.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001562/11.87, allocations: 40.8 kB / 3.532 GB, free: 40.45 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.01505/11.89, allocations: 2.548 MB / 3.535 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/11.89, allocations: 14.28 kB / 3.535 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006739/11.89, allocations: 162.7 kB / 3.535 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/11.9, allocations: 0.869 MB / 3.536 GB, free: 39.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003715/11.9, allocations: 1.079 MB / 3.537 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/11.91, allocations: 99.98 kB / 3.537 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004229/11.91, allocations: 120.4 kB / 3.537 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008027/11.91, allocations: 2.152 MB / 3.539 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/11.91, allocations: 6.406 kB / 3.539 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/11.91, allocations: 50.53 kB / 3.539 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/11.91, allocations: 30.16 kB / 3.539 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00805/11.92, allocations: 1.969 MB / 3.541 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/11.94, allocations: 8.873 MB / 3.55 GB, free: 33.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007296/11.95, allocations: 1.738 MB / 3.552 GB, free: 33.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/11.95, allocations: 0.4945 MB / 3.552 GB, free: 33.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2068/12.16, allocations: 49.45 MB / 3.6 GB, free: 20.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.724e-05/12.16, allocations: 45.56 kB / 3.6 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001426/12.16, allocations: 147.8 kB / 3.6 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=106): time 6.102e-06/12.16, allocations: 0 / 3.6 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106): time 0.01055/12.17, allocations: 2.382 MB / 3.603 GB, free: 20 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/12.17, allocations: 197 kB / 3.603 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/12.17, allocations: 0.775 MB / 3.604 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003486/12.17, allocations: 51.38 kB / 3.604 GB, free: 19.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/12.17, allocations: 0.6123 MB / 3.604 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004392/12.17, allocations: 360.1 kB / 3.605 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/12.17, allocations: 37.38 kB / 3.605 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002001/12.17, allocations: 357.4 kB / 3.605 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/12.17, allocations: 444.9 kB / 3.606 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/12.18, allocations: 0.8709 MB / 3.606 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/12.18, allocations: 0.5481 MB / 3.607 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/12.18, allocations: 3.219 kB / 3.607 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004555/12.18, allocations: 1.626 MB / 3.609 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002902/12.18, allocations: 4.968 MB / 3.613 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.615e-05/12.18, allocations: 13.5 kB / 3.613 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/12.2, allocations: 1.09 MB / 3.614 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/12.2, allocations: 441.8 kB / 3.615 GB, free: 28.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/12.2, allocations: 0.9215 MB / 3.616 GB, free: 28.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002929/12.2, allocations: 169.7 kB / 3.616 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/12.2, allocations: 93.3 kB / 3.616 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/12.2, allocations: 4.344 kB / 3.616 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004168/12.21, allocations: 1.406 MB / 3.617 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/12.21, allocations: 12.06 kB / 3.617 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/12.21, allocations: 96.12 kB / 3.618 GB, free: 28.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003321/12.21, allocations: 473.9 kB / 3.618 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/12.22, allocations: 1.763 MB / 3.62 GB, free: 26.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/12.22, allocations: 172.5 kB / 3.62 GB, free: 26.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/12.22, allocations: 83.91 kB / 3.62 GB, free: 26.77 MB / 0.5261 GB 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.0005868/12.22, allocations: 193.1 kB / 3.62 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/12.22, allocations: 133.5 kB / 3.62 GB, free: 26.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/12.23, allocations: 6.413 MB / 3.626 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001281/12.23, allocations: 83.7 kB / 3.627 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/12.23, allocations: 3.938 kB / 3.627 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-05/12.23, allocations: 13.92 kB / 3.627 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004838/12.24, allocations: 2.883 MB / 3.629 GB, free: 25.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-05/12.24, allocations: 0 / 3.629 GB, free: 25.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00192/12.24, allocations: 284 kB / 3.63 GB, free: 25.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01037/12.25, allocations: 2.26 MB / 3.632 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003362/12.25, allocations: 41.95 kB / 3.632 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002478/12.25, allocations: 1.595 MB / 3.633 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/12.25, allocations: 0 / 3.633 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005845/12.26, allocations: 3.415 MB / 3.637 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/12.26, allocations: 0.5915 MB / 3.637 GB, free: 24.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/12.26, allocations: 28.78 kB / 3.637 GB, free: 24.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/12.26, allocations: 134.3 kB / 3.638 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/12.26, allocations: 109.2 kB / 3.638 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/12.26, allocations: 48.94 kB / 3.638 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001476/12.26, allocations: 0.7509 MB / 3.638 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.52e-07/12.26, allocations: 0 / 3.638 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00912/12.27, allocations: 1.792 MB / 3.64 GB, free: 23.71 MB / 0.5261 GB 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.01715/12.29, allocations: 5.485 MB / 3.646 GB, free: 22.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006832/12.3, allocations: 2.776 MB / 3.648 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/12.3, allocations: 7.344 kB / 3.648 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002825/12.3, allocations: 1.502 MB / 3.65 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0056/12.3, allocations: 0.5894 MB / 3.65 GB, free: 22.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8886/13.19, allocations: 173 MB / 3.819 GB, free: 58.08 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/13.19, allocations: 1.707 MB / 3.821 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004859/13.2, allocations: 1.756 MB / 3.823 GB, free: 57.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001712/13.2, allocations: 0.9328 MB / 3.824 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/13.2, allocations: 0 / 3.824 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6707/13.87, allocations: 86.82 MB / 3.908 GB, free: 62.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/13.87, allocations: 252 kB / 3.909 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/20.93, allocations: 0 / 3.909 GB, free: 62.42 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat does not exist to compare? outputFormat=mat