Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.168/2.168, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.521e-05, allocations: 4 kB / 292.7 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4811/0.5937, allocations: 82.87 MB / 426 MB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.5941, allocations: 70.59 kB / 426.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06616/0.6603, allocations: 13.8 MB / 439.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6603, allocations: 0 / 439.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.22e-05/0.6604, allocations: 12 kB / 439.9 MB, free: 15.83 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002737/0.6632, allocations: 0.9001 MB / 440.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.6632, allocations: 12.02 kB / 440.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002777/0.6635, allocations: 93.91 kB / 440.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003151/0.6639, allocations: 98.95 kB / 441 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.6653, allocations: 437.9 kB / 441.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.6656, allocations: 99.14 kB / 441.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.6658, allocations: 56.41 kB / 441.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.6673, allocations: 0.6127 MB / 442.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.6674, allocations: 0 / 442.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.627e-05/0.6675, allocations: 21.94 kB / 442.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.6676, allocations: 12 kB / 442.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.6688, allocations: 380.7 kB / 442.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005803/0.6747, allocations: 1.911 MB / 444.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.678, allocations: 0.6647 MB / 445.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007364/0.6788, allocations: 233.4 kB / 445.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-05/0.6789, allocations: 15.73 kB / 445.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.679, allocations: 41.81 kB / 445.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 3.707e-06/0.679, allocations: 0 / 445.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.00318/0.6822, allocations: 0.67 MB / 446.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003038/0.6825, allocations: 0.5715 MB / 446.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.6835, allocations: 473.2 kB / 447.2 MB, free: 9.527 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001829/0.6837, allocations: 44.2 kB / 447.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.684, allocations: 282.5 kB / 447.5 MB, free: 9.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.6843, allocations: 198.7 kB / 447.7 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.6844, allocations: 10.56 kB / 447.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.6846, allocations: 372.5 kB / 448.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/0.6851, allocations: 161.9 kB / 448.2 MB, free: 8.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007401/0.6859, allocations: 365.2 kB / 448.6 MB, free: 8.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006185/0.6865, allocations: 227.6 kB / 448.8 MB, free: 8.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.6865, allocations: 4 kB / 448.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003164/0.6897, allocations: 0.7422 MB / 449.5 MB, free: 7.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/0.6898, allocations: 33.7 kB / 449.6 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.6898, allocations: 4 kB / 449.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.6912, allocations: 198.7 kB / 449.8 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.6928, allocations: 139.1 kB / 449.9 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0096/0.7024, allocations: 5.003 MB / 454.9 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.7037, allocations: 87.73 kB / 455 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/0.7038, allocations: 16.12 kB / 455 MB, free: 1.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002502/0.704, allocations: 156.9 kB / 455.2 MB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.7042, allocations: 75.16 kB / 455.2 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003213/0.7074, allocations: 0.7225 MB / 456 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.7075, allocations: 11.98 kB / 456 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7075, allocations: 4 kB / 456 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002985/0.7105, allocations: 0.9724 MB / 456.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004733/0.7153, allocations: 1.46 MB / 458.4 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.7154, allocations: 0 / 458.4 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.717, allocations: 143.8 kB / 458.5 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/0.7181, allocations: 161.5 kB / 458.7 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.46e-05/0.7182, allocations: 7.984 kB / 458.7 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006696/0.7249, allocations: 3.396 MB / 462.1 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.725, allocations: 0 / 462.1 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.7286, allocations: 0.9841 MB / 463.1 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.7291, allocations: 212.1 kB / 463.3 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.7292, allocations: 12 kB / 463.3 MB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007816/0.73, allocations: 39.97 kB / 463.3 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.7302, allocations: 48.5 kB / 463.4 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/0.7303, allocations: 19.98 kB / 463.4 MB, free: 8.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007379/0.731, allocations: 369.6 kB / 463.8 MB, free: 8.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7311, allocations: 0 / 463.8 MB, free: 8.555 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001127/0.7322, allocations: 243.6 kB / 464 MB, free: 8.316 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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: 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 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.004042/0.7363, allocations: 1.552 MB / 465.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002644/0.7389, allocations: 0.8926 MB / 466.5 MB, free: 5.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.739, allocations: 4 kB / 466.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.7404, allocations: 497.6 kB / 466.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.7418, allocations: 170.4 kB / 467.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.7452, allocations: 1.025 MB / 468.1 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.7459, allocations: 0.9075 MB / 469 MB, free: 3.117 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005491/0.7464, allocations: 77.12 kB / 469.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/0.747, allocations: 235.3 kB / 469.4 MB, free: 2.816 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.747, allocations: 0 / 469.4 MB, free: 2.816 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06553/0.8125, allocations: 17.92 MB / 487.3 MB, free: 1.098 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000345/0.8129, allocations: 180.2 kB / 487.5 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.662/4.475, allocations: 0 / 487.5 MB, free: 0.8789 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat does not exist to compare? outputFormat=mat