Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.484/2.484, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.563e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3742, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.16/12.54, allocations: 3.679 GB / 4.025 GB, free: 93.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/12.54, allocations: 83.7 kB / 4.025 GB, free: 93.63 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.561/19.1, allocations: 0.966 GB / 4.991 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.374e-06/19.1, allocations: 0 / 4.991 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005654/19.1, allocations: 165.6 kB / 4.992 GB, free: 22.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.06235/19.16, allocations: 9.643 MB / 5.001 GB, free: 18.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/19.16, allocations: 7.562 kB / 5.001 GB, free: 18.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009138/19.17, allocations: 0.8628 MB / 5.002 GB, free: 17.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02863/19.2, allocations: 5.75 MB / 5.007 GB, free: 16.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006684/19.2, allocations: 239.4 kB / 5.008 GB, free: 16.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005267/19.21, allocations: 415.6 kB / 5.008 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04567/19.25, allocations: 15.35 MB / 5.023 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04778/19.3, allocations: 12.89 MB / 5.036 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005676/19.3, allocations: 30.47 kB / 5.036 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005123/19.31, allocations: 8 kB / 5.036 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001148/19.31, allocations: 0.707 MB / 5.036 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6453/19.95, allocations: 46.78 MB / 5.082 GB, free: 50.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03114/19.98, allocations: 10.39 MB / 5.092 GB, free: 50.78 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01886/20, allocations: 7.057 MB / 5.099 GB, free: 50.72 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006246/20.01, allocations: 4.156 MB / 5.103 GB, free: 46.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/20.01, allocations: 150.1 kB / 5.103 GB, free: 46.45 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01162/20.02, allocations: 0.8685 MB / 5.104 GB, free: 46.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=881): time 6.293e-05/20.02, allocations: 0 / 5.104 GB, free: 46.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1121): time 0.5247/20.55, allocations: 81.51 MB / 5.184 GB, free: 44.14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/20.55, allocations: 168.4 kB / 5.184 GB, free: 44.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00619/20.55, allocations: 2.294 MB / 5.186 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.004428/20.56, allocations: 30.02 kB / 5.186 GB, free: 43.81 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002481/20.56, allocations: 2.399 MB / 5.188 GB, free: 42.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.007785/20.57, allocations: 3.752 MB / 5.192 GB, free: 40.61 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004112/20.57, allocations: 3.391 kB / 5.192 GB, free: 40.61 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001263/20.57, allocations: 0.7443 MB / 5.193 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02423/20.6, allocations: 8.735 MB / 5.201 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02645/20.62, allocations: 10.13 MB / 5.211 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0658/20.69, allocations: 13.16 MB / 5.224 GB, free: 34.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001227/20.69, allocations: 8 kB / 5.224 GB, free: 34.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1305/20.82, allocations: 31.3 MB / 5.255 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.003831/20.82, allocations: 12.48 MB / 5.267 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002426/20.82, allocations: 32 kB / 5.267 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9463/21.77, allocations: 43.49 MB / 5.309 GB, free: 59.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/21.78, allocations: 1.088 MB / 5.31 GB, free: 59.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1259/21.91, allocations: 35.33 MB / 5.345 GB, free: 58.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02926/21.94, allocations: 1.577 MB / 5.346 GB, free: 58.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005356/21.94, allocations: 0.6056 MB / 5.347 GB, free: 58.58 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/21.94, allocations: 5.188 kB / 5.347 GB, free: 58.58 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1313/22.07, allocations: 29.28 MB / 5.376 GB, free: 58.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000239/22.07, allocations: 30.06 kB / 5.376 GB, free: 58.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3865/22.46, allocations: 40.16 MB / 5.415 GB, free: 57.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01133/22.47, allocations: 1.187 MB / 5.416 GB, free: 57.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1039/22.58, allocations: 31.26 MB / 5.447 GB, free: 40.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0269/22.6, allocations: 1.547 MB / 5.448 GB, free: 40.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00516/22.61, allocations: 0.5897 MB / 5.449 GB, free: 39.58 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 589 * 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 {67 719} Notification: Performance of prepare postOptimizeDAE: time 0.007826/22.62, allocations: 223.3 kB / 5.449 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08749/22.7, allocations: 22.4 MB / 5.471 GB, free: 21.17 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005891/22.71, allocations: 0.5783 MB / 5.471 GB, free: 20.71 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1082/22.82, allocations: 26.58 MB / 5.497 GB, free: 15.55 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002457/22.82, allocations: 116 kB / 5.497 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.742e-05/22.82, allocations: 7.797 kB / 5.497 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.601/23.42, allocations: 21.14 MB / 5.518 GB, free: 77.09 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1649/23.58, allocations: 40.41 MB / 5.558 GB, free: 75.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001382/23.58, allocations: 0 / 5.558 GB, free: 75.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02585/23.61, allocations: 2.13 MB / 5.56 GB, free: 75.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0738/23.68, allocations: 11.09 MB / 5.57 GB, free: 75.46 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005158/23.69, allocations: 480 kB / 5.571 GB, free: 75.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04869/23.74, allocations: 30.69 MB / 5.601 GB, free: 58.16 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/23.74, allocations: 1.688 kB / 5.601 GB, free: 58.16 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1339/23.87, allocations: 34.75 MB / 5.635 GB, free: 53.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0032/23.88, allocations: 0.6897 MB / 5.635 GB, free: 52.74 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00674/23.88, allocations: 269.4 kB / 5.636 GB, free: 52.67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02563/23.91, allocations: 1.248 MB / 5.637 GB, free: 52.65 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004758/23.91, allocations: 0.757 MB / 5.638 GB, free: 52.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003615/23.92, allocations: 0.5525 MB / 5.638 GB, free: 52.47 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004334/23.92, allocations: 1.674 MB / 5.64 GB, free: 51.78 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.002e-06/23.92, allocations: 0 / 5.64 GB, free: 51.78 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03975/23.96, allocations: 6.268 MB / 5.646 GB, free: 51.61 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1056): * Single equations (assignments): 1029 * 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: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 22,2 6,2 6,2 6,2 6,2 6,2 6,2 22,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.1479/24.11, allocations: 39.46 MB / 5.685 GB, free: 24.72 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.6392/24.75, allocations: 32.66 MB / 5.716 GB, free: 75.14 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.246e-05/24.75, allocations: 6.344 kB / 5.716 GB, free: 75.14 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.03751/24.78, allocations: 11.23 MB / 5.727 GB, free: 74.63 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03052/24.82, allocations: 2.688 MB / 5.73 GB, free: 74.57 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1195/24.94, allocations: 28.55 MB / 5.758 GB, free: 71.16 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01135/24.95, allocations: 5.198 MB / 5.763 GB, free: 70.21 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03594/24.98, allocations: 5.154 MB / 5.768 GB, free: 69.67 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01451/25, allocations: 3.434 MB / 5.771 GB, free: 69.67 MB / 0.573 GB Notification: Performance of SimCode: time 1.573e-06/25, allocations: 4.844 kB / 5.771 GB, free: 69.66 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.073/28.07, allocations: 454.6 MB / 6.215 GB, free: 93.52 MB / 0.62 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002604/28.07, allocations: 217.8 kB / 6.215 GB, free: 93.24 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 22.82/50.89, allocations: 0.5625 kB / 6.215 GB, free: 93.24 MB / 0.62 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat