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.43/2.43, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.375e-05/4.385e-05, allocations: 7.938 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4212, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.966/2.388, allocations: 0.6876 GB / 1.039 GB, free: 40.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/2.388, allocations: 81.67 kB / 1.039 GB, free: 40.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.202/5.59, allocations: 0.5495 GB / 1.589 GB, free: 53.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.355e-06/5.59, allocations: 0 / 1.589 GB, free: 53.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000396/5.59, allocations: 60.03 kB / 1.589 GB, free: 53.71 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.01362/5.604, allocations: 3.023 MB / 1.592 GB, free: 51.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/5.604, allocations: 11.16 kB / 1.592 GB, free: 51.98 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00113/5.605, allocations: 239.2 kB / 1.592 GB, free: 51.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004816/5.61, allocations: 450.7 kB / 1.592 GB, free: 51.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008373/5.618, allocations: 1.929 MB / 1.594 GB, free: 50.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/5.618, allocations: 136.5 kB / 1.594 GB, free: 50.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007234/5.619, allocations: 163.3 kB / 1.595 GB, free: 50.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006237/5.625, allocations: 2.559 MB / 1.597 GB, free: 49.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.809e-05/5.626, allocations: 3.688 kB / 1.597 GB, free: 49.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003711/5.626, allocations: 75.81 kB / 1.597 GB, free: 49.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003051/5.626, allocations: 153.7 kB / 1.597 GB, free: 49.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005585/5.632, allocations: 2.146 MB / 1.599 GB, free: 48.75 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.02418/5.656, allocations: 10.97 MB / 1.61 GB, free: 37.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004917/5.661, allocations: 1.733 MB / 1.612 GB, free: 35.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/5.664, allocations: 1.036 MB / 1.613 GB, free: 34.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/5.665, allocations: 449.1 kB / 1.613 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003115/5.669, allocations: 1.156 MB / 1.614 GB, free: 33.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=162): time 5.861e-06/5.669, allocations: 0 / 1.614 GB, free: 33.23 MB / 0.4948 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.03855/5.707, allocations: 8.475 MB / 1.623 GB, free: 24.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/5.707, allocations: 261.3 kB / 1.623 GB, free: 24.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/5.71, allocations: 1.329 MB / 1.624 GB, free: 22.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000727/5.711, allocations: 61.7 kB / 1.624 GB, free: 22.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008702/5.712, allocations: 0.8657 MB / 1.625 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009907/5.713, allocations: 0.6277 MB / 1.626 GB, free: 21.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/5.713, allocations: 40 kB / 1.626 GB, free: 21.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001542/5.713, allocations: 394 kB / 1.626 GB, free: 20.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002554/5.716, allocations: 0.9802 MB / 1.627 GB, free: 19.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003133/5.719, allocations: 1.418 MB / 1.628 GB, free: 18.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/5.722, allocations: 1.268 MB / 1.63 GB, free: 17.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/5.722, allocations: 0 / 1.63 GB, free: 17.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.009941/5.732, allocations: 2.97 MB / 1.633 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002176/5.734, allocations: 4.29 MB / 1.637 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-05/5.735, allocations: 12 kB / 1.637 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008685/5.735, allocations: 195.3 kB / 1.637 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00521/5.741, allocations: 0.5421 MB / 1.637 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/5.743, allocations: 2.327 MB / 1.64 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004617/5.748, allocations: 215.7 kB / 1.64 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/5.749, allocations: 191.9 kB / 1.64 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/5.749, allocations: 4 kB / 1.64 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009178/5.758, allocations: 2.693 MB / 1.643 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/5.758, allocations: 8 kB / 1.643 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006784/5.759, allocations: 191.9 kB / 1.643 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004742/5.764, allocations: 0.5344 MB / 1.643 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/5.766, allocations: 2.335 MB / 1.646 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004226/5.77, allocations: 219.1 kB / 1.646 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007385/5.771, allocations: 180 kB / 1.646 GB, free: 15.57 MB / 0.5105 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.001/5.772, allocations: 300 kB / 1.646 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007152/5.773, allocations: 209.5 kB / 1.647 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/5.785, allocations: 3.469 MB / 1.65 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/5.785, allocations: 20 kB / 1.65 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/5.785, allocations: 0 / 1.65 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00726/5.793, allocations: 2.705 MB / 1.653 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02137/5.814, allocations: 6.849 MB / 1.659 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/5.814, allocations: 8 kB / 1.659 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003926/5.818, allocations: 448 kB / 1.66 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007761/5.819, allocations: 183.3 kB / 1.66 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005022/5.819, allocations: 99.95 kB / 1.66 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4095/6.229, allocations: 3.064 MB / 1.663 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-05/6.229, allocations: 10.56 kB / 1.663 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/6.243, allocations: 4.645 MB / 1.668 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/6.246, allocations: 0.534 MB / 1.668 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/6.247, allocations: 58.03 kB / 1.668 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004032/6.251, allocations: 127.8 kB / 1.668 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008315/6.252, allocations: 173.6 kB / 1.668 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006071/6.253, allocations: 171.9 kB / 1.669 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002878/6.255, allocations: 1.008 MB / 1.67 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.21e-07/6.255, allocations: 0 / 1.67 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01065/6.266, allocations: 1.951 MB / 1.671 GB, free: 62.76 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (196): * Single equations (assignments): 190 * 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.02227/6.288, allocations: 9.268 MB / 1.681 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01324/6.302, allocations: 4.275 MB / 1.685 GB, free: 58.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/6.302, allocations: 6.312 kB / 1.685 GB, free: 58.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004353/6.306, allocations: 1.516 MB / 1.686 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008662/6.315, allocations: 0.9085 MB / 1.687 GB, free: 58.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/6.342, allocations: 6.465 MB / 1.693 GB, free: 57.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/6.344, allocations: 1.729 MB / 1.695 GB, free: 56.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0116/6.356, allocations: 1.53 MB / 1.697 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003418/6.359, allocations: 0.9596 MB / 1.698 GB, free: 56.87 MB / 0.5105 GB Notification: Performance of SimCode: time 1.924e-06/6.359, allocations: 0 / 1.698 GB, free: 56.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2921/6.651, allocations: 101.6 MB / 1.797 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/6.652, allocations: 229 kB / 1.797 GB, free: 33.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/14.43, allocations: 2.844 kB / 1.797 GB, free: 33.67 MB / 0.5105 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