Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 270 MB / 283.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.92e-05, allocations: 8 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1594, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.396, allocations: 336.4 MB / 0.7292 GB, free: 68.18 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/1.396, allocations: 86.81 kB / 0.7293 GB, free: 68.14 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.061/2.458, allocations: 146 MB / 0.8719 GB, free: 140 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.533e-06/2.458, allocations: 0 / 0.8719 GB, free: 140 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.474e-05/2.458, allocations: 19.44 kB / 0.8719 GB, free: 140 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003791/2.461, allocations: 1.186 MB / 0.8731 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/2.462, allocations: 11.27 kB / 0.8731 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002612/2.462, allocations: 107.2 kB / 0.8732 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000594/2.462, allocations: 112 kB / 0.8733 GB, free: 139 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/2.464, allocations: 0.6732 MB / 0.874 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/2.465, allocations: 113.5 kB / 0.8741 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/2.465, allocations: 55.06 kB / 0.8741 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/2.467, allocations: 1.008 MB / 0.8751 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/2.467, allocations: 3.938 kB / 0.8751 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/2.468, allocations: 27.34 kB / 0.8751 GB, free: 138 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/2.468, allocations: 49.09 kB / 0.8752 GB, free: 138 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/2.47, allocations: 0.8862 MB / 0.876 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/2.48, allocations: 4.025 MB / 0.88 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/2.482, allocations: 0.6334 MB / 0.8806 GB, free: 135 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009297/2.483, allocations: 405.6 kB / 0.881 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005003/2.488, allocations: 2.42 MB / 0.8833 GB, free: 133 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/2.489, allocations: 0.4983 MB / 0.8838 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.677e-06/2.489, allocations: 0 / 0.8838 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.00652/2.496, allocations: 2.135 MB / 0.8859 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/2.496, allocations: 247 kB / 0.8862 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/2.497, allocations: 0.7369 MB / 0.8869 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000241/2.498, allocations: 37.45 kB / 0.8869 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/2.498, allocations: 419.6 kB / 0.8873 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/2.498, allocations: 184 kB / 0.8875 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/2.498, allocations: 15.94 kB / 0.8875 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.601e-05/2.498, allocations: 332.3 kB / 0.8878 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009297/2.499, allocations: 363.9 kB / 0.8882 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/2.501, allocations: 0.5966 MB / 0.8887 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/2.502, allocations: 453.1 kB / 0.8892 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/2.502, allocations: 3.594 kB / 0.8892 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0035/2.505, allocations: 1.258 MB / 0.8904 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005484/2.506, allocations: 2.469 MB / 0.8928 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/2.506, allocations: 7.781 kB / 0.8928 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/2.507, allocations: 337 kB / 0.8932 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/2.509, allocations: 151.2 kB / 0.8933 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/2.511, allocations: 1.433 MB / 0.8947 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/2.512, allocations: 62.45 kB / 0.8948 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/2.512, allocations: 50.31 kB / 0.8948 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/2.512, allocations: 3.875 kB / 0.8948 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003241/2.516, allocations: 1.163 MB / 0.8959 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/2.516, allocations: 6.875 kB / 0.8959 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/2.517, allocations: 327.8 kB / 0.8963 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/2.518, allocations: 150 kB / 0.8964 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/2.52, allocations: 1.418 MB / 0.8978 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/2.521, allocations: 50.47 kB / 0.8978 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/2.522, allocations: 45.84 kB / 0.8979 GB, free: 123.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * 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 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003867/2.522, allocations: 187.7 kB / 0.8981 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/2.522, allocations: 93.08 kB / 0.8981 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003349/2.526, allocations: 1.128 MB / 0.8992 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/2.526, allocations: 7.688 kB / 0.8993 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/2.526, allocations: 0 / 0.8993 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/2.526, allocations: 3.984 kB / 0.8993 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004794/2.531, allocations: 1.985 MB / 0.9012 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/2.531, allocations: 0 / 0.9012 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008021/2.531, allocations: 80.05 kB / 0.9013 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/2.533, allocations: 332 kB / 0.9016 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/2.533, allocations: 23.75 kB / 0.9016 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/2.535, allocations: 1.422 MB / 0.903 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/2.535, allocations: 0 / 0.903 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004172/2.539, allocations: 1.608 MB / 0.9046 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009083/2.54, allocations: 268.2 kB / 0.9048 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/2.54, allocations: 11.94 kB / 0.9048 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/2.541, allocations: 52.34 kB / 0.9049 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/2.542, allocations: 53.64 kB / 0.9049 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/2.542, allocations: 36.89 kB / 0.905 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001154/2.543, allocations: 0.5733 MB / 0.9055 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.82e-07/2.543, allocations: 0 / 0.9055 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003198/2.546, allocations: 0.687 MB / 0.9062 GB, free: 117.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * 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 {2 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0058/2.552, allocations: 2.614 MB / 0.9088 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004799/2.557, allocations: 1.524 MB / 0.9102 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/2.557, allocations: 0 / 0.9102 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/2.559, allocations: 493.2 kB / 0.9107 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/2.561, allocations: 331 kB / 0.911 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/2.567, allocations: 1.66 MB / 0.9127 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/2.568, allocations: 1.031 MB / 0.9137 GB, free: 110 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002171/2.57, allocations: 392.6 kB / 0.914 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/2.57, allocations: 287.3 kB / 0.9143 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/2.57, allocations: 4 kB / 0.9143 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08024/2.651, allocations: 31.6 MB / 0.9452 GB, free: 77.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003252/2.651, allocations: 246.1 kB / 0.9454 GB, free: 77.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.397/7.048, allocations: 0 / 0.9454 GB, free: 77.67 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank_res.mat does not exist to compare? outputFormat=mat