Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.75e-05, allocations: 4 kB / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.309/2.415, allocations: 0.6807 GB / 0.9896 GB, free: 98.33 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/2.416, allocations: 79.41 kB / 0.9896 GB, free: 98.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.181/5.597, allocations: 0.6076 GB / 1.597 GB, free: 5.047 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.374e-06/5.597, allocations: 0 / 1.597 GB, free: 5.047 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003495/5.597, allocations: 67.78 kB / 1.597 GB, free: 4.984 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.01397/5.611, allocations: 3.165 MB / 1.6 GB, free: 1.766 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/5.611, allocations: 12.02 kB / 1.6 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005051/5.616, allocations: 460.6 kB / 1.601 GB, free: 1.301 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008957/5.625, allocations: 1.986 MB / 1.603 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/5.625, allocations: 60 kB / 1.603 GB, free: 15.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/5.627, allocations: 103.9 kB / 1.603 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007646/5.634, allocations: 2.189 MB / 1.605 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009092/5.643, allocations: 2.437 MB / 1.607 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-05/5.643, allocations: 7.938 kB / 1.607 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004548/5.644, allocations: 8 kB / 1.607 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003665/5.644, allocations: 166.9 kB / 1.608 GB, free: 10.17 MB / 458.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.3959/6.04, allocations: 11.16 MB / 1.619 GB, free: 32.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00536/6.046, allocations: 1.751 MB / 1.62 GB, free: 31.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002947/6.049, allocations: 1.016 MB / 1.621 GB, free: 31.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001637/6.05, allocations: 457.1 kB / 1.622 GB, free: 31.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003706/6.054, allocations: 1.109 MB / 1.623 GB, free: 31.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=163): time 5.721e-06/6.054, allocations: 0 / 1.623 GB, free: 31.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=191): time 0.07454/6.129, allocations: 10.25 MB / 1.633 GB, free: 30.62 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/6.129, allocations: 259 kB / 1.633 GB, free: 30.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/6.132, allocations: 1.097 MB / 1.634 GB, free: 30.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007676/6.132, allocations: 29.92 kB / 1.634 GB, free: 30.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/6.134, allocations: 0.949 MB / 1.635 GB, free: 29.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001294/6.135, allocations: 0.621 MB / 1.636 GB, free: 29.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/6.135, allocations: 3.156 kB / 1.636 GB, free: 29.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/6.136, allocations: 394.5 kB / 1.636 GB, free: 29.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/6.138, allocations: 1.003 MB / 1.637 GB, free: 29.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003797/6.142, allocations: 1.482 MB / 1.638 GB, free: 28.72 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01673/6.159, allocations: 2.357 MB / 1.641 GB, free: 28.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.013e-05/6.159, allocations: 4.75 kB / 1.641 GB, free: 28.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.02282/6.182, allocations: 4.15 MB / 1.645 GB, free: 28.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00111/6.183, allocations: 4.784 MB / 1.65 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.17e-05/6.183, allocations: 17.06 kB / 1.65 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/6.184, allocations: 287.5 kB / 1.65 GB, free: 23.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00513/6.19, allocations: 0.5648 MB / 1.65 GB, free: 23.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/6.192, allocations: 3.027 MB / 1.653 GB, free: 20.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004654/6.197, allocations: 174.2 kB / 1.653 GB, free: 20.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/6.198, allocations: 213.9 kB / 1.654 GB, free: 20.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/6.198, allocations: 3.312 kB / 1.654 GB, free: 20.97 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02065/6.219, allocations: 3.663 MB / 1.657 GB, free: 20.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.364e-05/6.219, allocations: 12.09 kB / 1.657 GB, free: 20.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009579/6.22, allocations: 280.4 kB / 1.658 GB, free: 20.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00486/6.225, allocations: 0.5643 MB / 1.658 GB, free: 20.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/6.227, allocations: 3.026 MB / 1.661 GB, free: 18.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/6.232, allocations: 172.6 kB / 1.661 GB, free: 18.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009965/6.233, allocations: 208.2 kB / 1.661 GB, free: 18.24 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (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.001004/6.234, allocations: 224.8 kB / 1.662 GB, free: 18.07 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02013/6.254, allocations: 3.56 MB / 1.665 GB, free: 17.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/6.255, allocations: 202.8 kB / 1.665 GB, free: 17.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.026/6.281, allocations: 4.394 MB / 1.67 GB, free: 17.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/6.281, allocations: 19.81 kB / 1.67 GB, free: 17.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/6.281, allocations: 2.484 kB / 1.67 GB, free: 17.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02157/6.303, allocations: 3.747 MB / 1.673 GB, free: 17.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0336/6.336, allocations: 7.435 MB / 1.681 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/6.336, allocations: 5.969 kB / 1.681 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003923/6.34, allocations: 451.8 kB / 1.681 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/6.342, allocations: 289.7 kB / 1.681 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005599/6.342, allocations: 82.12 kB / 1.681 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003499/6.346, allocations: 3.713 MB / 1.685 GB, free: 28.56 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/6.346, allocations: 17.39 kB / 1.685 GB, free: 28.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02504/6.371, allocations: 5.556 MB / 1.69 GB, free: 27.51 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/6.373, allocations: 0.5211 MB / 1.691 GB, free: 27.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009512/6.374, allocations: 24.16 kB / 1.691 GB, free: 27.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003257/6.377, allocations: 96.75 kB / 1.691 GB, free: 27.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007608/6.378, allocations: 181.3 kB / 1.691 GB, free: 27.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005186/6.379, allocations: 177.4 kB / 1.691 GB, free: 27.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001781/6.38, allocations: 0.7997 MB / 1.692 GB, free: 27.19 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.225e-06/6.381, allocations: 0 / 1.692 GB, free: 27.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01041/6.391, allocations: 1.886 MB / 1.694 GB, free: 27.19 MB / 474.7 MB 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: 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 (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.03461/6.426, allocations: 10.28 MB / 1.704 GB, free: 23.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01073/6.436, allocations: 4.276 MB / 1.708 GB, free: 23.63 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/6.436, allocations: 0 / 1.708 GB, free: 23.63 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00399/6.44, allocations: 1.506 MB / 1.71 GB, free: 23.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008186/6.449, allocations: 0.9116 MB / 1.711 GB, free: 23.38 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02609/6.475, allocations: 6.535 MB / 1.717 GB, free: 22.31 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/6.477, allocations: 1.764 MB / 1.719 GB, free: 21.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01124/6.488, allocations: 1.479 MB / 1.72 GB, free: 21.33 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003255/6.491, allocations: 0.997 MB / 1.721 GB, free: 21.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/6.491, allocations: 0 / 1.721 GB, free: 21.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6128/7.104, allocations: 86.03 MB / 1.805 GB, free: 65.35 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/7.105, allocations: 183.3 kB / 1.805 GB, free: 65.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.821/13.93, allocations: 4.156 kB / 1.805 GB, free: 65.16 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17_res.mat does not exist to compare? outputFormat=mat