Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.715/2.715, allocations: 270 MB / 283.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.544e-05, allocations: 4 kB / 348.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4137, allocations: 61.88 MB / 410.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.955/9.369, allocations: 2.777 GB / 3.178 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/9.369, allocations: 89.02 kB / 3.178 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.528/11.9, allocations: 0.5072 GB / 3.685 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/11.9, allocations: 0 / 3.685 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.591e-05/11.9, allocations: 30.88 kB / 3.685 GB, free: 20.11 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.009307/11.91, allocations: 2.056 MB / 3.687 GB, free: 18.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/11.91, allocations: 10.84 kB / 3.687 GB, free: 18.03 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000446/11.91, allocations: 143.5 kB / 3.687 GB, free: 17.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008454/11.92, allocations: 0.7246 MB / 3.688 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/11.92, allocations: 0.7978 MB / 3.689 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/11.92, allocations: 78 kB / 3.689 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/11.92, allocations: 91.88 kB / 3.689 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005728/11.92, allocations: 1.705 MB / 3.691 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/11.92, allocations: 7.938 kB / 3.691 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/11.93, allocations: 43.06 kB / 3.691 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/11.93, allocations: 24 kB / 3.691 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0055/11.93, allocations: 1.468 MB / 3.692 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/11.95, allocations: 7.556 MB / 3.7 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004782/11.95, allocations: 1.174 MB / 3.701 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000886/11.95, allocations: 342.5 kB / 3.701 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5233/12.47, allocations: 24.25 MB / 3.725 GB, free: 55.46 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/12.47, allocations: 43.12 kB / 3.725 GB, free: 55.42 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=67): time 4.218e-06/12.47, allocations: 0 / 3.725 GB, free: 55.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67): time 0.009949/12.48, allocations: 1.775 MB / 3.727 GB, free: 55.38 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/12.48, allocations: 222.8 kB / 3.727 GB, free: 55.13 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/12.49, allocations: 0.72 MB / 3.727 GB, free: 54.99 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002104/12.49, allocations: 39.48 kB / 3.728 GB, free: 54.96 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/12.49, allocations: 480.5 kB / 3.728 GB, free: 54.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/12.49, allocations: 230.2 kB / 3.728 GB, free: 54.68 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-05/12.49, allocations: 17.66 kB / 3.728 GB, free: 54.68 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001497/12.49, allocations: 340.4 kB / 3.729 GB, free: 54.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007893/12.49, allocations: 271.7 kB / 3.729 GB, free: 54.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009722/12.49, allocations: 0.5445 MB / 3.729 GB, free: 54.03 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009067/12.49, allocations: 330 kB / 3.73 GB, free: 54.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/12.49, allocations: 6.266 kB / 3.73 GB, free: 54.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002619/12.49, allocations: 0.9087 MB / 3.731 GB, free: 53.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007129/12.49, allocations: 3.231 MB / 3.734 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/12.49, allocations: 8.531 kB / 3.734 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.146e-05/12.49, allocations: 12.75 kB / 3.734 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/12.5, allocations: 276.1 kB / 3.734 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.853e-05/12.5, allocations: 17.94 kB / 3.734 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/12.5, allocations: 191.2 kB / 3.734 GB, free: 50.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/12.5, allocations: 53.55 kB / 3.734 GB, free: 50.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/12.5, allocations: 6.125 kB / 3.734 GB, free: 50.54 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002173/12.5, allocations: 0.779 MB / 3.735 GB, free: 50.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/12.5, allocations: 9.062 kB / 3.735 GB, free: 50.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/12.5, allocations: 16 kB / 3.735 GB, free: 50.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/12.5, allocations: 271.7 kB / 3.735 GB, free: 50.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/12.5, allocations: 15.44 kB / 3.735 GB, free: 50.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/12.5, allocations: 177.6 kB / 3.735 GB, free: 50.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/12.5, allocations: 47.27 kB / 3.735 GB, free: 50.49 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.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 (109): * Single equations (assignments): 109 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003794/12.5, allocations: 164.9 kB / 3.736 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/12.51, allocations: 109.6 kB / 3.736 GB, free: 50.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006873/12.51, allocations: 4.879 MB / 3.741 GB, free: 49.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.385e-05/12.51, allocations: 65.23 kB / 3.741 GB, free: 49.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/12.51, allocations: 1.219 kB / 3.741 GB, free: 49.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/12.51, allocations: 7.891 kB / 3.741 GB, free: 49.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003792/12.52, allocations: 2.495 MB / 3.743 GB, free: 49.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/12.52, allocations: 0 / 3.743 GB, free: 49.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/12.52, allocations: 236 kB / 3.743 GB, free: 49.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/12.52, allocations: 4.125 kB / 3.743 GB, free: 49.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.151e-05/12.52, allocations: 24.19 kB / 3.743 GB, free: 49.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/12.52, allocations: 4.547 kB / 3.743 GB, free: 49.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/12.52, allocations: 0 / 3.743 GB, free: 49.44 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/12.52, allocations: 2.132 MB / 3.745 GB, free: 49.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/12.52, allocations: 0.6942 MB / 3.746 GB, free: 48.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003531/12.52, allocations: 16.91 kB / 3.746 GB, free: 48.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/12.52, allocations: 116.4 kB / 3.746 GB, free: 48.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/12.52, allocations: 86.23 kB / 3.746 GB, free: 48.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.875e-05/12.52, allocations: 33.27 kB / 3.746 GB, free: 48.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00216/12.53, allocations: 1.165 MB / 3.747 GB, free: 48.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.81e-07/12.53, allocations: 0 / 3.747 GB, free: 48.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008059/12.54, allocations: 1.624 MB / 3.749 GB, free: 48.47 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01408/12.55, allocations: 4.388 MB / 3.753 GB, free: 47.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003775/12.55, allocations: 1.655 MB / 3.755 GB, free: 47.38 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/12.55, allocations: 1.719 kB / 3.755 GB, free: 47.38 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/12.55, allocations: 1.036 MB / 3.756 GB, free: 47.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005548/12.56, allocations: 0.5877 MB / 3.756 GB, free: 47.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/12.57, allocations: 3.758 MB / 3.76 GB, free: 46.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/12.57, allocations: 1.571 MB / 3.762 GB, free: 45.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003933/12.58, allocations: 1.639 MB / 3.763 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/12.58, allocations: 0.7966 MB / 3.764 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of SimCode: time 1.363e-06/12.58, allocations: 0 / 3.764 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1805/12.76, allocations: 78.21 MB / 3.84 GB, free: 42.08 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/12.76, allocations: 221.2 kB / 3.841 GB, free: 41.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.988/19.75, allocations: 0 / 3.841 GB, free: 41.86 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat