Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.902/1.902, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.953e-05, allocations: 0 / 273.2 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.731/7.839, allocations: 2.545 GB / 2.86 GB, free: 11.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/7.84, allocations: 79.95 kB / 2.86 GB, free: 11.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.471/12.31, allocations: 0.782 GB / 3.642 GB, free: 27.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/12.31, allocations: 2.031 kB / 3.642 GB, free: 27.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003379/12.31, allocations: 66.3 kB / 3.642 GB, free: 27.26 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: 514 * Number of variables: 514 Notification: Performance of Generate backend data structure: time 0.02056/12.33, allocations: 3.827 MB / 3.645 GB, free: 25.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/12.33, allocations: 12.16 kB / 3.645 GB, free: 25.36 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001668/12.33, allocations: 288.8 kB / 3.646 GB, free: 25.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009006/12.34, allocations: 0.8133 MB / 3.647 GB, free: 25.17 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009284/12.35, allocations: 2.155 MB / 3.649 GB, free: 24.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/12.35, allocations: 178.1 kB / 3.649 GB, free: 24.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/12.35, allocations: 198.1 kB / 3.649 GB, free: 24.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/12.37, allocations: 3.684 MB / 3.653 GB, free: 24.15 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.752e-05/12.37, allocations: 6.406 kB / 3.653 GB, free: 24.15 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005113/12.37, allocations: 84.97 kB / 3.653 GB, free: 24.15 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003056/12.37, allocations: 166.5 kB / 3.653 GB, free: 24.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/12.38, allocations: 3.409 MB / 3.656 GB, free: 24.13 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.03097/12.41, allocations: 14.75 MB / 3.671 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006923/12.42, allocations: 2.12 MB / 3.673 GB, free: 15.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002733/12.42, allocations: 1.047 MB / 3.674 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05903/12.48, allocations: 18.93 MB / 3.692 GB, free: 19.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006099/12.49, allocations: 1.671 MB / 3.694 GB, free: 19.11 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001916/12.49, allocations: 188.8 kB / 3.694 GB, free: 19.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=158): time 9.258e-06/12.49, allocations: 0 / 3.694 GB, free: 19.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=170): time 0.03/12.52, allocations: 7.347 MB / 3.701 GB, free: 17.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002356/12.52, allocations: 416.5 kB / 3.702 GB, free: 17.52 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003377/12.52, allocations: 1.482 MB / 3.703 GB, free: 17.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000598/12.52, allocations: 56.61 kB / 3.703 GB, free: 17.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/12.52, allocations: 0.9924 MB / 3.704 GB, free: 16.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/12.52, allocations: 0.5794 MB / 3.705 GB, free: 15.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/12.53, allocations: 34.69 kB / 3.705 GB, free: 15.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002565/12.53, allocations: 391.9 kB / 3.705 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002929/12.53, allocations: 1.051 MB / 3.706 GB, free: 15.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003374/12.53, allocations: 1.518 MB / 3.707 GB, free: 14.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003441/12.54, allocations: 1.305 MB / 3.709 GB, free: 13.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/12.54, allocations: 7.531 kB / 3.709 GB, free: 13.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01018/12.55, allocations: 3.321 MB / 3.712 GB, free: 11.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001808/12.55, allocations: 4.58 MB / 3.716 GB, free: 6.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.502e-05/12.55, allocations: 12 kB / 3.716 GB, free: 6.824 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008568/12.56, allocations: 0.9653 MB / 3.717 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/12.56, allocations: 471.4 kB / 3.718 GB, free: 5.723 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004734/12.56, allocations: 3.164 MB / 3.721 GB, free: 2.668 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00433/12.57, allocations: 235.7 kB / 3.721 GB, free: 2.488 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007446/12.57, allocations: 101.3 kB / 3.721 GB, free: 2.398 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/12.57, allocations: 8 kB / 3.721 GB, free: 2.391 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01069/12.58, allocations: 2.993 MB / 3.724 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-05/12.58, allocations: 23.36 kB / 3.724 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/12.58, allocations: 355.1 kB / 3.725 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004379/12.59, allocations: 497.6 kB / 3.725 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006418/12.59, allocations: 4.043 MB / 3.729 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004095/12.6, allocations: 238.3 kB / 3.729 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008078/12.6, allocations: 97.66 kB / 3.729 GB, free: 10.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 27 (pipe3.state_a.phase,pipe2.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 213 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 2 * 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,3 19} Notification: Performance of prepare postOptimizeDAE: time 0.001122/12.6, allocations: 298.8 kB / 3.73 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009433/12.6, allocations: 213.4 kB / 3.73 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01935/12.62, allocations: 7.766 MB / 3.737 GB, free: 3.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001286/12.62, allocations: 81.52 kB / 3.737 GB, free: 3.273 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/12.62, allocations: 0 / 3.737 GB, free: 3.273 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4331/13.05, allocations: 7.28 MB / 3.745 GB, free: 55.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02713/13.08, allocations: 10.78 MB / 3.755 GB, free: 55.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/13.08, allocations: 0 / 3.755 GB, free: 55.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003166/13.08, allocations: 345.2 kB / 3.755 GB, free: 55.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00907/13.09, allocations: 2.502 MB / 3.758 GB, free: 55.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006381/13.09, allocations: 66.97 kB / 3.758 GB, free: 55.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0051/13.1, allocations: 4.112 MB / 3.762 GB, free: 52.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/13.1, allocations: 0 / 3.762 GB, free: 52.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/13.12, allocations: 7.654 MB / 3.769 GB, free: 52.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002669/13.12, allocations: 0.7463 MB / 3.77 GB, free: 52.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008915/13.12, allocations: 48.78 kB / 3.77 GB, free: 52.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003364/13.12, allocations: 199.5 kB / 3.77 GB, free: 52.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006307/13.12, allocations: 137 kB / 3.771 GB, free: 52.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000304/13.12, allocations: 68.64 kB / 3.771 GB, free: 52.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003106/13.13, allocations: 1.231 MB / 3.772 GB, free: 52.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/13.13, allocations: 2.875 kB / 3.772 GB, free: 52.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01403/13.14, allocations: 2.804 MB / 3.775 GB, free: 52.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pipe1.mediums[1].p,pipe1.mediums[1].h,valveIncompressible.filter.x[1],valveIncompressible.filter.x[2],valveIncompressible1.filter.x[1],valveIncompressible1.filter.x[2],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 53 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse39.phase,$cse39.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,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 (168): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 19 * 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,3 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.03111/13.17, allocations: 10.19 MB / 3.784 GB, free: 50.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01348/13.19, allocations: 5.237 MB / 3.79 GB, free: 50.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/13.19, allocations: 3.875 kB / 3.79 GB, free: 50.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0056/13.19, allocations: 2.295 MB / 3.792 GB, free: 50.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008017/13.2, allocations: 0.8903 MB / 3.793 GB, free: 50.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3724/13.57, allocations: 126.9 MB / 3.917 GB, free: 5.969 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003058/13.58, allocations: 2.29 MB / 3.919 GB, free: 4.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008785/13.58, allocations: 2.392 MB / 3.921 GB, free: 2.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3912/13.98, allocations: 1.271 MB / 3.922 GB, free: 50.81 MB / 490.7 MB Notification: Performance of SimCode: time 1.914e-06/13.98, allocations: 0 / 3.922 GB, free: 50.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2776/14.25, allocations: 122.7 MB / 4.042 GB, free: 30.36 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/14.25, allocations: 238.4 kB / 4.043 GB, free: 30.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.01/23.26, allocations: 0 / 4.043 GB, free: 30.04 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12_res.mat does not exist to compare? outputFormat=mat