Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.596e-05/4.604e-05, allocations: 4 kB / 292.7 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1246, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5041/0.6287, allocations: 80.49 MB / 423.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.6291, allocations: 66.09 kB / 423.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04064/0.6697, allocations: 9.343 MB / 433.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6698, allocations: 0 / 433.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.013e-05/0.6698, allocations: 19.94 kB / 433.1 MB, free: 5.516 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001611/0.6715, allocations: 0.683 MB / 433.8 MB, free: 4.812 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.6715, allocations: 8.031 kB / 433.8 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.6717, allocations: 72.44 kB / 433.8 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.6719, allocations: 63.25 kB / 433.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009127/0.6729, allocations: 375.2 kB / 434.3 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.673, allocations: 59.61 kB / 434.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.925e-05/0.6731, allocations: 29.12 kB / 434.4 MB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009725/0.6741, allocations: 444.4 kB / 434.8 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.6742, allocations: 3.953 kB / 434.8 MB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/0.6742, allocations: 16.69 kB / 434.8 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.6743, allocations: 8 kB / 434.8 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000753/0.675, allocations: 261 kB / 435.1 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.6785, allocations: 1.278 MB / 436.3 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.6806, allocations: 424.1 kB / 436.8 MB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004384/0.6811, allocations: 140.6 kB / 436.9 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.6812, allocations: 4.281 kB / 436.9 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.6812, allocations: 45.91 kB / 436.9 MB, free: 2.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.687e-06/0.6812, allocations: 0 / 436.9 MB, free: 2.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.001058/0.6823, allocations: 325.4 kB / 437.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002171/0.6825, allocations: 444.4 kB / 437.7 MB, free: 1.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000765/0.6833, allocations: 394.6 kB / 438.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.379e-05/0.6834, allocations: 36.95 kB / 438.1 MB, free: 1.012 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.6836, allocations: 240.2 kB / 438.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.6838, allocations: 121.2 kB / 438.5 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.6839, allocations: 6.5 kB / 438.5 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.6841, allocations: 360.6 kB / 438.8 MB, free: 412 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.6844, allocations: 97.19 kB / 438.9 MB, free: 356 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.6849, allocations: 239.9 kB / 439.2 MB, free: 116 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.6853, allocations: 145 kB / 439.3 MB, free: 8 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6853, allocations: 0 / 439.3 MB, free: 8 kB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00118/0.6865, allocations: 414.5 kB / 439.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/0.6866, allocations: 33.7 kB / 439.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6866, allocations: 0 / 439.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/0.6869, allocations: 52.62 kB / 439.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/0.6875, allocations: 63.91 kB / 439.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003259/0.6908, allocations: 2.738 MB / 442.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/0.6916, allocations: 50.81 kB / 442.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.6916, allocations: 15.77 kB / 442.7 MB, free: 12.64 MB / 362.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 (37): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.6919, allocations: 131.7 kB / 442.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.692, allocations: 47.44 kB / 442.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.6922, allocations: 53.5 kB / 442.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.6922, allocations: 4 kB / 442.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6922, allocations: 3.938 kB / 442.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009152/0.6931, allocations: 0.6335 MB / 443.5 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.6951, allocations: 0.8885 MB / 444.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.6952, allocations: 0 / 444.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/0.6959, allocations: 79.02 kB / 444.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.696, allocations: 0 / 444.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.696, allocations: 7.5 kB / 444.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.696, allocations: 3.984 kB / 444.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.031e-05/0.6961, allocations: 3.953 kB / 444.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.6973, allocations: 0.5005 MB / 445 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.6977, allocations: 161 kB / 445.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.6978, allocations: 10.62 kB / 445.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005134/0.6983, allocations: 23.8 kB / 445.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.6984, allocations: 23.3 kB / 445.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.6985, allocations: 4 kB / 445.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005815/0.6991, allocations: 310.9 kB / 445.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.6991, allocations: 0 / 445.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007565/0.6999, allocations: 146.8 kB / 445.7 MB, free: 9.973 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/0.7015, allocations: 1.056 MB / 446.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.7028, allocations: 0.535 MB / 447.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.7029, allocations: 4 kB / 447.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.7032, allocations: 118.9 kB / 447.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.7043, allocations: 115.1 kB / 447.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.7071, allocations: 0.7193 MB / 448.2 MB, free: 7.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.7077, allocations: 0.8315 MB / 449 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000443/0.7081, allocations: 56.23 kB / 449.1 MB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.7085, allocations: 163.2 kB / 449.3 MB, free: 6.715 MB / 362.7 MB Notification: Performance of SimCode: time 1.203e-06/0.7085, allocations: 0 / 449.3 MB, free: 6.715 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05277/0.7613, allocations: 11.33 MB / 460.6 MB, free: 11.54 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004026/0.7618, allocations: 192.5 kB / 460.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.036/3.798, allocations: 0 / 460.8 MB, free: 11.31 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat