Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.962/1.962, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.182e-05/4.228e-05, allocations: 9.531 kB / 273.2 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.774/7.88, allocations: 2.553 GB / 2.868 GB, free: 3.773 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/7.881, allocations: 78.14 kB / 2.868 GB, free: 3.734 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665/10.55, allocations: 489.8 MB / 3.346 GB, free: 26.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.845e-06/10.55, allocations: 0 / 3.346 GB, free: 26.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001419/10.55, allocations: 47.53 kB / 3.346 GB, free: 26.6 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01488/10.56, allocations: 2.924 MB / 3.349 GB, free: 23.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/10.56, allocations: 8.031 kB / 3.349 GB, free: 23.97 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009946/10.56, allocations: 283.7 kB / 3.349 GB, free: 23.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007448/10.57, allocations: 0.694 MB / 3.35 GB, free: 23.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00636/10.58, allocations: 1.575 MB / 3.351 GB, free: 21.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/10.58, allocations: 166.1 kB / 3.352 GB, free: 21.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008593/10.58, allocations: 182.7 kB / 3.352 GB, free: 21.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/10.59, allocations: 3.5 MB / 3.355 GB, free: 18.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.151e-05/10.59, allocations: 7.938 kB / 3.355 GB, free: 18.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004009/10.59, allocations: 74.73 kB / 3.355 GB, free: 18.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/10.59, allocations: 171.5 kB / 3.355 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/10.6, allocations: 3.301 MB / 3.359 GB, free: 15.48 MB / 442.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.02891/10.63, allocations: 14.13 MB / 3.372 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3521/10.98, allocations: 2.126 MB / 3.374 GB, free: 37.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003295/10.98, allocations: 1.075 MB / 3.375 GB, free: 37.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2137/11.2, allocations: 63.58 MB / 3.438 GB, free: 30.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00606/11.2, allocations: 1.687 MB / 3.439 GB, free: 30.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=154): time 7.114e-06/11.2, allocations: 0 / 3.439 GB, free: 30.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=174): time 0.0288/11.23, allocations: 8.137 MB / 3.447 GB, free: 28.69 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001958/11.23, allocations: 285.4 kB / 3.447 GB, free: 28.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/11.24, allocations: 1.176 MB / 3.449 GB, free: 28.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006245/11.24, allocations: 57.45 kB / 3.449 GB, free: 28.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009077/11.24, allocations: 0.8203 MB / 3.449 GB, free: 27.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001041/11.24, allocations: 0.6031 MB / 3.45 GB, free: 27.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/11.24, allocations: 38.44 kB / 3.45 GB, free: 27.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002361/11.24, allocations: 398.2 kB / 3.45 GB, free: 27.26 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002909/11.24, allocations: 1.146 MB / 3.452 GB, free: 27.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003511/11.24, allocations: 1.677 MB / 3.453 GB, free: 26.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/11.25, allocations: 1.391 MB / 3.455 GB, free: 26.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.519e-05/11.25, allocations: 3.25 kB / 3.455 GB, free: 26.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01174/11.26, allocations: 3.932 MB / 3.458 GB, free: 26.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002575/11.26, allocations: 6.271 MB / 3.465 GB, free: 19.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-05/11.26, allocations: 23.19 kB / 3.465 GB, free: 19.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02569/11.29, allocations: 3.431 MB / 3.468 GB, free: 19.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/11.29, allocations: 329.7 kB / 3.468 GB, free: 19.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009261/11.3, allocations: 3.817 MB / 3.472 GB, free: 19.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/11.31, allocations: 278.6 kB / 3.472 GB, free: 19.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005765/11.31, allocations: 104.2 kB / 3.472 GB, free: 19.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/11.31, allocations: 7.562 kB / 3.472 GB, free: 19.1 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00996/11.32, allocations: 3.534 MB / 3.476 GB, free: 19.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.466e-05/11.32, allocations: 14.31 kB / 3.476 GB, free: 19.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01478/11.33, allocations: 2.255 MB / 3.478 GB, free: 18.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/11.33, allocations: 365.1 kB / 3.478 GB, free: 18.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006518/11.34, allocations: 3.11 MB / 3.481 GB, free: 18.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/11.34, allocations: 266.1 kB / 3.482 GB, free: 18.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007096/11.35, allocations: 103.1 kB / 3.482 GB, free: 18.36 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 91} Notification: Performance of prepare postOptimizeDAE: time 0.0009765/11.35, allocations: 232.3 kB / 3.482 GB, free: 18.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005991/11.35, allocations: 162.2 kB / 3.482 GB, free: 18.17 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/11.36, allocations: 6.755 MB / 3.489 GB, free: 17.56 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001008/11.36, allocations: 79.41 kB / 3.489 GB, free: 17.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/11.36, allocations: 7.062 kB / 3.489 GB, free: 17.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01054/11.37, allocations: 5.442 MB / 3.494 GB, free: 16.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/11.39, allocations: 9.478 MB / 3.503 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.082e-05/11.39, allocations: 3.688 kB / 3.503 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003908/11.4, allocations: 439.9 kB / 3.504 GB, free: 16.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002416/11.4, allocations: 440.1 kB / 3.504 GB, free: 16.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004656/11.4, allocations: 61.44 kB / 3.504 GB, free: 16.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/11.4, allocations: 3.21 MB / 3.507 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/11.4, allocations: 6.016 kB / 3.507 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/11.42, allocations: 6.738 MB / 3.514 GB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/11.42, allocations: 0.7756 MB / 3.515 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007389/11.42, allocations: 54.33 kB / 3.515 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003472/11.42, allocations: 209 kB / 3.515 GB, free: 10.06 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005979/11.42, allocations: 181.4 kB / 3.515 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002322/11.42, allocations: 70.98 kB / 3.515 GB, free: 10.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002699/11.43, allocations: 1.217 MB / 3.516 GB, free: 9.547 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.51e-07/11.43, allocations: 0 / 3.516 GB, free: 9.547 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01252/11.44, allocations: 2.345 MB / 3.519 GB, free: 8.676 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 39 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.region3boundary,$cse17.region3boundary,$cse18.phase,$cse18.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$whenCondition2,$whenCondition1,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 1 * 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 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02943/11.47, allocations: 9.57 MB / 3.528 GB, free: 396 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02222/11.49, allocations: 5.404 MB / 3.533 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/11.49, allocations: 3.953 kB / 3.533 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006681/11.5, allocations: 2.267 MB / 3.536 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007921/11.5, allocations: 0.7873 MB / 3.536 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02391/11.53, allocations: 6.799 MB / 3.543 GB, free: 4.523 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002542/11.53, allocations: 2.052 MB / 3.545 GB, free: 2.883 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00685/11.54, allocations: 1.617 MB / 3.547 GB, free: 1.895 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002969/11.54, allocations: 1.134 MB / 3.548 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of SimCode: time 2.034e-06/11.54, allocations: 0 / 3.548 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6546/12.2, allocations: 111.8 MB / 3.657 GB, free: 64.82 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/12.2, allocations: 235.4 kB / 3.657 GB, free: 64.51 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/19.71, allocations: 0 / 3.657 GB, free: 64.51 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization_res.mat does not exist to compare? outputFormat=mat