Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.022/2.022, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.798e-05, allocations: 0 / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 48.71 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.373/2.483, allocations: 0.6806 GB / 0.9895 GB, free: 98.44 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/2.483, allocations: 76.92 kB / 0.9895 GB, free: 98.44 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.962/5.445, allocations: 0.5438 GB / 1.533 GB, free: 30.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.124e-06/5.445, allocations: 0 / 1.533 GB, free: 30.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002507/5.446, allocations: 64.5 kB / 1.533 GB, free: 30.04 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.01246/5.458, allocations: 3.005 MB / 1.536 GB, free: 28.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/5.458, allocations: 9.844 kB / 1.536 GB, free: 28.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/5.463, allocations: 437.5 kB / 1.537 GB, free: 28.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007633/5.47, allocations: 1.928 MB / 1.539 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/5.471, allocations: 54.38 kB / 1.539 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004958/5.471, allocations: 94.22 kB / 1.539 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005123/5.476, allocations: 2.102 MB / 1.541 GB, free: 27.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005218/5.481, allocations: 2.344 MB / 1.543 GB, free: 27.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.75e-05/5.482, allocations: 6.094 kB / 1.543 GB, free: 27.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/5.482, allocations: 3.844 kB / 1.543 GB, free: 27.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002951/5.482, allocations: 165.5 kB / 1.543 GB, free: 27.55 MB / 442.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.02133/5.504, allocations: 10.69 MB / 1.554 GB, free: 21.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004024/5.508, allocations: 1.703 MB / 1.555 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/5.51, allocations: 0.9473 MB / 1.556 GB, free: 21.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/5.511, allocations: 450.4 kB / 1.557 GB, free: 21.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002107/5.513, allocations: 1.033 MB / 1.558 GB, free: 20.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=149): time 6.422e-06/5.513, allocations: 2.031 kB / 1.558 GB, free: 20.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=172): time 0.06498/5.578, allocations: 9.344 MB / 1.567 GB, free: 20.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/5.578, allocations: 258.8 kB / 1.567 GB, free: 19.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/5.581, allocations: 1.071 MB / 1.568 GB, free: 19.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000724/5.581, allocations: 33.27 kB / 1.568 GB, free: 19.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/5.583, allocations: 0.9053 MB / 1.569 GB, free: 18.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001111/5.584, allocations: 0.5669 MB / 1.57 GB, free: 18.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/5.584, allocations: 3.969 kB / 1.57 GB, free: 18.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/5.584, allocations: 385.5 kB / 1.57 GB, free: 17.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/5.587, allocations: 0.9619 MB / 1.571 GB, free: 17.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003237/5.59, allocations: 1.382 MB / 1.572 GB, free: 16.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01656/5.607, allocations: 2.3 MB / 1.575 GB, free: 16.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/5.607, allocations: 3.844 kB / 1.575 GB, free: 16.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.02196/5.629, allocations: 3.946 MB / 1.578 GB, free: 15.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00144/5.63, allocations: 4.24 MB / 1.583 GB, free: 26.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-05/5.631, allocations: 9.812 kB / 1.583 GB, free: 26.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/5.631, allocations: 169 kB / 1.583 GB, free: 26.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004855/5.636, allocations: 0.5486 MB / 1.583 GB, free: 26.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/5.638, allocations: 2.346 MB / 1.586 GB, free: 24.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/5.642, allocations: 171.3 kB / 1.586 GB, free: 24.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009534/5.643, allocations: 191.5 kB / 1.586 GB, free: 24.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/5.644, allocations: 6.438 kB / 1.586 GB, free: 24.46 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01938/5.663, allocations: 3.463 MB / 1.589 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.145e-05/5.663, allocations: 12.69 kB / 1.589 GB, free: 22.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004804/5.663, allocations: 172.2 kB / 1.589 GB, free: 22.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00457/5.668, allocations: 0.5349 MB / 1.59 GB, free: 22.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/5.67, allocations: 2.336 MB / 1.592 GB, free: 19.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003922/5.674, allocations: 168.1 kB / 1.592 GB, free: 19.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009493/5.675, allocations: 185.5 kB / 1.593 GB, free: 19.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * 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.001038/5.676, allocations: 234.1 kB / 1.593 GB, free: 19.38 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0191/5.695, allocations: 3.289 MB / 1.596 GB, free: 16.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008/5.696, allocations: 187.5 kB / 1.596 GB, free: 16.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02376/5.72, allocations: 3.915 MB / 1.6 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/5.72, allocations: 19.94 kB / 1.6 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/5.72, allocations: 4 kB / 1.6 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02015/5.74, allocations: 3.403 MB / 1.603 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03333/5.773, allocations: 6.863 MB / 1.61 GB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/5.774, allocations: 11.69 kB / 1.61 GB, free: 4.789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003888/5.777, allocations: 409.9 kB / 1.61 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006715/5.778, allocations: 169.6 kB / 1.611 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005854/5.779, allocations: 67.67 kB / 1.611 GB, free: 4.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002754/5.782, allocations: 3.03 MB / 1.614 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/5.782, allocations: 7.938 kB / 1.614 GB, free: 1.109 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02515/5.807, allocations: 5.091 MB / 1.619 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002183/5.809, allocations: 0.5022 MB / 1.619 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008836/5.81, allocations: 27.98 kB / 1.619 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002808/5.813, allocations: 87.75 kB / 1.619 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005929/5.813, allocations: 157 kB / 1.619 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004307/5.814, allocations: 144 kB / 1.62 GB, free: 10.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001941/5.816, allocations: 0.7928 MB / 1.62 GB, free: 10.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.72e-07/5.816, allocations: 0 / 1.62 GB, free: 10.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01072/5.827, allocations: 1.791 MB / 1.622 GB, free: 8.297 MB / 474.7 MB 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: 10 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,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.4004/6.227, allocations: 9.63 MB / 1.631 GB, free: 59.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01196/6.239, allocations: 4.003 MB / 1.635 GB, free: 58.92 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/6.239, allocations: 2.344 kB / 1.635 GB, free: 58.92 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00353/6.243, allocations: 1.366 MB / 1.637 GB, free: 58.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007349/6.25, allocations: 0.7765 MB / 1.637 GB, free: 58.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02636/6.276, allocations: 6.27 MB / 1.644 GB, free: 57.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/6.279, allocations: 1.714 MB / 1.645 GB, free: 56.97 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01197/6.291, allocations: 1.408 MB / 1.647 GB, free: 56.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003312/6.294, allocations: 0.9213 MB / 1.648 GB, free: 56.93 MB / 474.7 MB Notification: Performance of SimCode: time 1.333e-06/6.294, allocations: 3.906 kB / 1.648 GB, free: 56.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2074/6.501, allocations: 78.71 MB / 1.724 GB, free: 51.76 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/6.502, allocations: 182 kB / 1.725 GB, free: 51.56 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.416/12.92, allocations: 3.969 kB / 1.725 GB, free: 51.56 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat does not exist to compare? outputFormat=mat