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.89/1.89, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.455e-05/4.472e-05, allocations: 9.484 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.575/7.678, allocations: 2.553 GB / 2.867 GB, free: 2.258 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/7.678, allocations: 73.78 kB / 2.868 GB, free: 2.223 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.707/10.38, allocations: 489.8 MB / 3.346 GB, free: 36.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.635e-06/10.38, allocations: 2.969 kB / 3.346 GB, free: 36.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001836/10.39, allocations: 44.31 kB / 3.346 GB, free: 36.41 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.01615/10.4, allocations: 2.935 MB / 3.349 GB, free: 34.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/10.4, allocations: 6.531 kB / 3.349 GB, free: 34.88 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001276/10.4, allocations: 277 kB / 3.349 GB, free: 34.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00771/10.41, allocations: 0.6953 MB / 3.35 GB, free: 34.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00676/10.42, allocations: 1.574 MB / 3.351 GB, free: 33.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/10.42, allocations: 170.5 kB / 3.351 GB, free: 33.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/10.42, allocations: 183.4 kB / 3.352 GB, free: 33.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/10.43, allocations: 3.519 MB / 3.355 GB, free: 32.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.171e-05/10.43, allocations: 3.938 kB / 3.355 GB, free: 32.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004038/10.43, allocations: 78.22 kB / 3.355 GB, free: 32.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002484/10.43, allocations: 183.1 kB / 3.355 GB, free: 32.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/10.44, allocations: 3.324 MB / 3.359 GB, free: 31.04 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.03098/10.47, allocations: 14.12 MB / 3.372 GB, free: 20.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00726/10.48, allocations: 2.15 MB / 3.374 GB, free: 18.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/10.48, allocations: 1.079 MB / 3.376 GB, free: 17.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5583/11.04, allocations: 63.97 MB / 3.438 GB, free: 40.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006142/11.05, allocations: 1.688 MB / 3.44 GB, free: 40.83 MB / 458.7 MB Notification: Performance of pre-optimization done (n=154): time 5.881e-06/11.05, allocations: 0 / 3.44 GB, free: 40.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=174): time 0.02737/11.08, allocations: 8.154 MB / 3.448 GB, free: 39.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/11.08, allocations: 287.2 kB / 3.448 GB, free: 39.13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/11.08, allocations: 1.177 MB / 3.449 GB, free: 38.97 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005667/11.08, allocations: 57.48 kB / 3.449 GB, free: 38.94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008353/11.08, allocations: 0.8276 MB / 3.45 GB, free: 38.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009268/11.08, allocations: 0.5975 MB / 3.45 GB, free: 38.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/11.08, allocations: 46.25 kB / 3.451 GB, free: 38.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/11.08, allocations: 392.8 kB / 3.451 GB, free: 38.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003116/11.08, allocations: 1.141 MB / 3.452 GB, free: 38.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/11.09, allocations: 1.695 MB / 3.454 GB, free: 37.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/11.09, allocations: 1.38 MB / 3.455 GB, free: 37.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/11.09, allocations: 7.312 kB / 3.455 GB, free: 37.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.009587/11.1, allocations: 3.971 MB / 3.459 GB, free: 37.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001464/11.1, allocations: 6.285 MB / 3.465 GB, free: 30.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-05/11.1, allocations: 14.47 kB / 3.465 GB, free: 30.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0256/11.13, allocations: 3.438 MB / 3.468 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/11.13, allocations: 334.2 kB / 3.469 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008825/11.14, allocations: 3.811 MB / 3.472 GB, free: 30.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004156/11.14, allocations: 276.3 kB / 3.473 GB, free: 30.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004588/11.14, allocations: 103.9 kB / 3.473 GB, free: 30.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/11.14, allocations: 3.781 kB / 3.473 GB, free: 30.04 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01024/11.15, allocations: 3.586 MB / 3.476 GB, free: 29.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-05/11.15, allocations: 18.19 kB / 3.476 GB, free: 29.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01465/11.17, allocations: 2.263 MB / 3.479 GB, free: 29.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/11.17, allocations: 364.9 kB / 3.479 GB, free: 29.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006298/11.18, allocations: 3.101 MB / 3.482 GB, free: 29.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003799/11.18, allocations: 266.8 kB / 3.482 GB, free: 29.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004416/11.18, allocations: 100.5 kB / 3.482 GB, free: 29.38 MB / 458.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.0008121/11.18, allocations: 238.5 kB / 3.482 GB, free: 29.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005314/11.18, allocations: 167.8 kB / 3.483 GB, free: 29.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/11.2, allocations: 6.753 MB / 3.489 GB, free: 28.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.036e-05/11.2, allocations: 75.42 kB / 3.489 GB, free: 28.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/11.2, allocations: 7.031 kB / 3.489 GB, free: 28.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00962/11.21, allocations: 5.442 MB / 3.495 GB, free: 27.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/11.23, allocations: 9.47 MB / 3.504 GB, free: 27.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/11.23, allocations: 4.016 kB / 3.504 GB, free: 27.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003721/11.23, allocations: 435.4 kB / 3.504 GB, free: 27.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002434/11.23, allocations: 442.4 kB / 3.505 GB, free: 27.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000478/11.23, allocations: 71.2 kB / 3.505 GB, free: 27.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/11.24, allocations: 3.216 MB / 3.508 GB, free: 24.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/11.24, allocations: 0 / 3.508 GB, free: 24.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/11.25, allocations: 6.747 MB / 3.515 GB, free: 21.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002463/11.25, allocations: 0.7666 MB / 3.515 GB, free: 20.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006289/11.25, allocations: 56.3 kB / 3.515 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/11.26, allocations: 211 kB / 3.516 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/11.26, allocations: 184.2 kB / 3.516 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/11.26, allocations: 66.53 kB / 3.516 GB, free: 20.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002539/11.26, allocations: 1.216 MB / 3.517 GB, free: 20.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.11e-07/11.26, allocations: 0 / 3.517 GB, free: 20.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01124/11.27, allocations: 2.349 MB / 3.519 GB, free: 19.97 MB / 458.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.02601/11.3, allocations: 9.554 MB / 3.529 GB, free: 16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01356/11.31, allocations: 5.112 MB / 3.534 GB, free: 14.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/11.31, allocations: 7.875 kB / 3.534 GB, free: 14.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005422/11.32, allocations: 2.28 MB / 3.536 GB, free: 13.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007377/11.32, allocations: 0.7871 MB / 3.537 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/11.34, allocations: 6.811 MB / 3.543 GB, free: 8.676 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/11.35, allocations: 2.056 MB / 3.545 GB, free: 7.039 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006547/11.35, allocations: 1.613 MB / 3.547 GB, free: 6.051 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/11.36, allocations: 1.13 MB / 3.548 GB, free: 5.004 MB / 458.7 MB Notification: Performance of SimCode: time 1.352e-06/11.36, allocations: 0 / 3.548 GB, free: 5.004 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6423/12, allocations: 111.9 MB / 3.657 GB, free: 65.25 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003476/12, allocations: 239.2 kB / 3.657 GB, free: 64.95 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/19.2, allocations: 4 kB / 3.657 GB, free: 64.95 MB / 474.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