Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.467/2.467, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.117e-05/3.111e-05, allocations: 7.938 kB / 299.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3882, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.039/2.427, allocations: 0.687 GB / 1.033 GB, free: 19.87 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/2.428, allocations: 88.72 kB / 1.033 GB, free: 19.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025/5.453, allocations: 0.544 GB / 1.577 GB, free: 37.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.224e-06/5.453, allocations: 0 / 1.577 GB, free: 37.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002922/5.453, allocations: 64.12 kB / 1.577 GB, free: 37.46 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.01291/5.466, allocations: 3.008 MB / 1.58 GB, free: 34.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/5.466, allocations: 12.03 kB / 1.58 GB, free: 34.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/5.471, allocations: 444.8 kB / 1.581 GB, free: 34.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007998/5.479, allocations: 1.932 MB / 1.582 GB, free: 32.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/5.479, allocations: 52 kB / 1.583 GB, free: 32.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006972/5.48, allocations: 107.9 kB / 1.583 GB, free: 32.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005656/5.486, allocations: 2.114 MB / 1.585 GB, free: 30.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006362/5.492, allocations: 2.354 MB / 1.587 GB, free: 27.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.207e-05/5.492, allocations: 4 kB / 1.587 GB, free: 27.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003735/5.493, allocations: 8 kB / 1.587 GB, free: 27.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003071/5.493, allocations: 150.9 kB / 1.587 GB, free: 27.35 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.02312/5.516, allocations: 10.73 MB / 1.598 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/5.52, allocations: 1.721 MB / 1.599 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002493/5.523, allocations: 0.9529 MB / 1.6 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002057/5.525, allocations: 457.2 kB / 1.601 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002905/5.528, allocations: 1.043 MB / 1.602 GB, free: 11.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 6.583e-06/5.528, allocations: 0 / 1.602 GB, free: 11.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.06444/5.592, allocations: 9.332 MB / 1.611 GB, free: 2.266 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/5.593, allocations: 252.6 kB / 1.611 GB, free: 1.965 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/5.595, allocations: 1.072 MB / 1.612 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006496/5.595, allocations: 29.7 kB / 1.612 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009502/5.596, allocations: 0.9105 MB / 1.613 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/5.597, allocations: 0.5737 MB / 1.614 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/5.598, allocations: 0 / 1.614 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002655/5.598, allocations: 393.8 kB / 1.614 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/5.601, allocations: 0.9684 MB / 1.615 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003498/5.604, allocations: 1.399 MB / 1.616 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01785/5.622, allocations: 2.309 MB / 1.619 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.199e-05/5.622, allocations: 4 kB / 1.619 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.03002/5.652, allocations: 3.906 MB / 1.622 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002487/5.655, allocations: 4.249 MB / 1.626 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.918e-05/5.655, allocations: 12 kB / 1.626 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/5.656, allocations: 171.3 kB / 1.627 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007907/5.664, allocations: 0.5461 MB / 1.627 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5006/6.165, allocations: 2.327 MB / 1.629 GB, free: 51.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004456/6.169, allocations: 179.1 kB / 1.63 GB, free: 51.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009552/6.17, allocations: 190.2 kB / 1.63 GB, free: 51.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/6.17, allocations: 7 kB / 1.63 GB, free: 51.87 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02039/6.191, allocations: 3.432 MB / 1.633 GB, free: 51.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.504e-05/6.191, allocations: 11.41 kB / 1.633 GB, free: 51.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005774/6.191, allocations: 171.1 kB / 1.633 GB, free: 51.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004701/6.196, allocations: 0.5334 MB / 1.634 GB, free: 51.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/6.198, allocations: 2.345 MB / 1.636 GB, free: 49.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003934/6.202, allocations: 169.8 kB / 1.636 GB, free: 49.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006979/6.203, allocations: 187.2 kB / 1.636 GB, free: 49.71 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.0009367/6.204, allocations: 225.2 kB / 1.637 GB, free: 49.55 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02402/6.228, allocations: 3.269 MB / 1.64 GB, free: 49.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/6.229, allocations: 190.2 kB / 1.64 GB, free: 49.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03372/6.263, allocations: 3.887 MB / 1.644 GB, free: 49.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/6.263, allocations: 17.06 kB / 1.644 GB, free: 49.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/6.263, allocations: 0 / 1.644 GB, free: 49.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02791/6.291, allocations: 3.388 MB / 1.647 GB, free: 48.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04651/6.337, allocations: 6.874 MB / 1.654 GB, free: 47.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.113e-05/6.337, allocations: 9.312 kB / 1.654 GB, free: 47.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005655/6.343, allocations: 410.9 kB / 1.654 GB, free: 47.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009758/6.344, allocations: 162.8 kB / 1.654 GB, free: 47.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007651/6.345, allocations: 69.58 kB / 1.655 GB, free: 47.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003191/6.348, allocations: 3.039 MB / 1.657 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-05/6.348, allocations: 11.45 kB / 1.658 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03448/6.383, allocations: 5.087 MB / 1.662 GB, free: 43.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002748/6.386, allocations: 0.4942 MB / 1.663 GB, free: 43.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/6.387, allocations: 34.16 kB / 1.663 GB, free: 43.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004317/6.391, allocations: 92.16 kB / 1.663 GB, free: 43.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008971/6.392, allocations: 154.8 kB / 1.663 GB, free: 43.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006363/6.393, allocations: 150.8 kB / 1.663 GB, free: 43.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002773/6.396, allocations: 0.7958 MB / 1.664 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.422e-06/6.396, allocations: 0 / 1.664 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01249/6.408, allocations: 1.798 MB / 1.666 GB, free: 43.59 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.04725/6.455, allocations: 9.652 MB / 1.675 GB, free: 40.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01578/6.471, allocations: 4.115 MB / 1.679 GB, free: 40.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-05/6.471, allocations: 2.844 kB / 1.679 GB, free: 40.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005051/6.476, allocations: 1.41 MB / 1.681 GB, free: 39.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01057/6.487, allocations: 0.7785 MB / 1.681 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02722/6.514, allocations: 6.3 MB / 1.688 GB, free: 38.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/6.517, allocations: 1.723 MB / 1.689 GB, free: 38.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01004/6.527, allocations: 1.407 MB / 1.691 GB, free: 38.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003041/6.53, allocations: 0.9333 MB / 1.692 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/6.53, allocations: 0 / 1.692 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1975/6.728, allocations: 79.19 MB / 1.769 GB, free: 20.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/6.728, allocations: 173.4 kB / 1.769 GB, free: 20.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.266/12.99, allocations: 0 / 1.769 GB, free: 20.02 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat does not exist to compare? outputFormat=mat