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.98/1.98, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.571e-05/4.584e-05, allocations: 8 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 48.69 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.337/2.442, allocations: 0.6811 GB / 0.9954 GB, free: 94.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/2.442, allocations: 75.92 kB / 0.9955 GB, free: 94.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.295/5.737, allocations: 0.6139 GB / 1.609 GB, free: 28.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.255e-06/5.737, allocations: 0 / 1.609 GB, free: 28.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003503/5.737, allocations: 63.36 kB / 1.609 GB, free: 28.93 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.01381/5.751, allocations: 3.169 MB / 1.612 GB, free: 27.11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/5.751, allocations: 10.03 kB / 1.612 GB, free: 27.11 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001111/5.752, allocations: 254.7 kB / 1.613 GB, free: 26.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004825/5.757, allocations: 462.4 kB / 1.613 GB, free: 26.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008144/5.766, allocations: 1.983 MB / 1.615 GB, free: 25.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/5.766, allocations: 136.3 kB / 1.615 GB, free: 25.81 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006425/5.766, allocations: 181.1 kB / 1.615 GB, free: 25.74 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007003/5.773, allocations: 2.682 MB / 1.618 GB, free: 24.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.904e-05/5.774, allocations: 3.031 kB / 1.618 GB, free: 24.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004191/5.774, allocations: 84.27 kB / 1.618 GB, free: 24.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003001/5.774, allocations: 156.8 kB / 1.618 GB, free: 24.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006563/5.781, allocations: 2.258 MB / 1.62 GB, free: 22.94 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.02459/5.805, allocations: 11.5 MB / 1.632 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004686/5.81, allocations: 1.828 MB / 1.633 GB, free: 8.742 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/5.813, allocations: 1.076 MB / 1.635 GB, free: 7.672 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/5.814, allocations: 457.1 kB / 1.635 GB, free: 7.172 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002792/5.817, allocations: 1.194 MB / 1.636 GB, free: 5.949 MB / 458.7 MB Notification: Performance of pre-optimization done (n=168): time 4.789e-06/5.817, allocations: 0 / 1.636 GB, free: 5.949 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.0459/5.863, allocations: 9.534 MB / 1.645 GB, free: 12.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/5.863, allocations: 261.3 kB / 1.646 GB, free: 11.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003404/5.867, allocations: 1.384 MB / 1.647 GB, free: 10.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007647/5.868, allocations: 65.7 kB / 1.647 GB, free: 10.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/5.869, allocations: 0.9127 MB / 1.648 GB, free: 9.609 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001315/5.87, allocations: 0.6624 MB / 1.649 GB, free: 8.938 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/5.87, allocations: 48 kB / 1.649 GB, free: 8.891 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002794/5.871, allocations: 402.3 kB / 1.649 GB, free: 8.492 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003207/5.874, allocations: 1.023 MB / 1.65 GB, free: 7.465 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003931/5.878, allocations: 1.519 MB / 1.652 GB, free: 5.762 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/5.882, allocations: 1.319 MB / 1.653 GB, free: 4.434 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.93e-05/5.882, allocations: 4 kB / 1.653 GB, free: 4.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01122/5.893, allocations: 3.263 MB / 1.656 GB, free: 1.129 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.362/6.255, allocations: 4.83 MB / 1.661 GB, free: 41.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.064e-05/6.255, allocations: 14.39 kB / 1.661 GB, free: 41.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/6.257, allocations: 301.3 kB / 1.661 GB, free: 41.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005332/6.262, allocations: 0.5672 MB / 1.662 GB, free: 41.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/6.265, allocations: 3.008 MB / 1.665 GB, free: 38.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004833/6.27, allocations: 217.5 kB / 1.665 GB, free: 38.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/6.271, allocations: 209 kB / 1.665 GB, free: 38.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/6.271, allocations: 2.344 kB / 1.665 GB, free: 38.6 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01052/6.281, allocations: 2.978 MB / 1.668 GB, free: 38.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-05/6.282, allocations: 11.19 kB / 1.668 GB, free: 38.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/6.283, allocations: 298.1 kB / 1.668 GB, free: 38.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004838/6.288, allocations: 0.5683 MB / 1.669 GB, free: 38.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/6.29, allocations: 3.002 MB / 1.672 GB, free: 35.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004407/6.294, allocations: 214.1 kB / 1.672 GB, free: 35.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000985/6.295, allocations: 201.8 kB / 1.672 GB, free: 35.83 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.001126/6.297, allocations: 308.6 kB / 1.672 GB, free: 35.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007654/6.297, allocations: 217.2 kB / 1.673 GB, free: 35.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02155/6.319, allocations: 3.741 MB / 1.676 GB, free: 35.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/6.319, allocations: 20.81 kB / 1.676 GB, free: 35.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/6.319, allocations: 3.062 kB / 1.676 GB, free: 35.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008618/6.328, allocations: 2.9 MB / 1.679 GB, free: 34.85 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02077/6.349, allocations: 6.997 MB / 1.686 GB, free: 33.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/6.349, allocations: 11.2 kB / 1.686 GB, free: 33.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003697/6.352, allocations: 459.8 kB / 1.686 GB, free: 33.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/6.354, allocations: 319.6 kB / 1.687 GB, free: 33.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003807/6.354, allocations: 105.3 kB / 1.687 GB, free: 33.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/6.357, allocations: 3.742 MB / 1.69 GB, free: 30.24 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/6.357, allocations: 12.91 kB / 1.69 GB, free: 30.24 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/6.368, allocations: 4.874 MB / 1.695 GB, free: 29.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002036/6.37, allocations: 0.5462 MB / 1.696 GB, free: 28.97 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006487/6.371, allocations: 62.27 kB / 1.696 GB, free: 28.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002853/6.373, allocations: 133.5 kB / 1.696 GB, free: 28.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004709/6.374, allocations: 189.5 kB / 1.696 GB, free: 28.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004323/6.374, allocations: 184 kB / 1.696 GB, free: 28.95 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002213/6.377, allocations: 1.039 MB / 1.697 GB, free: 28.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.41e-07/6.377, allocations: 0 / 1.697 GB, free: 28.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009191/6.386, allocations: 2.054 MB / 1.699 GB, free: 28.84 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.02024/6.406, allocations: 9.481 MB / 1.709 GB, free: 25.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0128/6.419, allocations: 4.478 MB / 1.713 GB, free: 25.04 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/6.419, allocations: 1.562 kB / 1.713 GB, free: 25.04 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004838/6.424, allocations: 1.578 MB / 1.714 GB, free: 24.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008965/6.433, allocations: 1.039 MB / 1.715 GB, free: 24.79 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/6.458, allocations: 6.696 MB / 1.722 GB, free: 23.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/6.459, allocations: 1.763 MB / 1.724 GB, free: 23 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01064/6.47, allocations: 1.58 MB / 1.725 GB, free: 22.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003332/6.473, allocations: 1.012 MB / 1.726 GB, free: 22.92 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/6.473, allocations: 0 / 1.726 GB, free: 22.92 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2883/6.762, allocations: 109.6 MB / 1.833 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/6.762, allocations: 242.2 kB / 1.833 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/14.64, allocations: 0 / 1.833 GB, free: 7.82 MB / 0.4948 GB 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