Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.536/2.536, allocations: 235.1 MB / 242.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.917e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4059, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.44/2.846, allocations: 0.687 GB / 1.033 GB, free: 127.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/2.847, allocations: 79.55 kB / 1.033 GB, free: 127.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.911/5.757, allocations: 0.544 GB / 1.577 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/5.757, allocations: 0 / 1.577 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003637/5.758, allocations: 63.92 kB / 1.577 GB, free: 13.81 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.01465/5.772, allocations: 3.028 MB / 1.58 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/5.772, allocations: 8.031 kB / 1.58 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/5.778, allocations: 448.7 kB / 1.581 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009503/5.787, allocations: 1.929 MB / 1.583 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/5.787, allocations: 56 kB / 1.583 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009325/5.788, allocations: 99.98 kB / 1.583 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007094/5.795, allocations: 2.103 MB / 1.585 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007333/5.803, allocations: 2.353 MB / 1.587 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.302e-05/5.803, allocations: 7.938 kB / 1.587 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003703/5.803, allocations: 7.953 kB / 1.587 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003854/5.804, allocations: 158.9 kB / 1.587 GB, free: 3.348 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.4461/6.25, allocations: 10.73 MB / 1.598 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004924/6.255, allocations: 1.701 MB / 1.599 GB, free: 37.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/6.257, allocations: 0.9594 MB / 1.6 GB, free: 37.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/6.259, allocations: 450.1 kB / 1.601 GB, free: 37.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003133/6.262, allocations: 1.044 MB / 1.602 GB, free: 37.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 6.743e-06/6.262, allocations: 0 / 1.602 GB, free: 37.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.07211/6.334, allocations: 9.324 MB / 1.611 GB, free: 36.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/6.335, allocations: 259.9 kB / 1.611 GB, free: 36.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/6.337, allocations: 1.076 MB / 1.612 GB, free: 36.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006931/6.338, allocations: 31.48 kB / 1.612 GB, free: 36.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/6.339, allocations: 0.9095 MB / 1.613 GB, free: 35.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/6.34, allocations: 0.5739 MB / 1.614 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/6.34, allocations: 0 / 1.614 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001818/6.34, allocations: 393.8 kB / 1.614 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002643/6.343, allocations: 0.9673 MB / 1.615 GB, free: 35.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/6.346, allocations: 1.397 MB / 1.616 GB, free: 34.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01826/6.365, allocations: 2.304 MB / 1.619 GB, free: 34.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-05/6.365, allocations: 4.156 kB / 1.619 GB, free: 34.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.02369/6.388, allocations: 3.921 MB / 1.622 GB, free: 34.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000974/6.389, allocations: 4.245 MB / 1.627 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-05/6.389, allocations: 9.688 kB / 1.627 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006898/6.39, allocations: 170.7 kB / 1.627 GB, free: 30.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005218/6.395, allocations: 0.5495 MB / 1.627 GB, free: 30.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/6.397, allocations: 2.337 MB / 1.63 GB, free: 28.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004631/6.402, allocations: 177.6 kB / 1.63 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009255/6.403, allocations: 185.5 kB / 1.63 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/6.403, allocations: 5.438 kB / 1.63 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0211/6.424, allocations: 3.441 MB / 1.633 GB, free: 28.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-05/6.424, allocations: 11.78 kB / 1.633 GB, free: 28.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/6.425, allocations: 166.7 kB / 1.633 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00488/6.43, allocations: 0.5422 MB / 1.634 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/6.431, allocations: 2.338 MB / 1.636 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004248/6.436, allocations: 164 kB / 1.636 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008269/6.436, allocations: 185.6 kB / 1.637 GB, free: 26.08 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.000974/6.437, allocations: 231.1 kB / 1.637 GB, free: 25.91 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02127/6.459, allocations: 3.279 MB / 1.64 GB, free: 25.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008806/6.46, allocations: 194.1 kB / 1.64 GB, free: 25.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02645/6.486, allocations: 3.88 MB / 1.644 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/6.486, allocations: 19.31 kB / 1.644 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/6.486, allocations: 0 / 1.644 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02191/6.508, allocations: 3.383 MB / 1.647 GB, free: 24.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03349/6.542, allocations: 6.87 MB / 1.654 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/6.542, allocations: 3.25 kB / 1.654 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003847/6.546, allocations: 412.7 kB / 1.654 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006517/6.546, allocations: 163.9 kB / 1.655 GB, free: 23.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003313/6.547, allocations: 73.91 kB / 1.655 GB, free: 23.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/6.549, allocations: 3.034 MB / 1.658 GB, free: 20.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/6.549, allocations: 8.781 kB / 1.658 GB, free: 20.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02455/6.573, allocations: 5.089 MB / 1.663 GB, free: 19.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/6.575, allocations: 0.4997 MB / 1.663 GB, free: 19.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007303/6.576, allocations: 26.83 kB / 1.663 GB, free: 19.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/6.579, allocations: 97.95 kB / 1.663 GB, free: 19.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004734/6.579, allocations: 162.6 kB / 1.663 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003759/6.58, allocations: 144.1 kB / 1.663 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001676/6.581, allocations: 0.7945 MB / 1.664 GB, free: 19.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.72e-07/6.581, allocations: 2 kB / 1.664 GB, free: 19.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009212/6.591, allocations: 1.798 MB / 1.666 GB, free: 19.65 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.0353/6.626, allocations: 9.651 MB / 1.675 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01098/6.637, allocations: 4.112 MB / 1.679 GB, free: 32.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/6.637, allocations: 9.031 kB / 1.679 GB, free: 32.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00335/6.64, allocations: 1.412 MB / 1.681 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007521/6.648, allocations: 0.7778 MB / 1.682 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02561/6.674, allocations: 6.305 MB / 1.688 GB, free: 30.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/6.676, allocations: 1.717 MB / 1.689 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01134/6.687, allocations: 1.406 MB / 1.691 GB, free: 30.17 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003322/6.69, allocations: 0.9287 MB / 1.692 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of SimCode: time 2.024e-06/6.69, allocations: 0 / 1.692 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2567/6.947, allocations: 79.23 MB / 1.769 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003628/6.948, allocations: 185.8 kB / 1.769 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.916/13.86, allocations: 0 / 1.769 GB, free: 1.105 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat does not exist to compare? outputFormat=mat