Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.538e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3972, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.081/2.478, allocations: 0.6876 GB / 1.039 GB, free: 40.97 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/2.478, allocations: 84.69 kB / 1.039 GB, free: 40.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.148/5.626, allocations: 0.5495 GB / 1.589 GB, free: 37.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.735e-06/5.626, allocations: 0 / 1.589 GB, free: 37.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003947/5.626, allocations: 59.23 kB / 1.589 GB, free: 37.44 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.01388/5.64, allocations: 3.026 MB / 1.592 GB, free: 35.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/5.64, allocations: 11.34 kB / 1.592 GB, free: 35.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001405/5.642, allocations: 242.9 kB / 1.592 GB, free: 35.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005188/5.647, allocations: 448.9 kB / 1.592 GB, free: 35.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009339/5.656, allocations: 1.931 MB / 1.594 GB, free: 34.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/5.657, allocations: 131.3 kB / 1.594 GB, free: 34.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/5.658, allocations: 161.9 kB / 1.594 GB, free: 34.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009418/5.667, allocations: 2.57 MB / 1.597 GB, free: 33.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/5.667, allocations: 7.625 kB / 1.597 GB, free: 33.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008941/5.668, allocations: 76.94 kB / 1.597 GB, free: 33.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003408/5.669, allocations: 154.7 kB / 1.597 GB, free: 33.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007558/5.676, allocations: 2.178 MB / 1.599 GB, free: 32.45 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.02757/5.704, allocations: 10.97 MB / 1.61 GB, free: 21.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005126/5.709, allocations: 1.739 MB / 1.612 GB, free: 20.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002952/5.712, allocations: 1.032 MB / 1.613 GB, free: 18.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00158/5.714, allocations: 457.1 kB / 1.613 GB, free: 18.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003678/5.717, allocations: 1.155 MB / 1.614 GB, free: 17.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=162): time 7.134e-06/5.717, allocations: 0 / 1.614 GB, free: 17.3 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.04204/5.76, allocations: 8.484 MB / 1.623 GB, free: 8.688 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/5.76, allocations: 257.3 kB / 1.623 GB, free: 8.379 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005487/5.765, allocations: 1.329 MB / 1.624 GB, free: 7.051 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001034/5.766, allocations: 61.7 kB / 1.624 GB, free: 6.984 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001662/5.768, allocations: 0.8696 MB / 1.625 GB, free: 6.102 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001843/5.77, allocations: 0.6238 MB / 1.626 GB, free: 5.469 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007928/5.771, allocations: 40 kB / 1.626 GB, free: 5.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003248/5.771, allocations: 394 kB / 1.626 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004684/5.776, allocations: 0.9841 MB / 1.627 GB, free: 4.055 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005521/5.782, allocations: 1.434 MB / 1.628 GB, free: 2.457 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005631/5.787, allocations: 1.26 MB / 1.63 GB, free: 1.188 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-05/5.787, allocations: 8 kB / 1.63 GB, free: 1.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.01219/5.8, allocations: 2.997 MB / 1.633 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002099/5.802, allocations: 4.29 MB / 1.637 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/5.802, allocations: 8 kB / 1.637 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008962/5.803, allocations: 191.3 kB / 1.637 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005128/5.808, allocations: 0.5499 MB / 1.637 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/5.81, allocations: 2.335 MB / 1.64 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004618/5.815, allocations: 215.6 kB / 1.64 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/5.816, allocations: 188 kB / 1.64 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/5.816, allocations: 4 kB / 1.64 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01067/5.827, allocations: 2.721 MB / 1.643 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.282e-05/5.827, allocations: 12 kB / 1.643 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007018/5.828, allocations: 199.4 kB / 1.643 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004915/5.833, allocations: 0.5305 MB / 1.644 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/5.835, allocations: 2.327 MB / 1.646 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/5.84, allocations: 211.8 kB / 1.646 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/5.841, allocations: 184 kB / 1.646 GB, free: 15.57 MB / 0.5105 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.001455/5.842, allocations: 300.7 kB / 1.646 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008919/5.843, allocations: 213.5 kB / 1.647 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/5.858, allocations: 3.468 MB / 1.65 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/5.858, allocations: 20 kB / 1.65 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/5.858, allocations: 0 / 1.65 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009307/5.868, allocations: 2.701 MB / 1.653 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02517/5.893, allocations: 6.872 MB / 1.659 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.789e-05/5.893, allocations: 8.844 kB / 1.659 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004242/5.897, allocations: 447.4 kB / 1.66 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008808/5.898, allocations: 183.3 kB / 1.66 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007268/5.899, allocations: 103.9 kB / 1.66 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.464/6.363, allocations: 3.066 MB / 1.663 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/6.363, allocations: 11.31 kB / 1.663 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/6.376, allocations: 4.647 MB / 1.668 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002466/6.379, allocations: 0.5246 MB / 1.668 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/6.38, allocations: 59.66 kB / 1.668 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003507/6.383, allocations: 128.1 kB / 1.668 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008843/6.384, allocations: 177.7 kB / 1.669 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006252/6.385, allocations: 173.5 kB / 1.669 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002964/6.388, allocations: 1.005 MB / 1.67 GB, free: 62.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.032e-06/6.388, allocations: 0 / 1.67 GB, free: 62.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01045/6.399, allocations: 1.944 MB / 1.672 GB, free: 62.92 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.02436/6.423, allocations: 9.245 MB / 1.681 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01458/6.438, allocations: 4.339 MB / 1.685 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/6.438, allocations: 0 / 1.685 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004473/6.442, allocations: 1.535 MB / 1.686 GB, free: 58.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008696/6.451, allocations: 0.9173 MB / 1.687 GB, free: 58.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03609/6.487, allocations: 6.485 MB / 1.694 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003762/6.491, allocations: 1.722 MB / 1.695 GB, free: 57.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01798/6.509, allocations: 1.537 MB / 1.697 GB, free: 57.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005466/6.515, allocations: 0.9574 MB / 1.698 GB, free: 57.03 MB / 0.5105 GB Notification: Performance of SimCode: time 2.575e-06/6.515, allocations: 0 / 1.698 GB, free: 57.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2481/6.763, allocations: 101.6 MB / 1.797 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002941/6.763, allocations: 226.3 kB / 1.797 GB, free: 33.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/14.47, allocations: 0 / 1.797 GB, free: 33.67 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat does not exist to compare? outputFormat=mat