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 2.002/2.002, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.359e-05/2.373e-05, allocations: 4 kB / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 48.7 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.598/7.704, allocations: 2.497 GB / 2.805 GB, free: 99.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/7.704, allocations: 91.17 kB / 2.806 GB, free: 99.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.167/10.87, allocations: 0.5557 GB / 3.361 GB, free: 26.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/10.87, allocations: 1.203 kB / 3.361 GB, free: 26.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001665/10.87, allocations: 36.23 kB / 3.361 GB, free: 26.21 MB / 442.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.01489/10.89, allocations: 2.47 MB / 3.364 GB, free: 24.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/10.89, allocations: 11.5 kB / 3.364 GB, free: 24.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/10.9, allocations: 0.8169 MB / 3.364 GB, free: 24.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/10.9, allocations: 1.07 MB / 3.366 GB, free: 24.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/10.9, allocations: 43.34 kB / 3.366 GB, free: 24.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005561/10.9, allocations: 70.84 kB / 3.366 GB, free: 24.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0042/10.91, allocations: 1.37 MB / 3.367 GB, free: 23.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003822/10.91, allocations: 1.366 MB / 3.368 GB, free: 22.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.821e-05/10.91, allocations: 11.5 kB / 3.368 GB, free: 22.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/10.91, allocations: 3.5 kB / 3.368 GB, free: 22.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/10.91, allocations: 28.53 kB / 3.368 GB, free: 22.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.713/12.62, allocations: 231.1 MB / 3.594 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/12.63, allocations: 0.9093 MB / 3.595 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/12.63, allocations: 382.3 kB / 3.595 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1734/12.8, allocations: 48.05 MB / 3.642 GB, free: 82.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/12.8, allocations: 42.06 kB / 3.642 GB, free: 82.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001509/12.8, allocations: 126.5 kB / 3.642 GB, free: 82.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=82): time 8.526e-06/12.8, allocations: 0 / 3.642 GB, free: 82.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82): time 0.01101/12.81, allocations: 1.986 MB / 3.644 GB, free: 82.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/12.82, allocations: 187.5 kB / 3.644 GB, free: 81.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/12.82, allocations: 0.8256 MB / 3.645 GB, free: 81.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003894/12.82, allocations: 26.73 kB / 3.645 GB, free: 81.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007975/12.82, allocations: 0.6716 MB / 3.646 GB, free: 81.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005161/12.82, allocations: 284.9 kB / 3.646 GB, free: 81.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/12.82, allocations: 2.188 kB / 3.646 GB, free: 81.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001337/12.82, allocations: 363 kB / 3.647 GB, free: 81.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/12.82, allocations: 416.8 kB / 3.647 GB, free: 81.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/12.82, allocations: 0.8388 MB / 3.648 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006735/12.83, allocations: 0.9619 MB / 3.649 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-05/12.83, allocations: 5.672 kB / 3.649 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.01032/12.84, allocations: 1.944 MB / 3.651 GB, free: 80.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001281/12.84, allocations: 4.968 MB / 3.655 GB, free: 75.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.972e-05/12.84, allocations: 14.34 kB / 3.655 GB, free: 75.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006672/12.85, allocations: 0.6506 MB / 3.656 GB, free: 75.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003378/12.85, allocations: 437.3 kB / 3.657 GB, free: 75.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/12.85, allocations: 1.086 MB / 3.658 GB, free: 74.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/12.86, allocations: 219.8 kB / 3.658 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006433/12.86, allocations: 89.73 kB / 3.658 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/12.86, allocations: 10.83 kB / 3.658 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00821/12.87, allocations: 1.542 MB / 3.659 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.682e-05/12.87, allocations: 14.44 kB / 3.659 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/12.87, allocations: 87.73 kB / 3.66 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003606/12.87, allocations: 475.8 kB / 3.66 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/12.87, allocations: 1.705 MB / 3.662 GB, free: 73.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/12.88, allocations: 175.2 kB / 3.662 GB, free: 73.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005578/12.88, allocations: 86.95 kB / 3.662 GB, free: 73.2 MB / 0.5105 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.0005464/12.88, allocations: 154.1 kB / 3.662 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007321/12.89, allocations: 1.256 MB / 3.663 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005499/12.89, allocations: 131 kB / 3.663 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/12.9, allocations: 3.681 MB / 3.667 GB, free: 72.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-05/12.9, allocations: 37.67 kB / 3.667 GB, free: 72.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/12.9, allocations: 7.297 kB / 3.667 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.053e-05/12.9, allocations: 15.39 kB / 3.667 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003904/12.9, allocations: 1.755 MB / 3.669 GB, free: 72.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-05/12.9, allocations: 0 / 3.669 GB, free: 72.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/12.9, allocations: 169.9 kB / 3.669 GB, free: 72.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005626/12.91, allocations: 1.818 MB / 3.671 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002934/12.91, allocations: 19.69 kB / 3.671 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003492/12.91, allocations: 1.833 MB / 3.672 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/12.91, allocations: 0 / 3.672 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/12.92, allocations: 2.442 MB / 3.675 GB, free: 71.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002459/12.93, allocations: 0.5484 MB / 3.675 GB, free: 71.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/12.93, allocations: 2.969 kB / 3.675 GB, free: 71.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00347/12.93, allocations: 104.4 kB / 3.676 GB, free: 71.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005203/12.93, allocations: 78.27 kB / 3.676 GB, free: 71.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/12.93, allocations: 33.27 kB / 3.676 GB, free: 71.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003648/12.94, allocations: 1.04 MB / 3.677 GB, free: 70.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.552e-06/12.94, allocations: 0 / 3.677 GB, free: 70.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01498/12.95, allocations: 1.731 MB / 3.678 GB, free: 70.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse32.phase,$cse32.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse47.phase,$cse47.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.02874/12.98, allocations: 4.647 MB / 3.683 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009456/12.99, allocations: 2.136 MB / 3.685 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.917e-05/12.99, allocations: 3.594 kB / 3.685 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002953/12.99, allocations: 0.7831 MB / 3.686 GB, free: 69.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006531/13, allocations: 490.3 kB / 3.686 GB, free: 69.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/13.01, allocations: 3.071 MB / 3.689 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/13.01, allocations: 1.473 MB / 3.691 GB, free: 68.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006341/13.02, allocations: 2.142 MB / 3.693 GB, free: 67.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/13.02, allocations: 0.748 MB / 3.693 GB, free: 67.94 MB / 0.5105 GB Notification: Performance of SimCode: time 2.274e-06/13.02, allocations: 3.172 kB / 3.693 GB, free: 67.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5439/13.56, allocations: 66.97 MB / 3.759 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/13.56, allocations: 200.7 kB / 3.759 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.614/19.18, allocations: 2.062 kB / 3.759 GB, free: 104.2 MB / 0.5105 GB 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