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.396/2.396, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.228e-05, allocations: 8 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4268, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.914/8.341, allocations: 2.608 GB / 2.959 GB, free: 113.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/8.341, allocations: 79.58 kB / 2.959 GB, free: 113.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.49/11.83, allocations: 0.5731 GB / 3.532 GB, free: 40.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.994e-06/11.83, allocations: 0 / 3.532 GB, free: 40.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001673/11.83, allocations: 42.39 kB / 3.532 GB, free: 40.62 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.01515/11.85, allocations: 2.544 MB / 3.535 GB, free: 39.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/11.85, allocations: 12.03 kB / 3.535 GB, free: 39.61 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006368/11.85, allocations: 169 kB / 3.535 GB, free: 39.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/11.86, allocations: 0.8681 MB / 3.536 GB, free: 39.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00383/11.86, allocations: 1.075 MB / 3.537 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/11.86, allocations: 95.45 kB / 3.537 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006452/11.86, allocations: 115.6 kB / 3.537 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008037/11.87, allocations: 2.141 MB / 3.539 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/11.87, allocations: 5.406 kB / 3.539 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/11.87, allocations: 53.78 kB / 3.539 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/11.87, allocations: 27.62 kB / 3.539 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009034/11.88, allocations: 1.945 MB / 3.541 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01978/11.9, allocations: 8.884 MB / 3.55 GB, free: 33.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007242/11.91, allocations: 1.72 MB / 3.551 GB, free: 33.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/11.91, allocations: 0.4935 MB / 3.552 GB, free: 33.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1786/12.09, allocations: 49.45 MB / 3.6 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.977e-05/12.09, allocations: 60.97 kB / 3.6 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001439/12.09, allocations: 142.4 kB / 3.6 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=106): time 6.201e-06/12.09, allocations: 0 / 3.6 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106): time 0.01083/12.1, allocations: 2.376 MB / 3.603 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/12.1, allocations: 192.2 kB / 3.603 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/12.1, allocations: 0.7791 MB / 3.604 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004007/12.1, allocations: 46.64 kB / 3.604 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005774/12.1, allocations: 0.6098 MB / 3.604 GB, free: 19.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004878/12.1, allocations: 368 kB / 3.605 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/12.1, allocations: 30.44 kB / 3.605 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001946/12.1, allocations: 363.5 kB / 3.605 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/12.1, allocations: 441.1 kB / 3.606 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/12.11, allocations: 0.8589 MB / 3.606 GB, free: 18.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/12.11, allocations: 0.5559 MB / 3.607 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/12.11, allocations: 3.938 kB / 3.607 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005035/12.11, allocations: 1.587 MB / 3.608 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002654/12.12, allocations: 4.97 MB / 3.613 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.957e-05/12.12, allocations: 12.69 kB / 3.613 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01238/12.13, allocations: 1.093 MB / 3.614 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00339/12.13, allocations: 436 kB / 3.615 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/12.13, allocations: 0.9219 MB / 3.616 GB, free: 28.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/12.14, allocations: 175.9 kB / 3.616 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004475/12.14, allocations: 88.34 kB / 3.616 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/12.14, allocations: 7.844 kB / 3.616 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004173/12.14, allocations: 1.368 MB / 3.617 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/12.14, allocations: 14.88 kB / 3.617 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/12.14, allocations: 95.03 kB / 3.617 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/12.15, allocations: 474.3 kB / 3.618 GB, free: 28.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/12.15, allocations: 1.758 MB / 3.62 GB, free: 26.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/12.15, allocations: 166.5 kB / 3.62 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/12.15, allocations: 102.9 kB / 3.62 GB, free: 26.95 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.0005558/12.15, allocations: 193.9 kB / 3.62 GB, free: 26.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/12.15, allocations: 126.4 kB / 3.62 GB, free: 26.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/12.16, allocations: 6.409 MB / 3.626 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001096/12.16, allocations: 91.38 kB / 3.626 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/12.16, allocations: 0 / 3.626 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-05/12.16, allocations: 5.438 kB / 3.626 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/12.17, allocations: 2.884 MB / 3.629 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/12.17, allocations: 3.562 kB / 3.629 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/12.17, allocations: 283.1 kB / 3.63 GB, free: 25.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01072/12.18, allocations: 2.263 MB / 3.632 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000355/12.18, allocations: 42.83 kB / 3.632 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/12.19, allocations: 1.59 MB / 3.633 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/12.19, allocations: 2.438 kB / 3.633 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006442/12.19, allocations: 3.413 MB / 3.637 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/12.19, allocations: 0.5926 MB / 3.637 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005159/12.19, allocations: 29.81 kB / 3.637 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/12.2, allocations: 134.4 kB / 3.637 GB, free: 24.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003527/12.2, allocations: 109.1 kB / 3.638 GB, free: 24.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/12.2, allocations: 46.03 kB / 3.638 GB, free: 24.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001592/12.2, allocations: 0.7497 MB / 3.638 GB, free: 24.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.92e-07/12.2, allocations: 4 kB / 3.638 GB, free: 24.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01049/12.21, allocations: 1.793 MB / 3.64 GB, free: 23.91 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.01841/12.23, allocations: 5.499 MB / 3.645 GB, free: 22.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007318/12.24, allocations: 2.722 MB / 3.648 GB, free: 22.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/12.24, allocations: 3.781 kB / 3.648 GB, free: 22.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00325/12.24, allocations: 1.491 MB / 3.65 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005874/12.24, allocations: 0.5891 MB / 3.65 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9308/13.18, allocations: 173 MB / 3.819 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/13.18, allocations: 1.707 MB / 3.821 GB, free: 56.74 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004679/13.18, allocations: 1.748 MB / 3.822 GB, free: 56.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/13.18, allocations: 0.9346 MB / 3.823 GB, free: 56.67 MB / 0.5261 GB Notification: Performance of SimCode: time 1.714e-06/13.18, allocations: 0 / 3.823 GB, free: 56.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8353/14.02, allocations: 87 MB / 3.908 GB, free: 63.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003314/14.02, allocations: 250.7 kB / 3.909 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.673/20.69, allocations: 0 / 3.909 GB, free: 62.84 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