Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.637/2.637, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.647e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3977, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.763/9.161, allocations: 2.772 GB / 3.145 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/9.161, allocations: 85.86 kB / 3.145 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.558/11.72, allocations: 0.5017 GB / 3.647 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/11.72, allocations: 2.594 kB / 3.647 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001057/11.72, allocations: 36.11 kB / 3.647 GB, free: 39.71 MB / 0.5105 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.009711/11.73, allocations: 2.055 MB / 3.649 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/11.73, allocations: 10.25 kB / 3.649 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004149/11.73, allocations: 135.7 kB / 3.649 GB, free: 38.22 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008565/11.74, allocations: 0.718 MB / 3.65 GB, free: 37.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/11.74, allocations: 0.8154 MB / 3.651 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/11.74, allocations: 81.94 kB / 3.651 GB, free: 36.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/11.74, allocations: 88 kB / 3.651 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005889/11.75, allocations: 1.706 MB / 3.653 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/11.75, allocations: 4 kB / 3.653 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/11.75, allocations: 43.47 kB / 3.653 GB, free: 35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/11.75, allocations: 27.94 kB / 3.653 GB, free: 34.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005629/11.75, allocations: 1.469 MB / 3.654 GB, free: 33.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/11.77, allocations: 7.551 MB / 3.661 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004797/11.77, allocations: 1.181 MB / 3.663 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008517/11.77, allocations: 334.4 kB / 3.663 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07564/11.85, allocations: 24.26 MB / 3.687 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/11.85, allocations: 43.12 kB / 3.687 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=67): time 3.747e-06/11.85, allocations: 0 / 3.687 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.0089/11.86, allocations: 1.774 MB / 3.688 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/11.86, allocations: 218.2 kB / 3.689 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/11.86, allocations: 0.7212 MB / 3.689 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002328/11.86, allocations: 37.7 kB / 3.689 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005717/11.86, allocations: 489.7 kB / 3.69 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/11.86, allocations: 227 kB / 3.69 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.434e-05/11.86, allocations: 16 kB / 3.69 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001543/11.86, allocations: 338 kB / 3.69 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008507/11.86, allocations: 265.9 kB / 3.691 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/11.86, allocations: 0.5486 MB / 3.691 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/11.87, allocations: 341.8 kB / 3.691 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.229e-05/11.87, allocations: 4 kB / 3.691 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004913/11.87, allocations: 0.8971 MB / 3.692 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002137/11.87, allocations: 3.231 MB / 3.696 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/11.87, allocations: 11.94 kB / 3.696 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.166e-05/11.87, allocations: 16 kB / 3.696 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/11.88, allocations: 271.6 kB / 3.696 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-05/11.88, allocations: 23.88 kB / 3.696 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/11.88, allocations: 190.6 kB / 3.696 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002181/11.88, allocations: 51.97 kB / 3.696 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/11.88, allocations: 4 kB / 3.696 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002435/11.88, allocations: 0.7724 MB / 3.697 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/11.88, allocations: 15.97 kB / 3.697 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/11.88, allocations: 16 kB / 3.697 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/11.88, allocations: 279.6 kB / 3.697 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.209e-05/11.88, allocations: 19.92 kB / 3.697 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/11.89, allocations: 167 kB / 3.697 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/11.89, allocations: 51.98 kB / 3.697 GB, free: 1.441 MB / 0.5261 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.0004017/11.89, allocations: 176.6 kB / 3.698 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/11.89, allocations: 102.8 kB / 3.698 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4042/12.29, allocations: 4.866 MB / 3.702 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-05/12.29, allocations: 62.14 kB / 3.702 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/12.29, allocations: 0 / 3.702 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/12.29, allocations: 3.141 kB / 3.702 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/12.3, allocations: 2.498 MB / 3.705 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/12.3, allocations: 3.781 kB / 3.705 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/12.3, allocations: 243.6 kB / 3.705 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/12.3, allocations: 5.469 kB / 3.705 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-05/12.3, allocations: 18.52 kB / 3.705 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.647e-06/12.3, allocations: 3.938 kB / 3.705 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/12.3, allocations: 0 / 3.705 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/12.3, allocations: 2.123 MB / 3.707 GB, free: 64.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/12.3, allocations: 0.6988 MB / 3.708 GB, free: 64.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/12.3, allocations: 21.44 kB / 3.708 GB, free: 64.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/12.31, allocations: 118.6 kB / 3.708 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/12.31, allocations: 86.06 kB / 3.708 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.999e-05/12.31, allocations: 28.47 kB / 3.708 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002339/12.31, allocations: 1.167 MB / 3.709 GB, free: 64.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.32e-07/12.31, allocations: 3.812 kB / 3.709 GB, free: 64.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008287/12.32, allocations: 1.611 MB / 3.711 GB, free: 64.12 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: 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.01509/12.33, allocations: 4.377 MB / 3.715 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004041/12.34, allocations: 1.662 MB / 3.717 GB, free: 63.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/12.34, allocations: 0 / 3.717 GB, free: 63.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/12.34, allocations: 1.028 MB / 3.718 GB, free: 63.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005935/12.34, allocations: 0.6031 MB / 3.718 GB, free: 63.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/12.35, allocations: 3.752 MB / 3.722 GB, free: 62.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/12.36, allocations: 1.576 MB / 3.724 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005487/12.36, allocations: 1.637 MB / 3.725 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/12.36, allocations: 0.7909 MB / 3.726 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of SimCode: time 2.104e-06/12.36, allocations: 0 / 3.726 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1758/12.54, allocations: 78.17 MB / 3.802 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/12.54, allocations: 210.4 kB / 3.802 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.166/18.71, allocations: 0 / 3.802 GB, free: 57.41 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat