Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 235 MB / 247.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.115e-05, allocations: 7.984 kB / 305 MB, free: 5.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4053, allocations: 54.85 MB / 359.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.934/2.339, allocations: 0.6876 GB / 1.039 GB, free: 41.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/2.34, allocations: 84.16 kB / 1.039 GB, free: 41.28 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.114/5.453, allocations: 0.5495 GB / 1.589 GB, free: 37.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.154e-06/5.453, allocations: 0 / 1.589 GB, free: 37.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003706/5.454, allocations: 62.73 kB / 1.589 GB, free: 37.49 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01337/5.467, allocations: 3.015 MB / 1.592 GB, free: 35.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/5.467, allocations: 11.09 kB / 1.592 GB, free: 35.77 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001266/5.469, allocations: 246.2 kB / 1.592 GB, free: 35.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/5.474, allocations: 443 kB / 1.592 GB, free: 35.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009056/5.483, allocations: 1.935 MB / 1.594 GB, free: 34.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/5.483, allocations: 131.6 kB / 1.594 GB, free: 34.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/5.484, allocations: 162 kB / 1.594 GB, free: 34.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00835/5.492, allocations: 2.573 MB / 1.597 GB, free: 33.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-05/5.493, allocations: 6.281 kB / 1.597 GB, free: 33.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005361/5.493, allocations: 70.95 kB / 1.597 GB, free: 33.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00031/5.493, allocations: 157.2 kB / 1.597 GB, free: 33.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007081/5.501, allocations: 2.181 MB / 1.599 GB, free: 32.51 MB / 490.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.02546/5.526, allocations: 10.96 MB / 1.61 GB, free: 22.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004902/5.531, allocations: 1.754 MB / 1.612 GB, free: 20.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002777/5.534, allocations: 1.028 MB / 1.613 GB, free: 19.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/5.535, allocations: 457.1 kB / 1.613 GB, free: 19.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003266/5.539, allocations: 1.151 MB / 1.614 GB, free: 17.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=162): time 5.79e-06/5.539, allocations: 0 / 1.614 GB, free: 17.96 MB / 490.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=185): time 0.03847/5.577, allocations: 8.476 MB / 1.623 GB, free: 9.363 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/5.577, allocations: 265.3 kB / 1.623 GB, free: 9.047 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/5.58, allocations: 1.325 MB / 1.624 GB, free: 7.723 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007103/5.581, allocations: 57.7 kB / 1.624 GB, free: 7.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009762/5.582, allocations: 0.8696 MB / 1.625 GB, free: 6.777 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001088/5.583, allocations: 0.6315 MB / 1.626 GB, free: 6.137 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/5.583, allocations: 40 kB / 1.626 GB, free: 6.098 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/5.584, allocations: 398 kB / 1.626 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/5.586, allocations: 0.9841 MB / 1.627 GB, free: 4.719 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/5.59, allocations: 1.426 MB / 1.628 GB, free: 3.129 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003606/5.594, allocations: 1.264 MB / 1.63 GB, free: 1.855 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.025e-05/5.594, allocations: 11.94 kB / 1.63 GB, free: 1.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.01014/5.604, allocations: 2.997 MB / 1.633 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002172/5.606, allocations: 4.29 MB / 1.637 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-05/5.606, allocations: 8 kB / 1.637 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008206/5.607, allocations: 191.3 kB / 1.637 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005177/5.612, allocations: 0.55 MB / 1.638 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/5.615, allocations: 2.331 MB / 1.64 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/5.619, allocations: 211.6 kB / 1.64 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/5.62, allocations: 191.9 kB / 1.64 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/5.62, allocations: 6.5 kB / 1.64 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009715/5.63, allocations: 2.721 MB / 1.643 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.273e-05/5.63, allocations: 12 kB / 1.643 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006685/5.631, allocations: 195.4 kB / 1.643 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004938/5.636, allocations: 0.5305 MB / 1.644 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/5.638, allocations: 2.335 MB / 1.646 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/5.642, allocations: 207.8 kB / 1.646 GB, free: 424 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009576/5.643, allocations: 184 kB / 1.646 GB, free: 240 kB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * 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.001279/5.645, allocations: 296 kB / 1.647 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008656/5.646, allocations: 221.4 kB / 1.647 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/5.66, allocations: 3.463 MB / 1.65 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/5.66, allocations: 20 kB / 1.65 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/5.66, allocations: 0 / 1.65 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008382/5.668, allocations: 2.705 MB / 1.653 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02333/5.692, allocations: 6.868 MB / 1.659 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.612e-05/5.692, allocations: 8.844 kB / 1.659 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004148/5.696, allocations: 451.4 kB / 1.66 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007963/5.697, allocations: 179.3 kB / 1.66 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007033/5.698, allocations: 103.9 kB / 1.66 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4511/6.149, allocations: 3.07 MB / 1.663 GB, free: 64.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/6.149, allocations: 7.719 kB / 1.663 GB, free: 64.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/6.162, allocations: 4.649 MB / 1.668 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002361/6.164, allocations: 0.5274 MB / 1.668 GB, free: 63.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009968/6.165, allocations: 57.72 kB / 1.668 GB, free: 63.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003311/6.169, allocations: 135.5 kB / 1.668 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007763/6.169, allocations: 179 kB / 1.669 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006056/6.17, allocations: 169.1 kB / 1.669 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00276/6.173, allocations: 1.007 MB / 1.67 GB, free: 63.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.022e-06/6.173, allocations: 0 / 1.67 GB, free: 63.58 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01018/6.183, allocations: 1.949 MB / 1.672 GB, free: 63.58 MB / 0.5105 GB 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: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,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.02743/6.211, allocations: 9.242 MB / 1.681 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01327/6.224, allocations: 4.334 MB / 1.685 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/6.224, allocations: 3.75 kB / 1.685 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004002/6.228, allocations: 1.536 MB / 1.686 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008444/6.236, allocations: 0.9109 MB / 1.687 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/6.262, allocations: 6.487 MB / 1.694 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/6.263, allocations: 1.723 MB / 1.695 GB, free: 57.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01071/6.274, allocations: 1.527 MB / 1.697 GB, free: 57.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003172/6.277, allocations: 0.9577 MB / 1.698 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of SimCode: time 9.21e-07/6.277, allocations: 0 / 1.698 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2339/6.511, allocations: 101.6 MB / 1.797 GB, free: 34.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/6.511, allocations: 226.3 kB / 1.797 GB, free: 34.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.423/13.93, allocations: 3.938 kB / 1.797 GB, free: 34.43 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat does not exist to compare? outputFormat=mat