Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.975/1.975, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.185e-05, allocations: 0 / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.323/2.428, allocations: 0.6806 GB / 0.9895 GB, free: 98.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/2.428, allocations: 76.95 kB / 0.9895 GB, free: 98.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.942/5.37, allocations: 0.5438 GB / 1.533 GB, free: 30.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.216e-06/5.37, allocations: 1.219 kB / 1.533 GB, free: 30.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002717/5.37, allocations: 66.48 kB / 1.533 GB, free: 30.03 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.0121/5.382, allocations: 3.008 MB / 1.536 GB, free: 28.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/5.382, allocations: 9.25 kB / 1.536 GB, free: 28.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004469/5.387, allocations: 438.5 kB / 1.537 GB, free: 28.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008082/5.395, allocations: 1.922 MB / 1.539 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/5.395, allocations: 55.38 kB / 1.539 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006915/5.396, allocations: 98.19 kB / 1.539 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007872/5.404, allocations: 2.102 MB / 1.541 GB, free: 27.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/5.414, allocations: 2.343 MB / 1.543 GB, free: 27.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.409e-05/5.414, allocations: 14.05 kB / 1.543 GB, free: 27.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004886/5.415, allocations: 7.719 kB / 1.543 GB, free: 27.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004423/5.415, allocations: 154 kB / 1.543 GB, free: 27.54 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.02813/5.444, allocations: 10.7 MB / 1.554 GB, free: 21.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/5.448, allocations: 1.708 MB / 1.555 GB, free: 21.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/5.45, allocations: 0.9413 MB / 1.556 GB, free: 21.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/5.451, allocations: 445 kB / 1.557 GB, free: 21.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00229/5.454, allocations: 1.04 MB / 1.558 GB, free: 20.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=149): time 5.851e-06/5.454, allocations: 0 / 1.558 GB, free: 20.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=172): time 0.06359/5.517, allocations: 9.344 MB / 1.567 GB, free: 20 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/5.517, allocations: 260.8 kB / 1.567 GB, free: 19.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/5.52, allocations: 1.076 MB / 1.568 GB, free: 19.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006925/5.52, allocations: 29.11 kB / 1.568 GB, free: 19.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009445/5.521, allocations: 0.9017 MB / 1.569 GB, free: 18.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009569/5.522, allocations: 0.5608 MB / 1.57 GB, free: 18.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/5.523, allocations: 2.875 kB / 1.57 GB, free: 18.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/5.523, allocations: 390.6 kB / 1.57 GB, free: 17.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/5.525, allocations: 0.9578 MB / 1.571 GB, free: 17.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/5.528, allocations: 1.385 MB / 1.572 GB, free: 16.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01639/5.544, allocations: 2.303 MB / 1.575 GB, free: 16.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.858e-05/5.544, allocations: 3.938 kB / 1.575 GB, free: 16.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.02161/5.566, allocations: 3.939 MB / 1.578 GB, free: 15.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00162/5.568, allocations: 4.242 MB / 1.583 GB, free: 26.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.865e-05/5.568, allocations: 9.406 kB / 1.583 GB, free: 26.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000671/5.568, allocations: 167.1 kB / 1.583 GB, free: 26.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00499/5.573, allocations: 0.5466 MB / 1.583 GB, free: 26.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/5.576, allocations: 2.344 MB / 1.586 GB, free: 24.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004368/5.58, allocations: 174.7 kB / 1.586 GB, free: 24.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009838/5.581, allocations: 194.6 kB / 1.586 GB, free: 24.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/5.581, allocations: 12.59 kB / 1.586 GB, free: 24.39 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02031/5.601, allocations: 3.46 MB / 1.589 GB, free: 22.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.417e-05/5.602, allocations: 14.8 kB / 1.589 GB, free: 22.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/5.602, allocations: 173 kB / 1.589 GB, free: 22.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004725/5.607, allocations: 0.5385 MB / 1.59 GB, free: 22.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/5.609, allocations: 2.337 MB / 1.592 GB, free: 19.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003966/5.613, allocations: 174.1 kB / 1.592 GB, free: 19.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009101/5.614, allocations: 180.4 kB / 1.593 GB, free: 19.48 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.001001/5.615, allocations: 229.8 kB / 1.593 GB, free: 19.24 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01988/5.635, allocations: 3.293 MB / 1.596 GB, free: 16.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009969/5.636, allocations: 189.8 kB / 1.596 GB, free: 16.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0241/5.66, allocations: 3.903 MB / 1.6 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/5.66, allocations: 20 kB / 1.6 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/5.66, allocations: 0 / 1.6 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02089/5.681, allocations: 3.404 MB / 1.603 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03426/5.715, allocations: 6.869 MB / 1.61 GB, free: 4.652 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/5.715, allocations: 4.719 kB / 1.61 GB, free: 4.648 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003858/5.719, allocations: 415.6 kB / 1.61 GB, free: 4.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007451/5.72, allocations: 167.2 kB / 1.611 GB, free: 4.098 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006054/5.721, allocations: 67.94 kB / 1.611 GB, free: 4.031 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/5.724, allocations: 3.03 MB / 1.614 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/5.724, allocations: 11.94 kB / 1.614 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02544/5.749, allocations: 5.092 MB / 1.619 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/5.751, allocations: 0.4983 MB / 1.619 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/5.753, allocations: 23.98 kB / 1.619 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003249/5.756, allocations: 95.75 kB / 1.619 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000772/5.757, allocations: 157 kB / 1.619 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005967/5.757, allocations: 147.9 kB / 1.62 GB, free: 10.53 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002243/5.76, allocations: 0.785 MB / 1.62 GB, free: 9.746 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.12e-07/5.76, allocations: 4 kB / 1.62 GB, free: 9.742 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01069/5.77, allocations: 1.784 MB / 1.622 GB, free: 7.961 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.3984/6.169, allocations: 9.642 MB / 1.631 GB, free: 59.61 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01277/6.182, allocations: 4.002 MB / 1.635 GB, free: 59.31 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/6.182, allocations: 1.75 kB / 1.635 GB, free: 59.31 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003966/6.186, allocations: 1.354 MB / 1.637 GB, free: 59.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007468/6.193, allocations: 0.7807 MB / 1.637 GB, free: 59.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02933/6.223, allocations: 6.272 MB / 1.644 GB, free: 58.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003087/6.226, allocations: 1.717 MB / 1.645 GB, free: 57.36 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01169/6.238, allocations: 1.405 MB / 1.647 GB, free: 57.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003564/6.241, allocations: 0.9208 MB / 1.648 GB, free: 57.33 MB / 474.7 MB Notification: Performance of SimCode: time 2.325e-06/6.241, allocations: 1.469 kB / 1.648 GB, free: 57.33 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2098/6.451, allocations: 78.71 MB / 1.724 GB, free: 52.15 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002932/6.451, allocations: 187 kB / 1.725 GB, free: 51.95 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.413/12.86, allocations: 0 / 1.725 GB, free: 51.95 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat does not exist to compare? outputFormat=mat