Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.569/2.569, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.02e-05, allocations: 8 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3699, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.334/2.704, allocations: 0.687 GB / 1.033 GB, free: 127.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/2.705, allocations: 81.17 kB / 1.033 GB, free: 127.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.921/5.626, allocations: 0.544 GB / 1.577 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.084e-06/5.626, allocations: 3.938 kB / 1.577 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000327/5.626, allocations: 67.92 kB / 1.577 GB, free: 13.84 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.0144/5.641, allocations: 3.012 MB / 1.58 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/5.641, allocations: 8.031 kB / 1.58 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/5.646, allocations: 444.7 kB / 1.581 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009147/5.655, allocations: 1.937 MB / 1.583 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/5.656, allocations: 55.98 kB / 1.583 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006795/5.656, allocations: 100 kB / 1.583 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006754/5.663, allocations: 2.107 MB / 1.585 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0075/5.671, allocations: 2.353 MB / 1.587 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.007e-05/5.671, allocations: 7.922 kB / 1.587 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003714/5.671, allocations: 11.95 kB / 1.587 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003821/5.672, allocations: 154.9 kB / 1.587 GB, free: 3.383 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.4442/6.116, allocations: 10.72 MB / 1.598 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004881/6.121, allocations: 1.716 MB / 1.599 GB, free: 37.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002512/6.123, allocations: 0.9577 MB / 1.6 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/6.125, allocations: 453.3 kB / 1.601 GB, free: 37.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002746/6.128, allocations: 1.044 MB / 1.602 GB, free: 37.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 6.893e-06/6.128, allocations: 0.9688 kB / 1.602 GB, free: 37.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.07249/6.2, allocations: 9.323 MB / 1.611 GB, free: 36.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/6.2, allocations: 256.6 kB / 1.611 GB, free: 36.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/6.203, allocations: 1.073 MB / 1.612 GB, free: 36.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006886/6.204, allocations: 28.64 kB / 1.612 GB, free: 36.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/6.205, allocations: 0.9171 MB / 1.613 GB, free: 35.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001133/6.206, allocations: 0.5698 MB / 1.614 GB, free: 35.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/6.206, allocations: 0 / 1.614 GB, free: 35.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001804/6.206, allocations: 396 kB / 1.614 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002701/6.209, allocations: 0.9633 MB / 1.615 GB, free: 35.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/6.212, allocations: 1.399 MB / 1.616 GB, free: 34.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01846/6.231, allocations: 2.307 MB / 1.619 GB, free: 34.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.719e-05/6.231, allocations: 3.25 kB / 1.619 GB, free: 34.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.02337/6.254, allocations: 3.922 MB / 1.622 GB, free: 34.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009461/6.255, allocations: 4.243 MB / 1.627 GB, free: 30.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.052e-05/6.255, allocations: 11.62 kB / 1.627 GB, free: 30.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000679/6.256, allocations: 170.4 kB / 1.627 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005221/6.261, allocations: 0.5415 MB / 1.627 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/6.263, allocations: 2.344 MB / 1.63 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004551/6.268, allocations: 177.2 kB / 1.63 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00083/6.269, allocations: 192.6 kB / 1.63 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/6.269, allocations: 3.062 kB / 1.63 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02071/6.289, allocations: 3.432 MB / 1.633 GB, free: 28.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/6.289, allocations: 12.12 kB / 1.633 GB, free: 28.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/6.29, allocations: 172 kB / 1.633 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/6.295, allocations: 0.5359 MB / 1.634 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/6.297, allocations: 2.336 MB / 1.636 GB, free: 25.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004162/6.301, allocations: 169.1 kB / 1.636 GB, free: 25.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006783/6.301, allocations: 193 kB / 1.637 GB, free: 25.94 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.0009828/6.302, allocations: 228 kB / 1.637 GB, free: 25.77 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02167/6.324, allocations: 3.269 MB / 1.64 GB, free: 25.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008498/6.325, allocations: 192.4 kB / 1.64 GB, free: 25.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.027/6.352, allocations: 3.886 MB / 1.644 GB, free: 25.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/6.352, allocations: 18.47 kB / 1.644 GB, free: 25.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/6.352, allocations: 2.625 kB / 1.644 GB, free: 25.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02312/6.375, allocations: 3.39 MB / 1.647 GB, free: 24.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0366/6.412, allocations: 6.864 MB / 1.654 GB, free: 23.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/6.412, allocations: 7.781 kB / 1.654 GB, free: 23.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004204/6.416, allocations: 412 kB / 1.654 GB, free: 23.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007049/6.417, allocations: 168.8 kB / 1.655 GB, free: 23.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005698/6.418, allocations: 68.11 kB / 1.655 GB, free: 23.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/6.42, allocations: 3.031 MB / 1.658 GB, free: 20.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/6.42, allocations: 5.812 kB / 1.658 GB, free: 20.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02584/6.446, allocations: 5.093 MB / 1.663 GB, free: 19.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/6.448, allocations: 0.5008 MB / 1.663 GB, free: 19.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007319/6.449, allocations: 27.31 kB / 1.663 GB, free: 19.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002639/6.451, allocations: 92.3 kB / 1.663 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/6.452, allocations: 165.7 kB / 1.663 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003798/6.452, allocations: 143.5 kB / 1.663 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001685/6.454, allocations: 0.7926 MB / 1.664 GB, free: 19.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.4e-07/6.454, allocations: 0 / 1.664 GB, free: 19.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008834/6.463, allocations: 1.798 MB / 1.666 GB, free: 19.5 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.03639/6.499, allocations: 9.663 MB / 1.675 GB, free: 32.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01114/6.51, allocations: 4.114 MB / 1.679 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/6.51, allocations: 6.594 kB / 1.679 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003481/6.514, allocations: 1.41 MB / 1.681 GB, free: 31.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007558/6.522, allocations: 0.7782 MB / 1.682 GB, free: 31.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/6.546, allocations: 6.296 MB / 1.688 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/6.548, allocations: 1.715 MB / 1.689 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01011/6.558, allocations: 1.407 MB / 1.691 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003277/6.562, allocations: 0.9396 MB / 1.692 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.763e-06/6.562, allocations: 0 / 1.692 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2188/6.781, allocations: 79.21 MB / 1.769 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003548/6.781, allocations: 185.8 kB / 1.769 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.838/13.62, allocations: 0 / 1.769 GB, free: 0.8125 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat does not exist to compare? outputFormat=mat