Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.738/1.738, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.868e-05, allocations: 0 / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2797, allocations: 38.78 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.4107, allocations: 72.26 MB / 336.1 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.411, allocations: 71.97 kB / 336.2 MB, free: 1.434 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1006/0.5116, allocations: 16.17 MB / 352.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5116, allocations: 0 / 352.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.062e-05/0.5117, allocations: 16 kB / 352.3 MB, free: 1.137 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.01212/0.5238, allocations: 1.084 MB / 353.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/0.5239, allocations: 8.031 kB / 353.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003971/0.5244, allocations: 119.6 kB / 353.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004439/0.5248, allocations: 114.8 kB / 353.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.5267, allocations: 0.5196 MB / 354.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004264/0.5271, allocations: 162.3 kB / 354.3 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/0.5274, allocations: 60 kB / 354.4 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005477/0.5329, allocations: 0.816 MB / 355.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.5329, allocations: 0 / 355.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.5331, allocations: 32 kB / 355.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.5332, allocations: 20 kB / 355.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.5356, allocations: 0.5167 MB / 355.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006526/0.5422, allocations: 2.194 MB / 358 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/0.5445, allocations: 0.9904 MB / 359 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009834/0.5455, allocations: 351.8 kB / 359.3 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.5457, allocations: 10.64 kB / 359.3 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/0.5458, allocations: 55.34 kB / 359.4 MB, free: 9.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 3.667e-06/0.5458, allocations: 0 / 359.4 MB, free: 9.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.004139/0.5499, allocations: 0.9124 MB / 360.3 MB, free: 8.742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004723/0.5504, allocations: 0.8274 MB / 361.1 MB, free: 7.719 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.5517, allocations: 0.5544 MB / 361.7 MB, free: 7.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.552, allocations: 45.7 kB / 361.7 MB, free: 7.109 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.5523, allocations: 359.5 kB / 362.1 MB, free: 6.758 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.5527, allocations: 272 kB / 362.3 MB, free: 6.488 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.5528, allocations: 12 kB / 362.3 MB, free: 6.477 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.553, allocations: 334.8 kB / 362.7 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007648/0.5537, allocations: 225.6 kB / 362.9 MB, free: 5.918 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.5548, allocations: 0.4961 MB / 363.4 MB, free: 5.324 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.5557, allocations: 360.2 kB / 363.7 MB, free: 4.957 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.5557, allocations: 0 / 363.7 MB, free: 4.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003911/0.5596, allocations: 1 MB / 364.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.636e-05/0.5598, allocations: 93.09 kB / 364.8 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5598, allocations: 3.938 kB / 364.8 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.5609, allocations: 207.3 kB / 365 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.5623, allocations: 155.8 kB / 365.2 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2537/0.8161, allocations: 6.198 MB / 371.4 MB, free: 84.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.8176, allocations: 120.5 kB / 371.5 MB, free: 84.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.8178, allocations: 29.81 kB / 371.5 MB, free: 84.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002915/0.8181, allocations: 153.8 kB / 371.7 MB, free: 84.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.8184, allocations: 90.44 kB / 371.8 MB, free: 84.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.8187, allocations: 96.03 kB / 371.9 MB, free: 84.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.8187, allocations: 11.97 kB / 371.9 MB, free: 84.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.8187, allocations: 0 / 371.9 MB, free: 84.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003504/0.8223, allocations: 1.203 MB / 373.1 MB, free: 83.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005651/0.828, allocations: 1.911 MB / 375 MB, free: 83.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.828, allocations: 0 / 375 MB, free: 83.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.8296, allocations: 156.8 kB / 375.1 MB, free: 83.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006952/0.8303, allocations: 168 kB / 375.3 MB, free: 83.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/0.8304, allocations: 21.86 kB / 375.3 MB, free: 83.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007194/0.8377, allocations: 4.785 MB / 380.1 MB, free: 79.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.8377, allocations: 3.25 kB / 380.1 MB, free: 79.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004287/0.842, allocations: 1.329 MB / 381.4 MB, free: 79.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.8424, allocations: 166.7 kB / 381.6 MB, free: 79.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/0.8426, allocations: 21.53 kB / 381.6 MB, free: 79.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009729/0.8436, allocations: 65.08 kB / 381.7 MB, free: 79.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/0.8439, allocations: 69.89 kB / 381.8 MB, free: 79.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.536e-05/0.844, allocations: 19.55 kB / 381.8 MB, free: 79.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007588/0.8447, allocations: 447.3 kB / 382.2 MB, free: 78.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.8448, allocations: 3.844 kB / 382.2 MB, free: 78.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001298/0.8461, allocations: 291.5 kB / 382.5 MB, free: 78.9 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004523/0.8506, allocations: 1.913 MB / 384.4 MB, free: 77.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002357/0.853, allocations: 1.261 MB / 385.7 MB, free: 76.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.8531, allocations: 0 / 385.7 MB, free: 76.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.8549, allocations: 0.7502 MB / 386.4 MB, free: 76.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.8564, allocations: 199.1 kB / 386.6 MB, free: 76.37 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/0.8611, allocations: 1.504 MB / 388.1 MB, free: 75.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.8617, allocations: 0.9697 MB / 389.1 MB, free: 75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/0.8624, allocations: 308.1 kB / 389.4 MB, free: 74.78 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.8624, allocations: 0 / 389.4 MB, free: 74.78 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.251/4.113, allocations: 24.93 MB / 414.3 MB, free: 54.07 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat