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.501/2.501, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.362e-05/4.373e-05, allocations: 8 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4179, allocations: 54.84 MB / 359.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.927/2.345, allocations: 0.6876 GB / 1.039 GB, free: 40.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/2.346, allocations: 73.47 kB / 1.039 GB, free: 40.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.259/5.604, allocations: 0.5495 GB / 1.589 GB, free: 37.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.705e-06/5.604, allocations: 0 / 1.589 GB, free: 37.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003659/5.605, allocations: 59.59 kB / 1.589 GB, free: 37.42 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.01436/5.619, allocations: 3.016 MB / 1.592 GB, free: 35.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/5.619, allocations: 10.53 kB / 1.592 GB, free: 35.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001461/5.621, allocations: 243 kB / 1.592 GB, free: 35.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005249/5.626, allocations: 443.8 kB / 1.592 GB, free: 35.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009592/5.636, allocations: 1.942 MB / 1.594 GB, free: 34.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000294/5.636, allocations: 124.7 kB / 1.594 GB, free: 34.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/5.637, allocations: 166.7 kB / 1.594 GB, free: 34.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009708/5.647, allocations: 2.553 MB / 1.597 GB, free: 33.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/5.647, allocations: 11.69 kB / 1.597 GB, free: 33.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009921/5.648, allocations: 70.12 kB / 1.597 GB, free: 33.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000347/5.648, allocations: 153.2 kB / 1.597 GB, free: 33.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007711/5.656, allocations: 2.153 MB / 1.599 GB, free: 32.46 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.02848/5.685, allocations: 10.96 MB / 1.61 GB, free: 21.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005211/5.69, allocations: 1.728 MB / 1.612 GB, free: 19.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002976/5.693, allocations: 1.036 MB / 1.613 GB, free: 18.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/5.695, allocations: 456.8 kB / 1.613 GB, free: 18.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003628/5.698, allocations: 1.161 MB / 1.614 GB, free: 17.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=162): time 7.565e-06/5.698, allocations: 0 / 1.614 GB, free: 17.2 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.0423/5.741, allocations: 8.472 MB / 1.623 GB, free: 8.598 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/5.741, allocations: 257.3 kB / 1.623 GB, free: 8.289 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003324/5.744, allocations: 1.329 MB / 1.624 GB, free: 6.961 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000774/5.745, allocations: 65.7 kB / 1.624 GB, free: 6.891 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/5.746, allocations: 0.8734 MB / 1.625 GB, free: 6.004 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001215/5.748, allocations: 0.6199 MB / 1.626 GB, free: 5.375 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/5.748, allocations: 40 kB / 1.626 GB, free: 5.336 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/5.748, allocations: 386 kB / 1.626 GB, free: 4.953 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003143/5.751, allocations: 0.988 MB / 1.627 GB, free: 3.965 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003682/5.755, allocations: 1.418 MB / 1.628 GB, free: 2.383 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/5.759, allocations: 1.268 MB / 1.63 GB, free: 1.105 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-05/5.759, allocations: 0 / 1.63 GB, free: 1.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.01124/5.77, allocations: 2.962 MB / 1.632 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002295/5.773, allocations: 4.298 MB / 1.637 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.078e-05/5.773, allocations: 12 kB / 1.637 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009054/5.774, allocations: 191.3 kB / 1.637 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005325/5.779, allocations: 0.5461 MB / 1.637 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/5.782, allocations: 2.331 MB / 1.64 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/5.787, allocations: 211.7 kB / 1.64 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/5.788, allocations: 188 kB / 1.64 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/5.788, allocations: 6.5 kB / 1.64 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01044/5.798, allocations: 2.693 MB / 1.643 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-05/5.798, allocations: 8 kB / 1.643 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007209/5.799, allocations: 195.9 kB / 1.643 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005133/5.804, allocations: 0.5305 MB / 1.643 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/5.807, allocations: 2.331 MB / 1.646 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/5.812, allocations: 219.5 kB / 1.646 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/5.813, allocations: 184 kB / 1.646 GB, free: 15.54 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.001528/5.814, allocations: 296.7 kB / 1.646 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009291/5.815, allocations: 209.5 kB / 1.647 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/5.83, allocations: 3.46 MB / 1.65 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-05/5.831, allocations: 23.98 kB / 1.65 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/5.831, allocations: 0 / 1.65 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009168/5.84, allocations: 2.709 MB / 1.653 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02469/5.865, allocations: 6.857 MB / 1.659 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/5.865, allocations: 8 kB / 1.659 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004335/5.869, allocations: 440.2 kB / 1.66 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008372/5.87, allocations: 187.3 kB / 1.66 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007482/5.871, allocations: 99.94 kB / 1.66 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4381/6.309, allocations: 3.061 MB / 1.663 GB, free: 64.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.635e-05/6.309, allocations: 12.48 kB / 1.663 GB, free: 64.15 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/6.323, allocations: 4.641 MB / 1.668 GB, free: 63.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/6.326, allocations: 0.5298 MB / 1.668 GB, free: 62.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/6.327, allocations: 58.86 kB / 1.668 GB, free: 62.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003817/6.331, allocations: 129.6 kB / 1.668 GB, free: 62.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009368/6.332, allocations: 174.9 kB / 1.668 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000737/6.333, allocations: 173.8 kB / 1.669 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003119/6.336, allocations: 1.003 MB / 1.67 GB, free: 62.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.22e-07/6.336, allocations: 1.312 kB / 1.67 GB, free: 62.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01128/6.347, allocations: 1.952 MB / 1.671 GB, free: 62.87 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.02459/6.372, allocations: 9.285 MB / 1.681 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01406/6.386, allocations: 4.273 MB / 1.685 GB, free: 59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/6.386, allocations: 0 / 1.685 GB, free: 59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00448/6.391, allocations: 1.52 MB / 1.686 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009414/6.4, allocations: 0.9101 MB / 1.687 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/6.428, allocations: 6.471 MB / 1.693 GB, free: 57.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/6.43, allocations: 1.722 MB / 1.695 GB, free: 57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01187/6.442, allocations: 1.523 MB / 1.697 GB, free: 56.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003497/6.446, allocations: 0.9566 MB / 1.697 GB, free: 56.97 MB / 0.5105 GB Notification: Performance of SimCode: time 2.294e-06/6.446, allocations: 0 / 1.697 GB, free: 56.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2335/6.679, allocations: 101.6 MB / 1.797 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/6.68, allocations: 237 kB / 1.797 GB, free: 33.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/14.53, allocations: 0 / 1.797 GB, free: 33.86 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