Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.911/1.911, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.767e-05, allocations: 0 / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.463/2.566, allocations: 0.681 GB / 0.9953 GB, free: 94.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/2.567, allocations: 75.33 kB / 0.9954 GB, free: 94.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.11/5.676, allocations: 0.5492 GB / 1.545 GB, free: 34.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.154e-06/5.676, allocations: 0 / 1.545 GB, free: 34.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003613/5.677, allocations: 60.8 kB / 1.545 GB, free: 34.12 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.01418/5.691, allocations: 3.015 MB / 1.548 GB, free: 32.81 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/5.691, allocations: 9.719 kB / 1.548 GB, free: 32.81 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001399/5.692, allocations: 239.9 kB / 1.548 GB, free: 32.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00532/5.698, allocations: 443.8 kB / 1.548 GB, free: 32.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009745/5.708, allocations: 1.925 MB / 1.55 GB, free: 32.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/5.708, allocations: 126.3 kB / 1.55 GB, free: 32.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/5.709, allocations: 163.2 kB / 1.55 GB, free: 32.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009141/5.718, allocations: 2.555 MB / 1.553 GB, free: 31.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-05/5.719, allocations: 15.31 kB / 1.553 GB, free: 31.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006663/5.719, allocations: 79.62 kB / 1.553 GB, free: 31.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003308/5.72, allocations: 151.6 kB / 1.553 GB, free: 31.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007434/5.727, allocations: 2.161 MB / 1.555 GB, free: 31.75 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.02581/5.753, allocations: 10.93 MB / 1.566 GB, free: 25.87 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00526/5.758, allocations: 1.747 MB / 1.568 GB, free: 25.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/5.761, allocations: 1.024 MB / 1.569 GB, free: 25.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/5.763, allocations: 461.3 kB / 1.569 GB, free: 25.24 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003085/5.766, allocations: 1.143 MB / 1.57 GB, free: 25.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 5.941e-06/5.766, allocations: 3.172 kB / 1.57 GB, free: 25.12 MB / 458.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=181): time 0.03954/5.806, allocations: 8.48 MB / 1.578 GB, free: 23.94 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/5.806, allocations: 256.4 kB / 1.579 GB, free: 23.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/5.809, allocations: 1.322 MB / 1.58 GB, free: 23.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008168/5.81, allocations: 72.09 kB / 1.58 GB, free: 23.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/5.811, allocations: 0.8615 MB / 1.581 GB, free: 23.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001387/5.813, allocations: 0.6225 MB / 1.581 GB, free: 22.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/5.813, allocations: 37.78 kB / 1.582 GB, free: 22.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002562/5.813, allocations: 386.9 kB / 1.582 GB, free: 22.42 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003245/5.817, allocations: 0.9809 MB / 1.583 GB, free: 22.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003584/5.82, allocations: 1.422 MB / 1.584 GB, free: 21.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003496/5.824, allocations: 1.256 MB / 1.585 GB, free: 21.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/5.824, allocations: 2.562 kB / 1.585 GB, free: 21.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009013/5.833, allocations: 3.022 MB / 1.588 GB, free: 21.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001026/5.834, allocations: 4.284 MB / 1.593 GB, free: 17.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/5.834, allocations: 11.62 kB / 1.593 GB, free: 17.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007539/5.835, allocations: 192.4 kB / 1.593 GB, free: 17.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004774/5.84, allocations: 0.5432 MB / 1.593 GB, free: 17.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/5.841, allocations: 2.335 MB / 1.596 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004469/5.846, allocations: 208.7 kB / 1.596 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009562/5.847, allocations: 187.9 kB / 1.596 GB, free: 14.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/5.847, allocations: 3.688 kB / 1.596 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007764/5.855, allocations: 2.747 MB / 1.599 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/5.855, allocations: 10 kB / 1.599 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/5.855, allocations: 199.3 kB / 1.599 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004579/5.86, allocations: 0.5351 MB / 1.599 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/5.862, allocations: 2.318 MB / 1.602 GB, free: 28.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004192/5.867, allocations: 215.4 kB / 1.602 GB, free: 28.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008819/5.867, allocations: 190 kB / 1.602 GB, free: 28.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 244 * 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,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001063/5.869, allocations: 290.2 kB / 1.602 GB, free: 28.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007434/5.869, allocations: 206.5 kB / 1.603 GB, free: 28.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/5.881, allocations: 3.476 MB / 1.606 GB, free: 27.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/5.881, allocations: 20.16 kB / 1.606 GB, free: 27.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/5.881, allocations: 13.36 kB / 1.606 GB, free: 27.44 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006999/5.888, allocations: 2.711 MB / 1.609 GB, free: 26.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02794/5.916, allocations: 6.862 MB / 1.615 GB, free: 23.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-05/5.916, allocations: 6.312 kB / 1.615 GB, free: 23.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005934/5.922, allocations: 448.4 kB / 1.616 GB, free: 23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/5.924, allocations: 183.6 kB / 1.616 GB, free: 22.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008267/5.924, allocations: 101.5 kB / 1.616 GB, free: 22.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0042/5.929, allocations: 3.07 MB / 1.619 GB, free: 19.97 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/5.929, allocations: 7.031 kB / 1.619 GB, free: 19.97 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01902/5.948, allocations: 4.649 MB / 1.624 GB, free: 17.56 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003345/5.951, allocations: 0.5264 MB / 1.624 GB, free: 17.25 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/5.953, allocations: 62.31 kB / 1.624 GB, free: 17.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005221/5.958, allocations: 132.4 kB / 1.624 GB, free: 17.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/5.959, allocations: 172.4 kB / 1.624 GB, free: 17.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001083/5.961, allocations: 168 kB / 1.625 GB, free: 17.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004313/5.965, allocations: 1.009 MB / 1.626 GB, free: 16.76 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.689e-06/5.965, allocations: 0 / 1.626 GB, free: 16.76 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01403/5.979, allocations: 1.944 MB / 1.627 GB, free: 15.14 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,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 (196): * Single equations (assignments): 190 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02944/6.009, allocations: 9.225 MB / 1.636 GB, free: 6.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01353/6.022, allocations: 4.215 MB / 1.641 GB, free: 2.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/6.022, allocations: 4 kB / 1.641 GB, free: 2.836 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004306/6.027, allocations: 1.477 MB / 1.642 GB, free: 1.461 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008315/6.035, allocations: 0.906 MB / 1.643 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/6.065, allocations: 6.591 MB / 1.649 GB, free: 11.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002426/6.068, allocations: 1.716 MB / 1.651 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01247/6.08, allocations: 1.534 MB / 1.653 GB, free: 9.328 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003657/6.084, allocations: 0.9537 MB / 1.653 GB, free: 8.461 MB / 490.7 MB Notification: Performance of SimCode: time 1.813e-06/6.084, allocations: 0 / 1.653 GB, free: 8.461 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6276/6.711, allocations: 101.3 MB / 1.752 GB, free: 53.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/6.712, allocations: 243.1 kB / 1.753 GB, free: 52.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/14.27, allocations: 0 / 1.753 GB, free: 52.91 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat does not exist to compare? outputFormat=mat