Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.939/1.939, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.489e-05/4.473e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.466/2.588, allocations: 0.6811 GB / 0.9954 GB, free: 94.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/2.588, allocations: 81.58 kB / 0.9955 GB, free: 94.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.284/5.872, allocations: 0.6138 GB / 1.609 GB, free: 30.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.455e-06/5.873, allocations: 0 / 1.609 GB, free: 30.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003368/5.873, allocations: 66.7 kB / 1.609 GB, free: 30.79 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.01423/5.887, allocations: 3.165 MB / 1.612 GB, free: 29.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/5.887, allocations: 11.03 kB / 1.612 GB, free: 29.15 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001255/5.888, allocations: 257.2 kB / 1.613 GB, free: 29.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/5.894, allocations: 463.2 kB / 1.613 GB, free: 28.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009129/5.903, allocations: 1.979 MB / 1.615 GB, free: 28.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/5.903, allocations: 137.9 kB / 1.615 GB, free: 28.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/5.904, allocations: 183.6 kB / 1.615 GB, free: 28.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008507/5.913, allocations: 2.66 MB / 1.618 GB, free: 27.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.1e-05/5.913, allocations: 11.81 kB / 1.618 GB, free: 27.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007007/5.914, allocations: 78.23 kB / 1.618 GB, free: 27.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003184/5.914, allocations: 156.2 kB / 1.618 GB, free: 27.63 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00742/5.921, allocations: 2.23 MB / 1.62 GB, free: 26.87 MB / 458.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.02716/5.949, allocations: 11.52 MB / 1.632 GB, free: 18.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005174/5.954, allocations: 1.801 MB / 1.633 GB, free: 17.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/5.957, allocations: 1.075 MB / 1.634 GB, free: 17.44 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/5.959, allocations: 463.6 kB / 1.635 GB, free: 17.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003572/5.962, allocations: 1.177 MB / 1.636 GB, free: 16.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=168): time 6.081e-06/5.962, allocations: 0 / 1.636 GB, free: 16.67 MB / 458.7 MB 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 4: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=196): time 0.04766/6.01, allocations: 9.543 MB / 1.645 GB, free: 8.578 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/6.01, allocations: 257.3 kB / 1.646 GB, free: 8.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003095/6.013, allocations: 1.389 MB / 1.647 GB, free: 7.027 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007542/6.014, allocations: 65.7 kB / 1.647 GB, free: 6.957 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/6.015, allocations: 0.9143 MB / 1.648 GB, free: 6.121 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/6.016, allocations: 0.6687 MB / 1.649 GB, free: 5.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/6.017, allocations: 44 kB / 1.649 GB, free: 5.477 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/6.017, allocations: 391 kB / 1.649 GB, free: 5.113 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/6.02, allocations: 1.027 MB / 1.65 GB, free: 4.188 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003381/6.023, allocations: 1.504 MB / 1.651 GB, free: 2.637 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003634/6.027, allocations: 1.321 MB / 1.653 GB, free: 1.426 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/6.027, allocations: 4 kB / 1.653 GB, free: 1.422 MB / 458.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01078/6.038, allocations: 3.22 MB / 1.656 GB, free: 14.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002175/6.04, allocations: 4.849 MB / 1.661 GB, free: 8.895 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.737e-05/6.04, allocations: 19.77 kB / 1.661 GB, free: 8.879 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/6.041, allocations: 296.1 kB / 1.661 GB, free: 8.574 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005323/6.047, allocations: 0.5734 MB / 1.662 GB, free: 8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/6.05, allocations: 2.999 MB / 1.664 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004779/6.055, allocations: 223.8 kB / 1.665 GB, free: 4.656 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/6.056, allocations: 207.9 kB / 1.665 GB, free: 4.453 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/6.056, allocations: 4 kB / 1.665 GB, free: 4.449 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01008/6.066, allocations: 2.94 MB / 1.668 GB, free: 1.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.446e-05/6.066, allocations: 12 kB / 1.668 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/6.067, allocations: 296.7 kB / 1.668 GB, free: 1.164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004994/6.072, allocations: 0.5617 MB / 1.669 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4013/6.474, allocations: 2.989 MB / 1.672 GB, free: 43.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004747/6.478, allocations: 213.6 kB / 1.672 GB, free: 43.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/6.48, allocations: 203.9 kB / 1.672 GB, free: 43.42 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * 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.001282/6.481, allocations: 309.3 kB / 1.672 GB, free: 43.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008003/6.482, allocations: 218.2 kB / 1.672 GB, free: 43.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/6.498, allocations: 3.737 MB / 1.676 GB, free: 43.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/6.498, allocations: 23.75 kB / 1.676 GB, free: 43.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/6.498, allocations: 2.438 kB / 1.676 GB, free: 43.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008788/6.507, allocations: 2.905 MB / 1.679 GB, free: 42.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02478/6.532, allocations: 6.976 MB / 1.686 GB, free: 41.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/6.532, allocations: 6.031 kB / 1.686 GB, free: 41.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004168/6.536, allocations: 459.5 kB / 1.686 GB, free: 41.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/6.538, allocations: 316.3 kB / 1.686 GB, free: 41.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006446/6.538, allocations: 105.1 kB / 1.687 GB, free: 41.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003231/6.541, allocations: 3.747 MB / 1.69 GB, free: 37.87 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/6.542, allocations: 10.09 kB / 1.69 GB, free: 37.87 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/6.555, allocations: 4.882 MB / 1.695 GB, free: 36.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/6.557, allocations: 0.5491 MB / 1.696 GB, free: 36.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/6.558, allocations: 60.47 kB / 1.696 GB, free: 36.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003652/6.562, allocations: 130.2 kB / 1.696 GB, free: 36.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007679/6.563, allocations: 184.8 kB / 1.696 GB, free: 36.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004872/6.563, allocations: 188.5 kB / 1.696 GB, free: 36.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003197/6.567, allocations: 1.036 MB / 1.697 GB, free: 36.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.283e-06/6.567, allocations: 3.688 kB / 1.697 GB, free: 36.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0108/6.577, allocations: 2.052 MB / 1.699 GB, free: 36.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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: 10 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 198 * 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.02192/6.599, allocations: 9.501 MB / 1.708 GB, free: 32.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0123/6.612, allocations: 4.414 MB / 1.713 GB, free: 32.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/6.612, allocations: 0 / 1.713 GB, free: 32.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004213/6.616, allocations: 1.552 MB / 1.714 GB, free: 32.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008981/6.625, allocations: 1.045 MB / 1.715 GB, free: 32.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02742/6.653, allocations: 6.679 MB / 1.722 GB, free: 31.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/6.655, allocations: 1.762 MB / 1.723 GB, free: 30.64 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01142/6.666, allocations: 1.573 MB / 1.725 GB, free: 30.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003487/6.67, allocations: 1.014 MB / 1.726 GB, free: 30.61 MB / 474.7 MB Notification: Performance of SimCode: time 2.184e-06/6.67, allocations: 0 / 1.726 GB, free: 30.61 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2854/6.955, allocations: 109.6 MB / 1.833 GB, free: 3.777 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003764/6.955, allocations: 233 kB / 1.833 GB, free: 3.465 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/14.97, allocations: 0 / 1.833 GB, free: 3.465 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17_res.mat does not exist to compare? outputFormat=mat