Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.502e-05/4.517e-05, allocations: 1.547 kB / 273.2 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.827/7.936, allocations: 2.542 GB / 2.856 GB, free: 13.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/7.936, allocations: 79.69 kB / 2.856 GB, free: 13.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.351/12.29, allocations: 0.7229 GB / 3.579 GB, free: 36.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.924e-06/12.29, allocations: 0 / 3.579 GB, free: 36.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001466/12.29, allocations: 29.38 kB / 3.579 GB, free: 36.02 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.0133/12.3, allocations: 2.671 MB / 3.582 GB, free: 34.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/12.3, allocations: 10.75 kB / 3.582 GB, free: 34.84 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006596/12.3, allocations: 155.3 kB / 3.582 GB, free: 34.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/12.31, allocations: 460.6 kB / 3.582 GB, free: 34.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0046/12.31, allocations: 1.128 MB / 3.583 GB, free: 34.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/12.31, allocations: 142.7 kB / 3.584 GB, free: 34.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005815/12.31, allocations: 93.09 kB / 3.584 GB, free: 34.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006453/12.32, allocations: 1.888 MB / 3.586 GB, free: 34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.87e-05/12.32, allocations: 5.734 kB / 3.586 GB, free: 34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/12.32, allocations: 44.27 kB / 3.586 GB, free: 34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/12.32, allocations: 78.67 kB / 3.586 GB, free: 34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006441/12.33, allocations: 1.718 MB / 3.587 GB, free: 33.99 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.01938/12.34, allocations: 8.544 MB / 3.596 GB, free: 29.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004657/12.35, allocations: 1.388 MB / 3.597 GB, free: 28.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/12.35, allocations: 468.6 kB / 3.597 GB, free: 28.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2562/12.61, allocations: 63.42 MB / 3.659 GB, free: 21.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004401/12.61, allocations: 0.897 MB / 3.66 GB, free: 21.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 5.921e-06/12.61, allocations: 1.875 kB / 3.66 GB, free: 21.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=86): time 0.01797/12.63, allocations: 3.741 MB / 3.664 GB, free: 19.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003127/12.63, allocations: 408.3 kB / 3.664 GB, free: 19.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/12.63, allocations: 0.9164 MB / 3.665 GB, free: 19.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003394/12.63, allocations: 44.95 kB / 3.665 GB, free: 19.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008307/12.63, allocations: 0.5621 MB / 3.666 GB, free: 19.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005433/12.63, allocations: 300.3 kB / 3.666 GB, free: 18.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/12.63, allocations: 27.47 kB / 3.666 GB, free: 18.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003062/12.63, allocations: 359.8 kB / 3.666 GB, free: 18.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/12.64, allocations: 473.8 kB / 3.667 GB, free: 18.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/12.64, allocations: 0.9426 MB / 3.668 GB, free: 17.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/12.64, allocations: 0.6302 MB / 3.668 GB, free: 17.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-05/12.64, allocations: 1.906 kB / 3.668 GB, free: 17.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.006607/12.65, allocations: 1.773 MB / 3.67 GB, free: 17.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002896/12.65, allocations: 5.409 MB / 3.675 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.306e-05/12.65, allocations: 14.38 kB / 3.675 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01348/12.66, allocations: 1.057 MB / 3.677 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/12.67, allocations: 244 kB / 3.677 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004295/12.67, allocations: 1.452 MB / 3.678 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/12.67, allocations: 134.9 kB / 3.678 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004378/12.68, allocations: 71.44 kB / 3.678 GB, free: 11.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/12.68, allocations: 3.938 kB / 3.678 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006636/12.68, allocations: 1.516 MB / 3.68 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-05/12.68, allocations: 16.91 kB / 3.68 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/12.69, allocations: 344 kB / 3.68 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/12.69, allocations: 284.6 kB / 3.68 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/12.69, allocations: 1.011 MB / 3.681 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/12.69, allocations: 129.1 kB / 3.682 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/12.69, allocations: 69.94 kB / 3.682 GB, free: 10.93 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: 62 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.inFlow[2],pipe.volume.inFlow[1],pipe.volume.heatTransfer.states[1].phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {3 35} Notification: Performance of prepare postOptimizeDAE: time 0.0006602/12.69, allocations: 209.6 kB / 3.682 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/12.69, allocations: 125.1 kB / 3.682 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00673/12.7, allocations: 3.966 MB / 3.686 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.545e-05/12.7, allocations: 44.81 kB / 3.686 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/12.7, allocations: 3.531 kB / 3.686 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/12.7, allocations: 11 kB / 3.686 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009133/12.71, allocations: 5.478 MB / 3.691 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/12.71, allocations: 0 / 3.691 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/12.71, allocations: 179.6 kB / 3.691 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01077/12.72, allocations: 1.774 MB / 3.693 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/12.72, allocations: 27.36 kB / 3.693 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/12.72, allocations: 2.087 MB / 3.695 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/12.72, allocations: 3.156 kB / 3.695 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/12.73, allocations: 3.811 MB / 3.699 GB, free: 7.918 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/12.73, allocations: 0.5334 MB / 3.699 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/12.73, allocations: 21.5 kB / 3.699 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/12.73, allocations: 97.64 kB / 3.7 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/12.73, allocations: 79.5 kB / 3.7 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/12.73, allocations: 32.17 kB / 3.7 GB, free: 7.656 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002022/12.74, allocations: 1.041 MB / 3.701 GB, free: 7.539 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/12.74, allocations: 0.9375 kB / 3.701 GB, free: 7.539 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009205/12.75, allocations: 2.044 MB / 3.703 GB, free: 7.227 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].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 (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.02724/12.77, allocations: 6.609 MB / 3.709 GB, free: 4.105 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0102/12.78, allocations: 2.308 MB / 3.711 GB, free: 2.793 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/12.78, allocations: 0 / 3.711 GB, free: 2.793 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003343/12.79, allocations: 0.9861 MB / 3.712 GB, free: 2.301 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009045/12.8, allocations: 0.6356 MB / 3.713 GB, free: 1.957 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/12.82, allocations: 3.777 MB / 3.717 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/12.82, allocations: 1.477 MB / 3.718 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006618/12.82, allocations: 1.046 MB / 3.719 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/12.83, allocations: 0.7026 MB / 3.72 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.914e-06/12.83, allocations: 0 / 3.72 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6247/13.45, allocations: 88.59 MB / 3.806 GB, free: 68.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/13.45, allocations: 239.5 kB / 3.807 GB, free: 68.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/20.59, allocations: 7.938 kB / 3.807 GB, free: 68.43 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat