Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.163/2.163, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.85e-05/4.864e-05, allocations: 8 kB / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 47.58 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4407/0.5461, allocations: 83.13 MB / 400.1 MB, free: 4.602 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/0.5465, allocations: 79.75 kB / 400.2 MB, free: 4.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05099/0.5975, allocations: 8.226 MB / 408.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5976, allocations: 0 / 408.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.329e-05/0.5976, allocations: 12 kB / 408.5 MB, free: 13.65 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001512/0.5992, allocations: 0.5898 MB / 409 MB, free: 13.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.5993, allocations: 12.03 kB / 409.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/0.5994, allocations: 57.8 kB / 409.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.5996, allocations: 55.36 kB / 409.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.6007, allocations: 334.9 kB / 409.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.6008, allocations: 20.38 kB / 409.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.014e-05/0.6009, allocations: 23.62 kB / 409.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009591/0.6019, allocations: 289.3 kB / 409.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.602, allocations: 0 / 409.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.602, allocations: 11.92 kB / 409.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.6021, allocations: 4 kB / 409.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.6027, allocations: 146 kB / 410 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.6058, allocations: 0.8099 MB / 410.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.6069, allocations: 211.3 kB / 411 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.6073, allocations: 75.98 kB / 411.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/0.6073, allocations: 4 kB / 411.1 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004924/0.6078, allocations: 134.4 kB / 411.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 4.749e-06/0.6079, allocations: 4 kB / 411.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001135/0.609, allocations: 247 kB / 411.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002449/0.6093, allocations: 320.4 kB / 411.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.6104, allocations: 379.3 kB / 412.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.6106, allocations: 33.64 kB / 412.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.6109, allocations: 214.4 kB / 412.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.611, allocations: 79.05 kB / 412.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.6111, allocations: 2.875 kB / 412.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.6113, allocations: 351.4 kB / 412.8 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.6117, allocations: 71.22 kB / 412.9 MB, free: 9.652 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/0.6122, allocations: 166.4 kB / 413 MB, free: 9.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004633/0.6168, allocations: 84.31 kB / 413.1 MB, free: 9.422 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.6169, allocations: 0 / 413.1 MB, free: 9.422 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001373/0.6183, allocations: 275.4 kB / 413.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.6184, allocations: 12.09 kB / 413.4 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.6185, allocations: 0 / 413.4 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/0.6188, allocations: 31.09 kB / 413.4 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.6195, allocations: 51.86 kB / 413.5 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003449/0.623, allocations: 1.459 MB / 414.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007385/0.6238, allocations: 26.62 kB / 415 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.6239, allocations: 8 kB / 415 MB, free: 7.605 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002926/0.6242, allocations: 122.9 kB / 415.1 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.6245, allocations: 43.53 kB / 415.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.6258, allocations: 267.4 kB / 415.4 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.6258, allocations: 4 kB / 415.4 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.6258, allocations: 0 / 415.4 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/0.627, allocations: 0.5994 MB / 416 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.6295, allocations: 0.7359 MB / 416.7 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.6296, allocations: 0 / 416.7 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/0.6303, allocations: 55.28 kB / 416.8 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.699e-05/0.6304, allocations: 8 kB / 416.8 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.6305, allocations: 14.44 kB / 416.8 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.6305, allocations: 0 / 416.8 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6305, allocations: 0 / 416.8 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.632, allocations: 415.6 kB / 417.2 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005592/0.6326, allocations: 148.7 kB / 417.4 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.6328, allocations: 11.75 kB / 417.4 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.6334, allocations: 23.75 kB / 417.4 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.6335, allocations: 15.48 kB / 417.4 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.6336, allocations: 4 kB / 417.4 MB, free: 5.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008964/0.6345, allocations: 306.3 kB / 417.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.763e-06/0.6345, allocations: 0 / 417.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001183/0.6357, allocations: 117.6 kB / 417.8 MB, free: 4.996 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003853/0.6397, allocations: 1.248 MB / 419.1 MB, free: 3.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.6412, allocations: 304.5 kB / 419.4 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/0.6413, allocations: 4.188 kB / 419.4 MB, free: 3.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.6417, allocations: 94.73 kB / 419.5 MB, free: 3.551 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.6432, allocations: 94.33 kB / 419.6 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.6468, allocations: 0.655 MB / 420.2 MB, free: 2.852 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007626/0.6477, allocations: 0.8072 MB / 421 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005497/0.6483, allocations: 50.88 kB / 421.1 MB, free: 1.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.6487, allocations: 126.3 kB / 421.2 MB, free: 1.93 MB / 330.7 MB Notification: Performance of SimCode: time 2.114e-06/0.6488, allocations: 0 / 421.2 MB, free: 1.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06067/0.7095, allocations: 9.303 MB / 430.5 MB, free: 8.652 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000308/0.7098, allocations: 228.7 kB / 430.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/3.615, allocations: 64 / 430.7 MB, free: 8.422 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat does not exist to compare? outputFormat=mat