Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.895/1.895, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.081e-05/4.1e-05, allocations: 4 kB / 273.2 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.798/7.906, allocations: 2.546 GB / 2.86 GB, free: 9.816 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/7.906, allocations: 74.72 kB / 2.86 GB, free: 9.781 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589/12.5, allocations: 0.8409 GB / 3.701 GB, free: 18.64 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.465e-06/12.5, allocations: 0 / 3.701 GB, free: 18.64 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003242/12.5, allocations: 58.27 kB / 3.701 GB, free: 18.61 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 472 * Number of variables: 472 Notification: Performance of Generate backend data structure: time 0.0173/12.51, allocations: 3.69 MB / 3.705 GB, free: 14.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/12.51, allocations: 12.03 kB / 3.705 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001227/12.51, allocations: 273.8 kB / 3.705 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008176/12.52, allocations: 0.7543 MB / 3.706 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007951/12.53, allocations: 1.939 MB / 3.708 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000301/12.53, allocations: 163.5 kB / 3.708 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009144/12.53, allocations: 176 kB / 3.708 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/12.54, allocations: 3.264 MB / 3.711 GB, free: 8.066 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.009e-05/12.54, allocations: 15.91 kB / 3.711 GB, free: 8.051 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006309/12.54, allocations: 79.91 kB / 3.711 GB, free: 7.973 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003606/12.54, allocations: 151.2 kB / 3.711 GB, free: 7.824 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/12.55, allocations: 2.894 MB / 3.714 GB, free: 4.926 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03162/12.59, allocations: 14.04 MB / 3.728 GB, free: 5.684 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007115/12.59, allocations: 1.948 MB / 3.73 GB, free: 3.734 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002598/12.6, allocations: 0.9361 MB / 3.731 GB, free: 2.801 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4513/13.05, allocations: 18.91 MB / 3.749 GB, free: 27.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005917/13.05, allocations: 1.547 MB / 3.751 GB, free: 27.23 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001697/13.05, allocations: 157 kB / 3.751 GB, free: 27.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 5.52e-06/13.05, allocations: 1.219 kB / 3.751 GB, free: 27.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=154): time 0.02874/13.08, allocations: 6.759 MB / 3.757 GB, free: 26.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/13.08, allocations: 255.1 kB / 3.758 GB, free: 26.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/13.09, allocations: 1.334 MB / 3.759 GB, free: 26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005292/13.09, allocations: 59.64 kB / 3.759 GB, free: 25.97 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/13.09, allocations: 0.8988 MB / 3.76 GB, free: 25.69 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009652/13.09, allocations: 0.5101 MB / 3.76 GB, free: 25.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/13.09, allocations: 36.03 kB / 3.76 GB, free: 25.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/13.09, allocations: 382.7 kB / 3.761 GB, free: 25.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/13.09, allocations: 0.9073 MB / 3.762 GB, free: 25.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/13.1, allocations: 1.313 MB / 3.763 GB, free: 24.69 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002964/13.1, allocations: 1.144 MB / 3.764 GB, free: 24.61 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.94e-05/13.1, allocations: 3.031 kB / 3.764 GB, free: 24.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.009086/13.11, allocations: 2.944 MB / 3.767 GB, free: 24.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001012/13.11, allocations: 4.367 MB / 3.771 GB, free: 19.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/13.11, allocations: 11.53 kB / 3.771 GB, free: 19.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004967/13.11, allocations: 0.5899 MB / 3.772 GB, free: 19.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003664/13.12, allocations: 438.1 kB / 3.772 GB, free: 19.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/13.12, allocations: 2.82 MB / 3.775 GB, free: 17.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/13.12, allocations: 240.8 kB / 3.775 GB, free: 17.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004742/13.12, allocations: 101.6 kB / 3.775 GB, free: 17.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/13.12, allocations: 3.906 kB / 3.775 GB, free: 17.62 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006845/13.13, allocations: 2.538 MB / 3.778 GB, free: 17.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.93e-05/13.13, allocations: 13.12 kB / 3.778 GB, free: 17.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009171/13.13, allocations: 197.1 kB / 3.778 GB, free: 17.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/13.14, allocations: 461 kB / 3.778 GB, free: 17.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/13.14, allocations: 1.873 MB / 3.78 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003797/13.14, allocations: 236.2 kB / 3.78 GB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006911/13.14, allocations: 88.7 kB / 3.781 GB, free: 15.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 27 (pipe3.state_a.phase,pipe2.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.state_a.phase,pipe1.state_a.phase,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,pipe3.state_b.phase,pipe2.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009335/13.14, allocations: 296.8 kB / 3.781 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008127/13.14, allocations: 186.6 kB / 3.781 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/13.16, allocations: 7.355 MB / 3.788 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001152/13.16, allocations: 82.34 kB / 3.788 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/13.16, allocations: 2.625 kB / 3.788 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01182/13.17, allocations: 6.437 MB / 3.795 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02109/13.19, allocations: 10.22 MB / 3.805 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/13.19, allocations: 3.391 kB / 3.805 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002775/13.2, allocations: 333.5 kB / 3.805 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00507/13.2, allocations: 1.578 MB / 3.806 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005215/13.2, allocations: 57.06 kB / 3.806 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/13.2, allocations: 3.464 MB / 3.81 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/13.2, allocations: 1.969 kB / 3.81 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/13.22, allocations: 6.949 MB / 3.817 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0024/13.22, allocations: 0.7009 MB / 3.817 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008719/13.22, allocations: 45.62 kB / 3.817 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003218/13.22, allocations: 184.8 kB / 3.818 GB, free: 10.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006403/13.23, allocations: 131.1 kB / 3.818 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002594/13.23, allocations: 64.67 kB / 3.818 GB, free: 10.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002699/13.23, allocations: 1.125 MB / 3.819 GB, free: 10.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.084e-06/13.23, allocations: 0 / 3.819 GB, free: 10.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01313/13.24, allocations: 2.677 MB / 3.821 GB, free: 10.13 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 53 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse30.phase,$cse30.region,$cse32.region3boundary,$cse33.region3boundary,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$cse41.phase,$cse41.region,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.02843/13.27, allocations: 9.73 MB / 3.831 GB, free: 8.852 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01246/13.28, allocations: 4.525 MB / 3.835 GB, free: 8.527 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/13.28, allocations: 5 kB / 3.835 GB, free: 8.527 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00476/13.29, allocations: 2.163 MB / 3.837 GB, free: 8.387 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008134/13.3, allocations: 0.889 MB / 3.838 GB, free: 8.363 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8113/14.11, allocations: 127.4 MB / 3.963 GB, free: 64.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/14.11, allocations: 2.175 MB / 3.965 GB, free: 63.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007505/14.12, allocations: 2.353 MB / 3.967 GB, free: 63.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002449/14.12, allocations: 1.19 MB / 3.968 GB, free: 63.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/14.12, allocations: 0 / 3.968 GB, free: 63.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2985/14.42, allocations: 116.6 MB / 4.082 GB, free: 18.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/14.42, allocations: 231.1 kB / 4.082 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.527/22.94, allocations: 0 / 4.082 GB, free: 17.93 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13_res.mat does not exist to compare? outputFormat=mat