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.492/2.492, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.378e-05/2.392e-05, allocations: 4 kB / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.391, allocations: 54.85 MB / 354.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.895/2.286, allocations: 0.687 GB / 1.033 GB, free: 20.14 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/2.286, allocations: 84.77 kB / 1.033 GB, free: 20.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.03/5.317, allocations: 0.544 GB / 1.577 GB, free: 37.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.873e-06/5.317, allocations: 3.906 kB / 1.577 GB, free: 37.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002905/5.317, allocations: 67.47 kB / 1.577 GB, free: 37.73 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.01289/5.33, allocations: 3.01 MB / 1.58 GB, free: 35.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/5.33, allocations: 8.031 kB / 1.58 GB, free: 35.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/5.335, allocations: 444.8 kB / 1.581 GB, free: 34.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007574/5.342, allocations: 1.938 MB / 1.582 GB, free: 32.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/5.342, allocations: 55.98 kB / 1.582 GB, free: 32.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000501/5.343, allocations: 103.9 kB / 1.583 GB, free: 32.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005312/5.348, allocations: 2.107 MB / 1.585 GB, free: 30.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005618/5.354, allocations: 2.348 MB / 1.587 GB, free: 28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-05/5.354, allocations: 7.938 kB / 1.587 GB, free: 28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003518/5.354, allocations: 8 kB / 1.587 GB, free: 27.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002974/5.355, allocations: 154.9 kB / 1.587 GB, free: 27.84 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.02392/5.379, allocations: 10.73 MB / 1.598 GB, free: 16.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/5.383, allocations: 1.71 MB / 1.599 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/5.385, allocations: 0.9568 MB / 1.6 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/5.387, allocations: 461.9 kB / 1.601 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002541/5.389, allocations: 1.043 MB / 1.602 GB, free: 12.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 5.039e-06/5.389, allocations: 0 / 1.602 GB, free: 12.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.06653/5.456, allocations: 9.324 MB / 1.611 GB, free: 2.766 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/5.456, allocations: 256.6 kB / 1.611 GB, free: 2.461 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/5.458, allocations: 1.072 MB / 1.612 GB, free: 1.383 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008144/5.459, allocations: 33.7 kB / 1.612 GB, free: 1.344 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/5.46, allocations: 0.9064 MB / 1.613 GB, free: 436 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/5.462, allocations: 0.5775 MB / 1.614 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/5.462, allocations: 0 / 1.614 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002755/5.462, allocations: 394 kB / 1.614 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/5.465, allocations: 0.9684 MB / 1.615 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003755/5.469, allocations: 1.399 MB / 1.616 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0176/5.487, allocations: 2.312 MB / 1.618 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.909e-05/5.487, allocations: 8 kB / 1.618 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.02292/5.51, allocations: 3.903 MB / 1.622 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001754/5.511, allocations: 4.243 MB / 1.626 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.886e-05/5.511, allocations: 12 kB / 1.626 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006673/5.512, allocations: 179 kB / 1.627 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005009/5.517, allocations: 0.5422 MB / 1.627 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4004/5.918, allocations: 2.339 MB / 1.629 GB, free: 52.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004507/5.922, allocations: 175.5 kB / 1.63 GB, free: 52.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/5.923, allocations: 189.6 kB / 1.63 GB, free: 52.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/5.923, allocations: 5.125 kB / 1.63 GB, free: 52.79 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0202/5.944, allocations: 3.432 MB / 1.633 GB, free: 52.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.867e-05/5.944, allocations: 14.44 kB / 1.633 GB, free: 52.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000534/5.944, allocations: 169.8 kB / 1.633 GB, free: 52.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004622/5.949, allocations: 0.5364 MB / 1.634 GB, free: 52.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/5.951, allocations: 2.338 MB / 1.636 GB, free: 50.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/5.955, allocations: 172.7 kB / 1.636 GB, free: 50.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007234/5.956, allocations: 184.6 kB / 1.636 GB, free: 50.64 MB / 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.000951/5.956, allocations: 226.3 kB / 1.637 GB, free: 50.47 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01953/5.976, allocations: 3.273 MB / 1.64 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007503/5.977, allocations: 195.3 kB / 1.64 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02417/6.001, allocations: 3.88 MB / 1.644 GB, free: 50.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/6.001, allocations: 18.19 kB / 1.644 GB, free: 50.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/6.001, allocations: 7.812 kB / 1.644 GB, free: 50.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02016/6.021, allocations: 3.382 MB / 1.647 GB, free: 49.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03257/6.054, allocations: 6.87 MB / 1.654 GB, free: 48.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/6.054, allocations: 7.188 kB / 1.654 GB, free: 48.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003721/6.058, allocations: 413.6 kB / 1.654 GB, free: 48.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006311/6.058, allocations: 166.5 kB / 1.654 GB, free: 48.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004557/6.059, allocations: 63.91 kB / 1.655 GB, free: 48.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/6.061, allocations: 3.035 MB / 1.657 GB, free: 45.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/6.061, allocations: 9.344 kB / 1.657 GB, free: 45.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02336/6.084, allocations: 5.098 MB / 1.662 GB, free: 44.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002207/6.087, allocations: 0.4992 MB / 1.663 GB, free: 44.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/6.088, allocations: 22.23 kB / 1.663 GB, free: 44.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00327/6.091, allocations: 88.34 kB / 1.663 GB, free: 44.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007714/6.092, allocations: 163.7 kB / 1.663 GB, free: 44.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004767/6.093, allocations: 147.7 kB / 1.663 GB, free: 44.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001901/6.094, allocations: 0.7934 MB / 1.664 GB, free: 44.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.52e-07/6.095, allocations: 0 / 1.664 GB, free: 44.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01032/6.105, allocations: 1.801 MB / 1.666 GB, free: 44.52 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (184): * Single equations (assignments): 178 * 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.03374/6.139, allocations: 9.652 MB / 1.675 GB, free: 41.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01148/6.15, allocations: 4.113 MB / 1.679 GB, free: 41.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/6.15, allocations: 3.094 kB / 1.679 GB, free: 41.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003703/6.154, allocations: 1.413 MB / 1.681 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007482/6.162, allocations: 0.7725 MB / 1.681 GB, free: 40.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02616/6.188, allocations: 6.305 MB / 1.688 GB, free: 39.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/6.19, allocations: 1.72 MB / 1.689 GB, free: 39.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01113/6.201, allocations: 1.408 MB / 1.691 GB, free: 39.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003478/6.205, allocations: 0.9325 MB / 1.692 GB, free: 39.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.463e-06/6.205, allocations: 0 / 1.692 GB, free: 39.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2096/6.415, allocations: 79.2 MB / 1.769 GB, free: 20.86 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/6.415, allocations: 173.4 kB / 1.769 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.311/12.73, allocations: 0 / 1.769 GB, free: 20.68 MB / 0.4948 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