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.931/1.931, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.734e-05, allocations: 0 / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.199/8.308, allocations: 2.542 GB / 2.856 GB, free: 12.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/8.308, allocations: 74.97 kB / 2.856 GB, free: 12.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.331/12.64, allocations: 0.7229 GB / 3.579 GB, free: 35.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.883e-06/12.64, allocations: 0 / 3.579 GB, free: 35.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001659/12.64, allocations: 33.31 kB / 3.579 GB, free: 35.77 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.01338/12.65, allocations: 2.671 MB / 3.582 GB, free: 34.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/12.65, allocations: 10.06 kB / 3.582 GB, free: 34.59 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007166/12.65, allocations: 156.7 kB / 3.582 GB, free: 34.55 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005032/12.66, allocations: 456 kB / 3.582 GB, free: 34.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/12.66, allocations: 1.129 MB / 3.583 GB, free: 34.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/12.66, allocations: 147.3 kB / 3.584 GB, free: 34.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004695/12.66, allocations: 93.52 kB / 3.584 GB, free: 34.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00605/12.67, allocations: 1.871 MB / 3.586 GB, free: 33.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.928e-05/12.67, allocations: 7.328 kB / 3.586 GB, free: 33.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/12.67, allocations: 44.5 kB / 3.586 GB, free: 33.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/12.67, allocations: 82.48 kB / 3.586 GB, free: 33.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006281/12.68, allocations: 1.688 MB / 3.587 GB, free: 33.75 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.01934/12.7, allocations: 8.549 MB / 3.596 GB, free: 28.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004599/12.7, allocations: 1.373 MB / 3.597 GB, free: 28.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/12.7, allocations: 472.4 kB / 3.597 GB, free: 28.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2088/12.91, allocations: 63.42 MB / 3.659 GB, free: 20.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003229/12.91, allocations: 0.8927 MB / 3.66 GB, free: 20.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 5.19e-06/12.91, allocations: 0 / 3.66 GB, free: 20.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=86): time 0.01277/12.93, allocations: 3.745 MB / 3.664 GB, free: 19.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002454/12.93, allocations: 402.9 kB / 3.664 GB, free: 19.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/12.93, allocations: 0.9216 MB / 3.665 GB, free: 19.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003355/12.93, allocations: 40.61 kB / 3.665 GB, free: 19.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/12.93, allocations: 0.5641 MB / 3.666 GB, free: 18.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/12.93, allocations: 300.2 kB / 3.666 GB, free: 18.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/12.93, allocations: 24.59 kB / 3.666 GB, free: 18.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/12.93, allocations: 358.2 kB / 3.666 GB, free: 18.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/12.93, allocations: 478.8 kB / 3.667 GB, free: 18.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/12.93, allocations: 0.9331 MB / 3.668 GB, free: 17.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/12.94, allocations: 0.6258 MB / 3.668 GB, free: 17.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/12.94, allocations: 7.469 kB / 3.668 GB, free: 17.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004934/12.94, allocations: 1.731 MB / 3.67 GB, free: 17.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002877/12.94, allocations: 5.412 MB / 3.675 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.886e-05/12.94, allocations: 17.09 kB / 3.675 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/12.95, allocations: 1.056 MB / 3.676 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/12.96, allocations: 246.2 kB / 3.677 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/12.96, allocations: 1.458 MB / 3.678 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/12.96, allocations: 123.6 kB / 3.678 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/12.96, allocations: 77.12 kB / 3.678 GB, free: 11.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/12.96, allocations: 3.938 kB / 3.678 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004606/12.97, allocations: 1.482 MB / 3.68 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.815e-05/12.97, allocations: 16.78 kB / 3.68 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/12.97, allocations: 343.8 kB / 3.68 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/12.97, allocations: 283.5 kB / 3.68 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/12.97, allocations: 1.01 MB / 3.681 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/12.98, allocations: 129.7 kB / 3.681 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/12.98, allocations: 67.31 kB / 3.682 GB, free: 10.7 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.0006644/12.98, allocations: 209.4 kB / 3.682 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004474/12.98, allocations: 123.8 kB / 3.682 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007532/12.98, allocations: 3.953 MB / 3.686 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-05/12.99, allocations: 54.44 kB / 3.686 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/12.99, allocations: 0 / 3.686 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.803e-05/12.99, allocations: 11.3 kB / 3.686 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/13, allocations: 5.474 MB / 3.691 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/13, allocations: 0 / 3.691 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/13, allocations: 176.2 kB / 3.691 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01096/13.01, allocations: 1.774 MB / 3.693 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003051/13.01, allocations: 34.73 kB / 3.693 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/13.01, allocations: 2.084 MB / 3.695 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/13.01, allocations: 3.031 kB / 3.695 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00685/13.02, allocations: 3.808 MB / 3.699 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/13.02, allocations: 0.5345 MB / 3.699 GB, free: 7.445 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003852/13.02, allocations: 29.78 kB / 3.699 GB, free: 7.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/13.02, allocations: 92.06 kB / 3.699 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/13.02, allocations: 81.14 kB / 3.7 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/13.02, allocations: 34.7 kB / 3.7 GB, free: 7.426 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002123/13.03, allocations: 1.034 MB / 3.701 GB, free: 7.309 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/13.03, allocations: 0 / 3.701 GB, free: 7.309 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01015/13.04, allocations: 2.05 MB / 3.703 GB, free: 7 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.02111/13.06, allocations: 6.635 MB / 3.709 GB, free: 3.758 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006572/13.06, allocations: 2.248 MB / 3.711 GB, free: 2.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/13.06, allocations: 4 kB / 3.711 GB, free: 2.477 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002159/13.07, allocations: 0.9729 MB / 3.712 GB, free: 1.992 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005837/13.07, allocations: 0.6312 MB / 3.713 GB, free: 1.641 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/13.09, allocations: 3.777 MB / 3.716 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/13.09, allocations: 1.482 MB / 3.718 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004216/13.09, allocations: 1.041 MB / 3.719 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/13.09, allocations: 0.702 MB / 3.72 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of SimCode: time 1.233e-06/13.09, allocations: 0 / 3.72 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6392/13.73, allocations: 88.61 MB / 3.806 GB, free: 68.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/13.73, allocations: 233.9 kB / 3.806 GB, free: 68.24 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/20.7, allocations: 0 / 3.806 GB, free: 68.24 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