Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.988/1.988, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.291e-05/4.283e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.527/2.639, allocations: 0.681 GB / 0.9953 GB, free: 94.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/2.64, allocations: 73.42 kB / 0.9954 GB, free: 94.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.259/5.899, allocations: 0.5492 GB / 1.545 GB, free: 34.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.974e-06/5.899, allocations: 0 / 1.545 GB, free: 34.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003567/5.899, allocations: 65.72 kB / 1.545 GB, free: 34.07 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.01376/5.913, allocations: 3.005 MB / 1.548 GB, free: 32.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/5.913, allocations: 12.34 kB / 1.548 GB, free: 32.84 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001213/5.914, allocations: 244.3 kB / 1.548 GB, free: 32.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005443/5.92, allocations: 444.1 kB / 1.548 GB, free: 32.67 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009677/5.929, allocations: 1.924 MB / 1.55 GB, free: 32.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/5.93, allocations: 123.6 kB / 1.55 GB, free: 32.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009858/5.931, allocations: 164.2 kB / 1.55 GB, free: 32.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007288/5.938, allocations: 2.551 MB / 1.553 GB, free: 31.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.686e-05/5.938, allocations: 8.781 kB / 1.553 GB, free: 31.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000405/5.939, allocations: 68.75 kB / 1.553 GB, free: 31.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003295/5.939, allocations: 155.5 kB / 1.553 GB, free: 31.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006784/5.946, allocations: 2.135 MB / 1.555 GB, free: 31.79 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.02448/5.97, allocations: 10.93 MB / 1.566 GB, free: 25.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004739/5.975, allocations: 1.735 MB / 1.568 GB, free: 25.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002631/5.978, allocations: 1.018 MB / 1.569 GB, free: 25.58 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/5.979, allocations: 469 kB / 1.569 GB, free: 25.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002895/5.982, allocations: 1.131 MB / 1.57 GB, free: 25.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 6.442e-06/5.982, allocations: 0 / 1.57 GB, free: 25.17 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=181): time 0.03864/6.021, allocations: 8.479 MB / 1.578 GB, free: 23.99 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/6.021, allocations: 262.3 kB / 1.579 GB, free: 23.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/6.024, allocations: 1.323 MB / 1.58 GB, free: 23.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007141/6.025, allocations: 64.45 kB / 1.58 GB, free: 23.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009296/6.026, allocations: 0.8659 MB / 1.581 GB, free: 23.17 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001079/6.027, allocations: 0.6166 MB / 1.581 GB, free: 22.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/6.027, allocations: 35.03 kB / 1.582 GB, free: 22.78 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/6.027, allocations: 397.5 kB / 1.582 GB, free: 22.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/6.03, allocations: 0.9721 MB / 1.583 GB, free: 22.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/6.033, allocations: 1.407 MB / 1.584 GB, free: 22.03 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003571/6.037, allocations: 1.253 MB / 1.585 GB, free: 21.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/6.037, allocations: 8.375 kB / 1.585 GB, free: 21.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.008713/6.046, allocations: 2.986 MB / 1.588 GB, free: 21.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00101/6.047, allocations: 4.299 MB / 1.593 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/6.047, allocations: 10.69 kB / 1.593 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007435/6.048, allocations: 191.3 kB / 1.593 GB, free: 17.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004803/6.053, allocations: 0.5385 MB / 1.593 GB, free: 17.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/6.054, allocations: 2.326 MB / 1.596 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004671/6.059, allocations: 226.1 kB / 1.596 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/6.06, allocations: 190.5 kB / 1.596 GB, free: 15.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/6.06, allocations: 3.875 kB / 1.596 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00796/6.068, allocations: 2.715 MB / 1.599 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.841e-05/6.068, allocations: 15.47 kB / 1.599 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/6.069, allocations: 191 kB / 1.599 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004389/6.073, allocations: 0.5344 MB / 1.599 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/6.075, allocations: 2.323 MB / 1.602 GB, free: 28.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004081/6.08, allocations: 214.4 kB / 1.602 GB, free: 28.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008474/6.081, allocations: 180.5 kB / 1.602 GB, free: 28.78 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (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.001002/6.082, allocations: 292.7 kB / 1.602 GB, free: 28.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007042/6.082, allocations: 205.8 kB / 1.602 GB, free: 28.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/6.094, allocations: 3.48 MB / 1.606 GB, free: 28.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/6.094, allocations: 18.44 kB / 1.606 GB, free: 28.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/6.094, allocations: 5.094 kB / 1.606 GB, free: 28.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006249/6.1, allocations: 2.71 MB / 1.609 GB, free: 27.67 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/6.119, allocations: 6.847 MB / 1.615 GB, free: 26.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/6.119, allocations: 6.625 kB / 1.615 GB, free: 26.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003703/6.123, allocations: 448.8 kB / 1.616 GB, free: 26.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006936/6.124, allocations: 185.4 kB / 1.616 GB, free: 26.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004459/6.124, allocations: 108.6 kB / 1.616 GB, free: 26.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/6.127, allocations: 3.057 MB / 1.619 GB, free: 23.32 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/6.127, allocations: 11.53 kB / 1.619 GB, free: 23.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/6.137, allocations: 4.648 MB / 1.623 GB, free: 21.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/6.139, allocations: 0.5199 MB / 1.624 GB, free: 20.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006984/6.14, allocations: 58.98 kB / 1.624 GB, free: 20.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002655/6.143, allocations: 128.8 kB / 1.624 GB, free: 20.67 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004797/6.143, allocations: 175 kB / 1.624 GB, free: 20.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004071/6.143, allocations: 170.5 kB / 1.624 GB, free: 20.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002124/6.146, allocations: 1.006 MB / 1.625 GB, free: 20.24 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.8e-07/6.146, allocations: 0 / 1.625 GB, free: 20.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009234/6.155, allocations: 1.949 MB / 1.627 GB, free: 19.79 MB / 474.7 MB 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: 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 (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.01911/6.174, allocations: 9.232 MB / 1.636 GB, free: 14.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.011/6.185, allocations: 4.159 MB / 1.64 GB, free: 11.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/6.185, allocations: 1.812 kB / 1.64 GB, free: 11.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003429/6.189, allocations: 1.465 MB / 1.642 GB, free: 10.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007986/6.197, allocations: 0.9243 MB / 1.643 GB, free: 9.559 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02662/6.223, allocations: 6.425 MB / 1.649 GB, free: 4.215 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00237/6.226, allocations: 1.717 MB / 1.651 GB, free: 2.816 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01145/6.237, allocations: 1.534 MB / 1.652 GB, free: 1.762 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00359/6.241, allocations: 0.9496 MB / 1.653 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of SimCode: time 2.164e-06/6.241, allocations: 0 / 1.653 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6301/6.871, allocations: 101.2 MB / 1.752 GB, free: 50.77 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/6.871, allocations: 233 kB / 1.752 GB, free: 50.45 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/14.49, allocations: 0 / 1.752 GB, free: 50.45 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat does not exist to compare? outputFormat=mat