Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.944e-05/3.943e-05, allocations: 4 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3831, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.852/2.235, allocations: 0.6871 GB / 1.033 GB, free: 19.66 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/2.235, allocations: 78.83 kB / 1.033 GB, free: 19.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.62/5.856, allocations: 0.6079 GB / 1.641 GB, free: 37.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.994e-06/5.856, allocations: 0 / 1.641 GB, free: 37.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003276/5.856, allocations: 66.55 kB / 1.641 GB, free: 37.61 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01382/5.87, allocations: 3.177 MB / 1.644 GB, free: 36.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/5.87, allocations: 13 kB / 1.644 GB, free: 36.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/5.875, allocations: 463.4 kB / 1.645 GB, free: 36.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009/5.884, allocations: 2.002 MB / 1.647 GB, free: 36.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/5.884, allocations: 62.12 kB / 1.647 GB, free: 36.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/5.886, allocations: 100.3 kB / 1.647 GB, free: 36.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00698/5.893, allocations: 2.198 MB / 1.649 GB, free: 36.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008052/5.901, allocations: 2.459 MB / 1.651 GB, free: 35.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.233e-05/5.901, allocations: 4.656 kB / 1.651 GB, free: 35.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006158/5.901, allocations: 11.56 kB / 1.651 GB, free: 35.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003203/5.902, allocations: 161.5 kB / 1.652 GB, free: 35.62 MB / 0.4948 GB 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.0258/5.928, allocations: 11.2 MB / 1.662 GB, free: 29.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004715/5.932, allocations: 1.751 MB / 1.664 GB, free: 29.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/5.935, allocations: 1.035 MB / 1.665 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001536/5.937, allocations: 462.4 kB / 1.666 GB, free: 28.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003055/5.94, allocations: 1.122 MB / 1.667 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=167): time 6.272e-06/5.94, allocations: 0 / 1.667 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=195): time 0.07074/6.01, allocations: 10.25 MB / 1.677 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/6.011, allocations: 258.7 kB / 1.677 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/6.013, allocations: 1.101 MB / 1.678 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007063/6.014, allocations: 28.92 kB / 1.678 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/6.015, allocations: 0.9434 MB / 1.679 GB, free: 26.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/6.016, allocations: 0.6338 MB / 1.68 GB, free: 26.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/6.017, allocations: 3.594 kB / 1.68 GB, free: 26.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001949/6.017, allocations: 393.4 kB / 1.68 GB, free: 26.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/6.019, allocations: 1.015 MB / 1.681 GB, free: 26.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003354/6.023, allocations: 1.485 MB / 1.682 GB, free: 25.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01684/6.04, allocations: 2.365 MB / 1.685 GB, free: 25.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.069e-05/6.04, allocations: 3.969 kB / 1.685 GB, free: 25.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.02271/6.063, allocations: 4.129 MB / 1.689 GB, free: 25.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001119/6.064, allocations: 4.785 MB / 1.693 GB, free: 20.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.76e-05/6.064, allocations: 14.7 kB / 1.693 GB, free: 20.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/6.065, allocations: 269.7 kB / 1.694 GB, free: 20.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004941/6.07, allocations: 0.5732 MB / 1.694 GB, free: 20.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/6.072, allocations: 3.035 MB / 1.697 GB, free: 17.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004523/6.077, allocations: 175.2 kB / 1.697 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000992/6.078, allocations: 213.2 kB / 1.698 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/6.078, allocations: 2.406 kB / 1.698 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02058/6.099, allocations: 3.635 MB / 1.701 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.931e-05/6.099, allocations: 11.06 kB / 1.701 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009224/6.1, allocations: 279.8 kB / 1.701 GB, free: 17.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004748/6.104, allocations: 0.5588 MB / 1.702 GB, free: 17.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/6.108, allocations: 3.029 MB / 1.705 GB, free: 31.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004115/6.112, allocations: 174.9 kB / 1.705 GB, free: 31.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009606/6.113, allocations: 206.4 kB / 1.705 GB, free: 31.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (265): * Single equations (assignments): 258 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001084/6.114, allocations: 235.7 kB / 1.706 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02061/6.134, allocations: 3.539 MB / 1.709 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/6.136, allocations: 209 kB / 1.709 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02676/6.162, allocations: 4.374 MB / 1.713 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/6.163, allocations: 22.25 kB / 1.713 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/6.163, allocations: 0 / 1.713 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0227/6.185, allocations: 3.727 MB / 1.717 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04495/6.23, allocations: 7.446 MB / 1.724 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.741e-05/6.23, allocations: 6.469 kB / 1.724 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005016/6.235, allocations: 450.2 kB / 1.725 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/6.237, allocations: 286.1 kB / 1.725 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007932/6.238, allocations: 84.77 kB / 1.725 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/6.243, allocations: 3.716 MB / 1.729 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/6.243, allocations: 6.688 kB / 1.729 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03392/6.277, allocations: 5.564 MB / 1.734 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00217/6.279, allocations: 0.5274 MB / 1.735 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009854/6.28, allocations: 24.33 kB / 1.735 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/6.284, allocations: 97.2 kB / 1.735 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007294/6.284, allocations: 183.1 kB / 1.735 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004864/6.285, allocations: 181.2 kB / 1.735 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001727/6.287, allocations: 0.7947 MB / 1.736 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/6.287, allocations: 0 / 1.736 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009959/6.297, allocations: 1.896 MB / 1.738 GB, free: 23.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 9 (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,junctionVolume.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 (201): * Single equations (assignments): 194 * 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: 5 * 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: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03505/6.332, allocations: 10.28 MB / 1.748 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01166/6.343, allocations: 4.396 MB / 1.752 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/6.343, allocations: 2.344 kB / 1.752 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004077/6.348, allocations: 1.542 MB / 1.754 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008115/6.356, allocations: 0.9285 MB / 1.755 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/6.381, allocations: 6.587 MB / 1.761 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002251/6.384, allocations: 1.767 MB / 1.763 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01098/6.395, allocations: 1.47 MB / 1.764 GB, free: 17.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003442/6.398, allocations: 1.005 MB / 1.765 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.763e-06/6.398, allocations: 0 / 1.765 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6335/7.032, allocations: 86.37 MB / 1.85 GB, free: 61.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/7.032, allocations: 179.4 kB / 1.85 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.896/13.93, allocations: 0 / 1.85 GB, free: 61.04 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17_res.mat does not exist to compare? outputFormat=mat