Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.89/1.89, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.705e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.418/2.52, allocations: 0.681 GB / 0.9953 GB, free: 94.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/2.521, allocations: 75.86 kB / 0.9954 GB, free: 94.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.028/5.549, allocations: 0.5492 GB / 1.545 GB, free: 34.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.285e-06/5.549, allocations: 0 / 1.545 GB, free: 34.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003033/5.549, allocations: 61.88 kB / 1.545 GB, free: 34.56 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.01337/5.563, allocations: 3.012 MB / 1.548 GB, free: 33.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/5.563, allocations: 13.05 kB / 1.548 GB, free: 33.25 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009076/5.564, allocations: 237.8 kB / 1.548 GB, free: 33.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004229/5.568, allocations: 437.6 kB / 1.548 GB, free: 33.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007777/5.576, allocations: 1.917 MB / 1.55 GB, free: 32.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/5.576, allocations: 132 kB / 1.55 GB, free: 32.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006811/5.577, allocations: 165.6 kB / 1.55 GB, free: 32.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00652/5.583, allocations: 2.563 MB / 1.553 GB, free: 32.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.166e-05/5.583, allocations: 5.781 kB / 1.553 GB, free: 32.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000388/5.584, allocations: 71.11 kB / 1.553 GB, free: 32.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002974/5.584, allocations: 149.5 kB / 1.553 GB, free: 32.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006021/5.59, allocations: 2.165 MB / 1.555 GB, free: 32.2 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.02309/5.613, allocations: 10.93 MB / 1.566 GB, free: 26.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004531/5.618, allocations: 1.747 MB / 1.568 GB, free: 25.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002836/5.621, allocations: 1.025 MB / 1.569 GB, free: 25.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001667/5.622, allocations: 465 kB / 1.569 GB, free: 25.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003298/5.626, allocations: 1.138 MB / 1.57 GB, free: 25.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 7.875e-06/5.626, allocations: 2.75 kB / 1.57 GB, free: 25.56 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.0374/5.663, allocations: 8.489 MB / 1.578 GB, free: 24.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/5.663, allocations: 258 kB / 1.579 GB, free: 24.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/5.666, allocations: 1.323 MB / 1.58 GB, free: 23.92 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006752/5.667, allocations: 62.83 kB / 1.58 GB, free: 23.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008815/5.668, allocations: 0.8792 MB / 1.581 GB, free: 23.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009083/5.669, allocations: 0.6059 MB / 1.582 GB, free: 23.17 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/5.669, allocations: 40.88 kB / 1.582 GB, free: 23.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/5.669, allocations: 386.2 kB / 1.582 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002521/5.672, allocations: 0.9771 MB / 1.583 GB, free: 22.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002922/5.675, allocations: 1.421 MB / 1.584 GB, free: 22.42 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003117/5.678, allocations: 1.255 MB / 1.585 GB, free: 22.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/5.678, allocations: 3.531 kB / 1.585 GB, free: 22.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.008006/5.686, allocations: 3.025 MB / 1.588 GB, free: 22.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001054/5.687, allocations: 4.29 MB / 1.593 GB, free: 17.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/5.687, allocations: 7.812 kB / 1.593 GB, free: 17.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007241/5.688, allocations: 189.7 kB / 1.593 GB, free: 17.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005077/5.693, allocations: 0.5461 MB / 1.593 GB, free: 17.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/5.695, allocations: 2.331 MB / 1.596 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/5.699, allocations: 215.8 kB / 1.596 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007399/5.7, allocations: 189.2 kB / 1.596 GB, free: 15.42 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/5.7, allocations: 3.969 kB / 1.596 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007233/5.707, allocations: 2.741 MB / 1.599 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.874e-05/5.707, allocations: 14.22 kB / 1.599 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/5.708, allocations: 196.2 kB / 1.599 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004312/5.712, allocations: 0.5355 MB / 1.599 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/5.714, allocations: 2.328 MB / 1.602 GB, free: 29.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004/5.718, allocations: 212.9 kB / 1.602 GB, free: 29.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000584/5.719, allocations: 182.2 kB / 1.602 GB, free: 29.05 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.001001/5.72, allocations: 298.9 kB / 1.602 GB, free: 28.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006367/5.721, allocations: 202.2 kB / 1.603 GB, free: 28.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/5.732, allocations: 3.486 MB / 1.606 GB, free: 27.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/5.732, allocations: 19.22 kB / 1.606 GB, free: 27.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/5.732, allocations: 2.812 kB / 1.606 GB, free: 27.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006626/5.738, allocations: 2.711 MB / 1.609 GB, free: 26.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02205/5.761, allocations: 6.864 MB / 1.615 GB, free: 23.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.438e-05/5.761, allocations: 10.11 kB / 1.615 GB, free: 23.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004006/5.765, allocations: 450.1 kB / 1.616 GB, free: 23.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007522/5.765, allocations: 187.3 kB / 1.616 GB, free: 23.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007612/5.766, allocations: 105.8 kB / 1.616 GB, free: 23.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/5.769, allocations: 3.066 MB / 1.619 GB, free: 20.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/5.769, allocations: 15.64 kB / 1.619 GB, free: 20.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/5.782, allocations: 4.636 MB / 1.624 GB, free: 17.87 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/5.784, allocations: 0.5282 MB / 1.624 GB, free: 17.55 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/5.785, allocations: 57.47 kB / 1.624 GB, free: 17.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/5.789, allocations: 128.2 kB / 1.624 GB, free: 17.49 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007882/5.789, allocations: 178 kB / 1.624 GB, free: 17.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006116/5.79, allocations: 174.8 kB / 1.625 GB, free: 17.44 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002597/5.793, allocations: 0.9986 MB / 1.626 GB, free: 17.06 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.122e-06/5.793, allocations: 0 / 1.626 GB, free: 17.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01035/5.803, allocations: 1.942 MB / 1.627 GB, free: 15.69 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.02225/5.825, allocations: 9.221 MB / 1.636 GB, free: 7.285 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01464/5.84, allocations: 4.215 MB / 1.641 GB, free: 3.395 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/5.84, allocations: 0 / 1.641 GB, free: 3.395 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004766/5.845, allocations: 1.487 MB / 1.642 GB, free: 2.012 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008695/5.854, allocations: 0.9057 MB / 1.643 GB, free: 1.359 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02827/5.882, allocations: 6.452 MB / 1.649 GB, free: 11.99 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002246/5.884, allocations: 1.719 MB / 1.651 GB, free: 10.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01201/5.896, allocations: 1.533 MB / 1.652 GB, free: 9.531 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003604/5.9, allocations: 0.9532 MB / 1.653 GB, free: 8.668 MB / 490.7 MB Notification: Performance of SimCode: time 2.084e-06/5.9, allocations: 0 / 1.653 GB, free: 8.668 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7016/6.602, allocations: 101.3 MB / 1.752 GB, free: 53.51 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/6.602, allocations: 242.1 kB / 1.752 GB, free: 53.19 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/14.2, allocations: 0 / 1.752 GB, free: 53.19 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat does not exist to compare? outputFormat=mat