Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.595/2.595, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.452e-05/5.464e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4539, allocations: 54.85 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.152/8.606, allocations: 2.608 GB / 2.959 GB, free: 113.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/8.607, allocations: 81.8 kB / 2.959 GB, free: 113.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376/11.98, allocations: 0.5731 GB / 3.532 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.775e-06/11.98, allocations: 1.594 kB / 3.532 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001716/11.98, allocations: 35.8 kB / 3.532 GB, free: 40.39 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.01527/12, allocations: 2.545 MB / 3.535 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/12, allocations: 13.62 kB / 3.535 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000643/12, allocations: 165.7 kB / 3.535 GB, free: 39.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/12.01, allocations: 0.8662 MB / 3.536 GB, free: 39.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003833/12.01, allocations: 1.082 MB / 3.537 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/12.01, allocations: 98.23 kB / 3.537 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004715/12.01, allocations: 114.9 kB / 3.537 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007807/12.02, allocations: 2.136 MB / 3.539 GB, free: 38.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.016e-05/12.02, allocations: 9.781 kB / 3.539 GB, free: 38.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003069/12.02, allocations: 50.19 kB / 3.539 GB, free: 38.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/12.02, allocations: 28.59 kB / 3.539 GB, free: 38.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007865/12.03, allocations: 1.942 MB / 3.541 GB, free: 38.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01882/12.05, allocations: 8.882 MB / 3.55 GB, free: 33.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007136/12.06, allocations: 1.724 MB / 3.551 GB, free: 33.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/12.06, allocations: 0.4975 MB / 3.552 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1769/12.23, allocations: 49.45 MB / 3.6 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/12.23, allocations: 49.83 kB / 3.6 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00142/12.24, allocations: 154 kB / 3.6 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=106): time 5.15e-06/12.24, allocations: 0 / 3.6 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106): time 0.01074/12.25, allocations: 2.379 MB / 3.603 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/12.25, allocations: 192.4 kB / 3.603 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/12.25, allocations: 0.7747 MB / 3.604 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003473/12.25, allocations: 47.61 kB / 3.604 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/12.25, allocations: 0.6086 MB / 3.604 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000392/12.25, allocations: 372.6 kB / 3.605 GB, free: 18.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/12.25, allocations: 30.09 kB / 3.605 GB, free: 18.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001818/12.25, allocations: 367.4 kB / 3.605 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/12.25, allocations: 441.9 kB / 3.606 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/12.25, allocations: 0.8643 MB / 3.606 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/12.25, allocations: 0.5509 MB / 3.607 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/12.25, allocations: 0 / 3.607 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004295/12.26, allocations: 1.535 MB / 3.608 GB, free: 17.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002678/12.26, allocations: 4.969 MB / 3.613 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-05/12.26, allocations: 13.5 kB / 3.613 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01207/12.27, allocations: 1.084 MB / 3.614 GB, free: 28.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/12.28, allocations: 440.5 kB / 3.615 GB, free: 28.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/12.28, allocations: 0.9238 MB / 3.616 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/12.28, allocations: 174 kB / 3.616 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003356/12.28, allocations: 86.84 kB / 3.616 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/12.28, allocations: 3.719 kB / 3.616 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004191/12.29, allocations: 1.373 MB / 3.617 GB, free: 28.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/12.29, allocations: 14 kB / 3.617 GB, free: 28.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004645/12.29, allocations: 87.19 kB / 3.617 GB, free: 28.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/12.29, allocations: 472.1 kB / 3.618 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/12.29, allocations: 1.746 MB / 3.619 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/12.3, allocations: 172.3 kB / 3.62 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002588/12.3, allocations: 93.08 kB / 3.62 GB, free: 26.69 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.00057/12.3, allocations: 194.5 kB / 3.62 GB, free: 26.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004497/12.3, allocations: 133 kB / 3.62 GB, free: 26.51 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/12.31, allocations: 6.41 MB / 3.626 GB, free: 25.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/12.31, allocations: 83.02 kB / 3.626 GB, free: 25.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/12.31, allocations: 0 / 3.626 GB, free: 25.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.915e-05/12.31, allocations: 11.02 kB / 3.626 GB, free: 25.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/12.31, allocations: 2.887 MB / 3.629 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/12.31, allocations: 0 / 3.629 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/12.32, allocations: 290.7 kB / 3.629 GB, free: 25.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/12.33, allocations: 2.26 MB / 3.632 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003342/12.33, allocations: 42.38 kB / 3.632 GB, free: 25.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/12.33, allocations: 1.589 MB / 3.633 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/12.33, allocations: 0 / 3.633 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006004/12.34, allocations: 3.413 MB / 3.637 GB, free: 24.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/12.34, allocations: 0.5904 MB / 3.637 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/12.34, allocations: 25.25 kB / 3.637 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/12.34, allocations: 141.1 kB / 3.637 GB, free: 24.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/12.34, allocations: 109.1 kB / 3.637 GB, free: 24.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/12.34, allocations: 49.81 kB / 3.638 GB, free: 24.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001446/12.34, allocations: 0.7504 MB / 3.638 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.72e-07/12.34, allocations: 0 / 3.638 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009101/12.35, allocations: 1.798 MB / 3.64 GB, free: 23.66 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.01682/12.37, allocations: 5.496 MB / 3.645 GB, free: 22.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006761/12.37, allocations: 2.686 MB / 3.648 GB, free: 22.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/12.37, allocations: 3.469 kB / 3.648 GB, free: 22.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002758/12.38, allocations: 1.501 MB / 3.649 GB, free: 22.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005592/12.38, allocations: 0.5869 MB / 3.65 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9172/13.3, allocations: 173 MB / 3.819 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/13.3, allocations: 1.711 MB / 3.821 GB, free: 56.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/13.3, allocations: 0.942 MB / 3.822 GB, free: 56.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.413e-06/13.3, allocations: 0 / 3.822 GB, free: 56.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.148/17.45, allocations: 64.39 MB / 3.884 GB, free: 10.24 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat does not exist to compare? outputFormat=mat