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.407/2.407, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.896e-05/3.902e-05, allocations: 0 / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4052, allocations: 54.85 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.892/2.297, allocations: 0.6877 GB / 1.039 GB, free: 41.12 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/2.298, allocations: 80.95 kB / 1.039 GB, free: 41.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.769/6.067, allocations: 0.6141 GB / 1.653 GB, free: 36.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.134e-06/6.067, allocations: 0 / 1.653 GB, free: 36.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003855/6.067, allocations: 65.62 kB / 1.653 GB, free: 36.35 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.01591/6.083, allocations: 3.191 MB / 1.657 GB, free: 35.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/6.083, allocations: 9.125 kB / 1.657 GB, free: 35.34 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001317/6.085, allocations: 259.7 kB / 1.657 GB, free: 35.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005475/6.09, allocations: 455.4 kB / 1.657 GB, free: 35.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/6.101, allocations: 2 MB / 1.659 GB, free: 34.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/6.101, allocations: 137.4 kB / 1.659 GB, free: 34.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/6.102, allocations: 182.8 kB / 1.66 GB, free: 34.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009078/6.111, allocations: 2.673 MB / 1.662 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.972e-05/6.112, allocations: 5.844 kB / 1.662 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004802/6.112, allocations: 76.5 kB / 1.662 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003563/6.112, allocations: 161.9 kB / 1.662 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008156/6.121, allocations: 2.237 MB / 1.665 GB, free: 34.35 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.02917/6.15, allocations: 11.54 MB / 1.676 GB, free: 28.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005502/6.155, allocations: 1.807 MB / 1.678 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003063/6.158, allocations: 1.087 MB / 1.679 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/6.16, allocations: 464.7 kB / 1.679 GB, free: 27.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0037/6.164, allocations: 1.189 MB / 1.68 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=172): time 7.214e-06/6.164, allocations: 1.781 kB / 1.68 GB, free: 27.46 MB / 0.4948 GB 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=200): time 0.04987/6.214, allocations: 9.516 MB / 1.69 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/6.214, allocations: 264.7 kB / 1.69 GB, free: 25.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003484/6.218, allocations: 1.385 MB / 1.691 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008007/6.218, allocations: 64.67 kB / 1.691 GB, free: 25.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/6.22, allocations: 0.9172 MB / 1.692 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001325/6.221, allocations: 0.6761 MB / 1.693 GB, free: 25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/6.222, allocations: 45.97 kB / 1.693 GB, free: 25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002217/6.222, allocations: 400.8 kB / 1.693 GB, free: 24.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003226/6.225, allocations: 1.037 MB / 1.694 GB, free: 24.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003852/6.229, allocations: 1.515 MB / 1.696 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003932/6.233, allocations: 1.328 MB / 1.697 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-05/6.233, allocations: 5.281 kB / 1.697 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.01136/6.244, allocations: 3.194 MB / 1.7 GB, free: 23.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001186/6.246, allocations: 4.847 MB / 1.705 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.474e-05/6.246, allocations: 10.69 kB / 1.705 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/6.247, allocations: 297.9 kB / 1.705 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005105/6.252, allocations: 0.5734 MB / 1.706 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/6.255, allocations: 3 MB / 1.709 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/6.26, allocations: 219.6 kB / 1.709 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/6.261, allocations: 208.6 kB / 1.709 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/6.261, allocations: 9.516 kB / 1.709 GB, free: 16.1 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01041/6.271, allocations: 2.919 MB / 1.712 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.051e-05/6.272, allocations: 13.09 kB / 1.712 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/6.273, allocations: 297.6 kB / 1.712 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005063/6.278, allocations: 0.5643 MB / 1.713 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/6.282, allocations: 2.996 MB / 1.716 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005819/6.288, allocations: 217.9 kB / 1.716 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/6.289, allocations: 203.8 kB / 1.716 GB, free: 29.31 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.001784/6.291, allocations: 310.5 kB / 1.716 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/6.292, allocations: 221.8 kB / 1.717 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01932/6.311, allocations: 3.734 MB / 1.72 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.1e-05/6.311, allocations: 22.44 kB / 1.72 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/6.311, allocations: 0 / 1.72 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01151/6.323, allocations: 2.892 MB / 1.723 GB, free: 28.17 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02913/6.352, allocations: 6.986 MB / 1.73 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/6.352, allocations: 7.938 kB / 1.73 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005551/6.358, allocations: 462.8 kB / 1.73 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002088/6.36, allocations: 312.3 kB / 1.731 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009321/6.361, allocations: 115.8 kB / 1.731 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005677/6.367, allocations: 3.729 MB / 1.734 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.441e-05/6.367, allocations: 11.22 kB / 1.734 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/6.386, allocations: 4.879 MB / 1.739 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003537/6.39, allocations: 0.5525 MB / 1.74 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001717/6.391, allocations: 66.44 kB / 1.74 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005321/6.397, allocations: 132.9 kB / 1.74 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/6.398, allocations: 188.1 kB / 1.74 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009922/6.399, allocations: 184 kB / 1.74 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003921/6.403, allocations: 1.046 MB / 1.741 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.363e-06/6.403, allocations: 0 / 1.741 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0124/6.415, allocations: 2.07 MB / 1.743 GB, free: 21.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (205): * Single equations (assignments): 198 * 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.02332/6.439, allocations: 9.501 MB / 1.753 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01347/6.452, allocations: 4.524 MB / 1.757 GB, free: 17.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.82e-05/6.452, allocations: 3.25 kB / 1.757 GB, free: 17.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00479/6.457, allocations: 1.608 MB / 1.759 GB, free: 17.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009276/6.467, allocations: 1.047 MB / 1.76 GB, free: 17.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02764/6.494, allocations: 6.72 MB / 1.766 GB, free: 16.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002522/6.497, allocations: 1.765 MB / 1.768 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0118/6.509, allocations: 1.58 MB / 1.769 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003582/6.512, allocations: 1.017 MB / 1.77 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of SimCode: time 1.773e-06/6.512, allocations: 0 / 1.77 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7227/7.235, allocations: 110.1 MB / 1.878 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/7.235, allocations: 225 kB / 1.878 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/15.2, allocations: 2.25 kB / 1.878 GB, free: 55.93 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