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.903/1.903, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.341e-05, allocations: 4 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.505/7.613, allocations: 2.553 GB / 2.862 GB, free: 41.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/7.613, allocations: 75.66 kB / 2.862 GB, free: 41.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.548/10.16, allocations: 485 MB / 3.335 GB, free: 43.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/10.16, allocations: 0 / 3.335 GB, free: 43.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001731/10.16, allocations: 39.5 kB / 3.335 GB, free: 43.69 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.01576/10.18, allocations: 2.938 MB / 3.338 GB, free: 42.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/10.18, allocations: 9.906 kB / 3.338 GB, free: 42.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007688/10.18, allocations: 0.6872 MB / 3.339 GB, free: 42.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007393/10.19, allocations: 1.58 MB / 3.34 GB, free: 41.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/10.19, allocations: 89.58 kB / 3.341 GB, free: 41.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/10.19, allocations: 101 kB / 3.341 GB, free: 41.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008258/10.2, allocations: 2.834 MB / 3.343 GB, free: 40.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008254/10.21, allocations: 2.873 MB / 3.346 GB, free: 38.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.948e-05/10.21, allocations: 10.91 kB / 3.346 GB, free: 38.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003569/10.21, allocations: 7.25 kB / 3.346 GB, free: 38.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002449/10.21, allocations: 178.1 kB / 3.346 GB, free: 38.95 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.7653/10.98, allocations: 140.6 MB / 3.484 GB, free: 30.81 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/10.98, allocations: 1.565 MB / 3.485 GB, free: 30.78 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/10.98, allocations: 0.9751 MB / 3.486 GB, free: 30.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05181/11.03, allocations: 16.73 MB / 3.503 GB, free: 19.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002874/11.04, allocations: 1.145 MB / 3.504 GB, free: 19.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 5.37e-06/11.04, allocations: 0 / 3.504 GB, free: 19.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=159): time 0.03162/11.07, allocations: 7.378 MB / 3.511 GB, free: 18.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/11.07, allocations: 235.5 kB / 3.511 GB, free: 18.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/11.07, allocations: 0.9247 MB / 3.512 GB, free: 18.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004692/11.07, allocations: 25.7 kB / 3.512 GB, free: 18.47 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000871/11.07, allocations: 0.8855 MB / 3.513 GB, free: 18.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007033/11.07, allocations: 0.5275 MB / 3.513 GB, free: 17.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/11.07, allocations: 0 / 3.513 GB, free: 17.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000286/11.07, allocations: 449.5 kB / 3.514 GB, free: 17.51 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00251/11.08, allocations: 1.126 MB / 3.515 GB, free: 17.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/11.08, allocations: 1.662 MB / 3.517 GB, free: 16.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/11.09, allocations: 2.003 MB / 3.519 GB, free: 16.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.111e-05/11.09, allocations: 3.938 kB / 3.519 GB, free: 16.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01763/11.11, allocations: 4.435 MB / 3.523 GB, free: 16.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003134/11.11, allocations: 6.277 MB / 3.529 GB, free: 26.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.603e-05/11.11, allocations: 19.45 kB / 3.529 GB, free: 26.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01827/11.13, allocations: 2.738 MB / 3.532 GB, free: 25.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/11.13, allocations: 339.7 kB / 3.532 GB, free: 25.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/11.14, allocations: 4.238 MB / 3.536 GB, free: 25.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004479/11.15, allocations: 251.5 kB / 3.536 GB, free: 25.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007388/11.15, allocations: 111.1 kB / 3.536 GB, free: 25.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/11.15, allocations: 7.078 kB / 3.536 GB, free: 25.33 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01658/11.17, allocations: 3.866 MB / 3.54 GB, free: 25.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.879e-05/11.17, allocations: 15.75 kB / 3.54 GB, free: 25.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01363/11.18, allocations: 2.13 MB / 3.542 GB, free: 25.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002901/11.18, allocations: 370.3 kB / 3.543 GB, free: 25.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007022/11.19, allocations: 3.24 MB / 3.546 GB, free: 24.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003843/11.19, allocations: 231.1 kB / 3.546 GB, free: 24.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005986/11.19, allocations: 104.8 kB / 3.546 GB, free: 24.58 MB / 490.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 ($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,source.medium.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.0009179/11.19, allocations: 163.7 kB / 3.546 GB, free: 24.47 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008477/11.2, allocations: 2.464 MB / 3.549 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008918/11.2, allocations: 136.2 kB / 3.549 GB, free: 24.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/11.22, allocations: 5.654 MB / 3.554 GB, free: 23.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.728e-05/11.22, allocations: 70.92 kB / 3.554 GB, free: 23.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/11.22, allocations: 3.469 kB / 3.554 GB, free: 23.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01093/11.23, allocations: 5.119 MB / 3.559 GB, free: 22.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/11.25, allocations: 8.393 MB / 3.568 GB, free: 17.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/11.25, allocations: 4 kB / 3.568 GB, free: 17.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00349/11.25, allocations: 396.2 kB / 3.568 GB, free: 17.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/11.25, allocations: 417.9 kB / 3.568 GB, free: 17.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005151/11.25, allocations: 43.11 kB / 3.568 GB, free: 17.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003019/11.26, allocations: 3.356 MB / 3.572 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/11.26, allocations: 0.5625 kB / 3.572 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/11.27, allocations: 6.247 MB / 3.578 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/11.27, allocations: 0.5616 MB / 3.578 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006776/11.27, allocations: 24.88 kB / 3.578 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002973/11.28, allocations: 170.1 kB / 3.579 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006284/11.28, allocations: 172 kB / 3.579 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/11.28, allocations: 62.7 kB / 3.579 GB, free: 7.512 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001492/11.28, allocations: 0.6584 MB / 3.579 GB, free: 6.906 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/11.28, allocations: 0 / 3.579 GB, free: 6.906 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0119/11.29, allocations: 2.167 MB / 3.582 GB, free: 4.961 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$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,$cse21.phase,$cse21.region,$cse27.phase,$cse27.region,$cse31.phase,$cse31.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.3935/11.68, allocations: 9.338 MB / 3.591 GB, free: 92.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0143/11.7, allocations: 4.844 MB / 3.595 GB, free: 92.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/11.7, allocations: 2.344 kB / 3.595 GB, free: 92.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005799/11.7, allocations: 2.08 MB / 3.597 GB, free: 92.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005915/11.71, allocations: 0.5598 MB / 3.598 GB, free: 92.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02397/11.73, allocations: 6.093 MB / 3.604 GB, free: 91.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/11.74, allocations: 1.915 MB / 3.606 GB, free: 90.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007165/11.74, allocations: 1.69 MB / 3.607 GB, free: 90.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002636/11.75, allocations: 0.973 MB / 3.608 GB, free: 90.63 MB / 490.7 MB Notification: Performance of SimCode: time 1.333e-06/11.75, allocations: 0 / 3.608 GB, free: 90.63 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2278/11.97, allocations: 93 MB / 3.699 GB, free: 76.98 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/11.97, allocations: 192.2 kB / 3.699 GB, free: 76.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.499/18.47, allocations: 0 / 3.699 GB, free: 76.78 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