Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.254e-05, allocations: 8 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3244, allocations: 44.49 MB / 294.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.44/10.76, allocations: 3.67 GB / 3.957 GB, free: 102.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/10.76, allocations: 73.02 kB / 3.957 GB, free: 102.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.819/16.58, allocations: 0.9665 GB / 4.924 GB, free: 25.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.394e-06/16.58, allocations: 1.156 kB / 4.924 GB, free: 25.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005674/16.58, allocations: 170 kB / 4.924 GB, free: 25.36 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: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.06105/16.64, allocations: 9.819 MB / 4.933 GB, free: 21.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/16.64, allocations: 13.7 kB / 4.933 GB, free: 21.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009388/16.65, allocations: 0.8674 MB / 4.934 GB, free: 21.13 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02795/16.68, allocations: 5.719 MB / 4.94 GB, free: 20.35 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007306/16.68, allocations: 241 kB / 4.94 GB, free: 20.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005701/16.69, allocations: 427.5 kB / 4.941 GB, free: 20.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04649/16.73, allocations: 15.83 MB / 4.956 GB, free: 20.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04785/16.78, allocations: 13.14 MB / 4.969 GB, free: 19.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005947/16.78, allocations: 31.38 kB / 4.969 GB, free: 19.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005192/16.79, allocations: 9.031 kB / 4.969 GB, free: 19.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001157/16.79, allocations: 0.7051 MB / 4.97 GB, free: 19.63 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1446/16.93, allocations: 47.83 MB / 5.016 GB, free: 20.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0292/16.96, allocations: 10.82 MB / 5.027 GB, free: 16.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0187/16.98, allocations: 7.541 MB / 5.034 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00639/16.99, allocations: 4.16 MB / 5.038 GB, free: 9.871 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/16.99, allocations: 152.3 kB / 5.038 GB, free: 9.758 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01129/17, allocations: 0.9116 MB / 5.039 GB, free: 9.402 MB / 474.7 MB Notification: Performance of pre-optimization done (n=925): time 6.34e-05/17, allocations: 0 / 5.039 GB, free: 9.402 MB / 474.7 MB Notification: Performance of matching and sorting (n=1187): time 0.9221/17.92, allocations: 83.96 MB / 5.121 GB, free: 47.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/17.92, allocations: 171.9 kB / 5.121 GB, free: 47.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005521/17.93, allocations: 2.231 MB / 5.124 GB, free: 46.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004492/17.93, allocations: 32.89 kB / 5.124 GB, free: 46.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/17.93, allocations: 2.213 MB / 5.126 GB, free: 45.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007825/17.94, allocations: 3.988 MB / 5.13 GB, free: 43.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004107/17.95, allocations: 0 / 5.13 GB, free: 43.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001301/17.95, allocations: 0.7679 MB / 5.13 GB, free: 43.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02352/17.97, allocations: 9.185 MB / 5.139 GB, free: 43.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02642/18, allocations: 10.48 MB / 5.15 GB, free: 42.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06261/18.06, allocations: 13.62 MB / 5.163 GB, free: 42.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/18.06, allocations: 5.438 kB / 5.163 GB, free: 42.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.1306/18.19, allocations: 32.54 MB / 5.195 GB, free: 37.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002118/18.19, allocations: 9.973 MB / 5.205 GB, free: 26.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002497/18.19, allocations: 31.06 kB / 5.205 GB, free: 26.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3545/18.55, allocations: 43.48 MB / 5.247 GB, free: 7.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009395/18.56, allocations: 1.088 MB / 5.248 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5528/19.11, allocations: 39.14 MB / 5.286 GB, free: 60.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03508/19.15, allocations: 1.624 MB / 5.288 GB, free: 60.86 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006358/19.15, allocations: 0.6084 MB / 5.288 GB, free: 60.86 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/19.15, allocations: 5.125 kB / 5.288 GB, free: 60.86 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1223/19.28, allocations: 30.55 MB / 5.318 GB, free: 60.54 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/19.28, allocations: 23.59 kB / 5.318 GB, free: 60.54 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3444/19.62, allocations: 41.98 MB / 5.359 GB, free: 60.23 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009888/19.63, allocations: 1.145 MB / 5.36 GB, free: 60.23 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1035/19.73, allocations: 34.58 MB / 5.394 GB, free: 56.04 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02451/19.76, allocations: 1.594 MB / 5.396 GB, free: 55.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005463/19.76, allocations: 0.594 MB / 5.396 GB, free: 54.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (606): * Single equations (assignments): 605 * 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 {68 768} Notification: Performance of prepare postOptimizeDAE: time 0.008848/19.77, allocations: 226.1 kB / 5.397 GB, free: 54.76 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0813/19.85, allocations: 22.81 MB / 5.419 GB, free: 36.11 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006049/19.86, allocations: 0.5894 MB / 5.419 GB, free: 35.59 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09927/19.96, allocations: 27.25 MB / 5.446 GB, free: 13.99 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002032/19.96, allocations: 124 kB / 5.446 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.143e-05/19.96, allocations: 0 / 5.446 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4977/20.46, allocations: 22.3 MB / 5.468 GB, free: 62.16 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1635/20.62, allocations: 43.16 MB / 5.51 GB, free: 60.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001402/20.62, allocations: 0.5 kB / 5.51 GB, free: 60.77 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03524/20.66, allocations: 3.375 MB / 5.513 GB, free: 60.77 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05586/20.71, allocations: 10.07 MB / 5.523 GB, free: 60.57 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005941/20.72, allocations: 499.7 kB / 5.524 GB, free: 60.57 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04921/20.77, allocations: 42.6 MB / 5.565 GB, free: 31.48 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/20.77, allocations: 0 / 5.565 GB, free: 31.48 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1339/20.9, allocations: 37.16 MB / 5.602 GB, free: 24.12 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002987/20.9, allocations: 0.7043 MB / 5.602 GB, free: 23.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006623/20.91, allocations: 282.4 kB / 5.603 GB, free: 23.58 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02395/20.93, allocations: 1.268 MB / 5.604 GB, free: 23.56 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005472/20.94, allocations: 0.7993 MB / 5.605 GB, free: 23.46 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004517/20.94, allocations: 0.5672 MB / 5.605 GB, free: 23.38 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003491/20.95, allocations: 1.633 MB / 5.607 GB, free: 22.7 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.81e-07/20.95, allocations: 1.406 kB / 5.607 GB, free: 22.7 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.03706/20.99, allocations: 6.372 MB / 5.613 GB, free: 18.93 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 82 (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,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],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,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],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,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],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,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1168): * Single equations (assignments): 1121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 22 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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: 20 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,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.6072/21.59, allocations: 42.08 MB / 5.654 GB, free: 55.94 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.1088/21.7, allocations: 33.91 MB / 5.687 GB, free: 55.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.126e-05/21.7, allocations: 7.406 kB / 5.687 GB, free: 55.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.04602/21.75, allocations: 12.71 MB / 5.7 GB, free: 54.94 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02785/21.78, allocations: 2.691 MB / 5.702 GB, free: 54.87 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1135/21.89, allocations: 31.34 MB / 5.733 GB, free: 49.83 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/21.9, allocations: 5.293 MB / 5.738 GB, free: 48.88 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01506/21.92, allocations: 3.676 MB / 5.742 GB, free: 47.64 MB / 0.4949 GB Notification: Performance of SimCode: time 1.763e-06/21.92, allocations: 0 / 5.742 GB, free: 47.64 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 12.39/34.31, allocations: 0.8473 GB / 6.589 GB, free: 94.53 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat