Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.507/2.507, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.639e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3882, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.308/2.697, allocations: 0.6871 GB / 1.033 GB, free: 127.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/2.697, allocations: 77.5 kB / 1.033 GB, free: 127.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.591/6.288, allocations: 0.6079 GB / 1.641 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.424e-06/6.288, allocations: 0 / 1.641 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002933/6.289, allocations: 66.25 kB / 1.641 GB, free: 38.78 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01408/6.303, allocations: 3.193 MB / 1.644 GB, free: 37.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/6.303, allocations: 6.406 kB / 1.644 GB, free: 37.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005305/6.308, allocations: 470.2 kB / 1.645 GB, free: 37.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009033/6.317, allocations: 1.997 MB / 1.647 GB, free: 36.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/6.317, allocations: 62.25 kB / 1.647 GB, free: 36.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006103/6.318, allocations: 101.4 kB / 1.647 GB, free: 36.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006388/6.324, allocations: 2.2 MB / 1.649 GB, free: 36.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006417/6.331, allocations: 2.458 MB / 1.651 GB, free: 36.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.638e-05/6.331, allocations: 1.031 kB / 1.651 GB, free: 36.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004022/6.331, allocations: 9.656 kB / 1.651 GB, free: 36.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003452/6.332, allocations: 160 kB / 1.652 GB, free: 36.51 MB / 0.4948 GB 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.02495/6.357, allocations: 11.2 MB / 1.663 GB, free: 30.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004909/6.362, allocations: 1.75 MB / 1.664 GB, free: 30.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002561/6.364, allocations: 1.041 MB / 1.665 GB, free: 30.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/6.366, allocations: 460.5 kB / 1.666 GB, free: 29.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002977/6.369, allocations: 1.119 MB / 1.667 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=167): time 6.532e-06/6.369, allocations: 0 / 1.667 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=195): time 0.07854/6.448, allocations: 10.24 MB / 1.677 GB, free: 28.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/6.448, allocations: 261.3 kB / 1.677 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/6.45, allocations: 1.1 MB / 1.678 GB, free: 28.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006095/6.451, allocations: 29.61 kB / 1.678 GB, free: 28.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009854/6.452, allocations: 0.9434 MB / 1.679 GB, free: 27.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000912/6.453, allocations: 0.6392 MB / 1.68 GB, free: 27.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/6.453, allocations: 3.875 kB / 1.68 GB, free: 27.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001636/6.453, allocations: 391 kB / 1.68 GB, free: 27.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002717/6.456, allocations: 1.018 MB / 1.681 GB, free: 27.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/6.459, allocations: 1.482 MB / 1.683 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01865/6.478, allocations: 2.371 MB / 1.685 GB, free: 26.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.952e-05/6.478, allocations: 6.5 kB / 1.685 GB, free: 26.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.02523/6.503, allocations: 4.126 MB / 1.689 GB, free: 26.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001053/6.504, allocations: 4.784 MB / 1.694 GB, free: 21.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-05/6.504, allocations: 13.56 kB / 1.694 GB, free: 21.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/6.505, allocations: 290.8 kB / 1.694 GB, free: 21.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005561/6.511, allocations: 0.5668 MB / 1.694 GB, free: 21.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/6.514, allocations: 3.024 MB / 1.697 GB, free: 18.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00479/6.518, allocations: 184.9 kB / 1.698 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008786/6.519, allocations: 208.7 kB / 1.698 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/6.519, allocations: 3.406 kB / 1.698 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02247/6.542, allocations: 3.632 MB / 1.701 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/6.542, allocations: 11.31 kB / 1.701 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/6.543, allocations: 276.4 kB / 1.702 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005206/6.548, allocations: 0.5604 MB / 1.702 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/6.552, allocations: 3.031 MB / 1.705 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/6.556, allocations: 176.6 kB / 1.705 GB, free: 32.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000669/6.557, allocations: 201.1 kB / 1.705 GB, free: 32.06 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (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.001009/6.558, allocations: 232.2 kB / 1.706 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02352/6.582, allocations: 3.549 MB / 1.709 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/6.583, allocations: 203.1 kB / 1.709 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/6.613, allocations: 4.367 MB / 1.714 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/6.613, allocations: 27.27 kB / 1.714 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/6.613, allocations: 7.734 kB / 1.714 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0243/6.638, allocations: 3.716 MB / 1.717 GB, free: 30.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03812/6.676, allocations: 7.459 MB / 1.724 GB, free: 29.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/6.676, allocations: 6.531 kB / 1.725 GB, free: 29.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004335/6.68, allocations: 449.5 kB / 1.725 GB, free: 29.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/6.682, allocations: 287 kB / 1.725 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006005/6.682, allocations: 83.58 kB / 1.725 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004104/6.686, allocations: 3.72 MB / 1.729 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/6.686, allocations: 11.77 kB / 1.729 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0278/6.714, allocations: 5.556 MB / 1.734 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00217/6.716, allocations: 0.5266 MB / 1.735 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009973/6.718, allocations: 29.67 kB / 1.735 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003394/6.721, allocations: 96.41 kB / 1.735 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006168/6.722, allocations: 182.2 kB / 1.735 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004988/6.722, allocations: 181.5 kB / 1.735 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001849/6.724, allocations: 0.8002 MB / 1.736 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.51e-07/6.724, allocations: 0 / 1.736 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009815/6.734, allocations: 1.894 MB / 1.738 GB, free: 24.7 MB / 0.5105 GB 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: 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 (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.03839/6.772, allocations: 10.29 MB / 1.748 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01221/6.784, allocations: 4.386 MB / 1.752 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/6.785, allocations: 8.125 kB / 1.752 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004313/6.789, allocations: 1.545 MB / 1.754 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009111/6.798, allocations: 0.9154 MB / 1.755 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/6.826, allocations: 6.571 MB / 1.761 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002746/6.829, allocations: 1.762 MB / 1.763 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01312/6.842, allocations: 1.477 MB / 1.764 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004068/6.846, allocations: 1 MB / 1.765 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of SimCode: time 2.023e-06/6.846, allocations: 7.938 kB / 1.765 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6947/7.541, allocations: 86.5 MB / 1.85 GB, free: 61.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003041/7.541, allocations: 187 kB / 1.85 GB, free: 60.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.229/14.77, allocations: 0 / 1.85 GB, free: 60.82 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17_res.mat does not exist to compare? outputFormat=mat