Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.303/2.303, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.535e-05/4.55e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4021, allocations: 54.86 MB / 359.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7914/1.194, allocations: 330.2 MB / 0.6739 GB, free: 2.801 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/1.194, allocations: 86.27 kB / 0.674 GB, free: 2.758 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8269/2.021, allocations: 141.5 MB / 0.8122 GB, free: 102.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.535e-06/2.021, allocations: 0 / 0.8122 GB, free: 102.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.557e-05/2.021, allocations: 23.94 kB / 0.8122 GB, free: 102.1 MB / 490.7 MB 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.003763/2.025, allocations: 1.179 MB / 0.8134 GB, free: 100.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/2.025, allocations: 12.03 kB / 0.8134 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003141/2.025, allocations: 106.5 kB / 0.8135 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006074/2.026, allocations: 110.9 kB / 0.8136 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/2.028, allocations: 0.714 MB / 0.8143 GB, free: 99.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/2.028, allocations: 112.7 kB / 0.8144 GB, free: 99.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/2.029, allocations: 52 kB / 0.8145 GB, free: 99.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/2.031, allocations: 1.005 MB / 0.8155 GB, free: 98.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/2.031, allocations: 0 / 0.8155 GB, free: 98.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/2.031, allocations: 27.94 kB / 0.8155 GB, free: 98.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/2.031, allocations: 49.28 kB / 0.8155 GB, free: 98.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/2.033, allocations: 0.8874 MB / 0.8164 GB, free: 97.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009174/2.043, allocations: 4.01 MB / 0.8203 GB, free: 93.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/2.044, allocations: 0.6221 MB / 0.8209 GB, free: 92.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007959/2.045, allocations: 386.2 kB / 0.8213 GB, free: 92.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004583/2.049, allocations: 2.381 MB / 0.8236 GB, free: 89.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008952/2.05, allocations: 439.3 kB / 0.824 GB, free: 89.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.727e-06/2.05, allocations: 0 / 0.824 GB, free: 89.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.005443/2.056, allocations: 1.969 MB / 0.826 GB, free: 87.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/2.056, allocations: 166.6 kB / 0.8261 GB, free: 87.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/2.057, allocations: 0.6758 MB / 0.8268 GB, free: 86.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/2.057, allocations: 33.7 kB / 0.8268 GB, free: 86.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/2.058, allocations: 447.2 kB / 0.8272 GB, free: 85.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/2.058, allocations: 173.5 kB / 0.8274 GB, free: 85.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/2.058, allocations: 20 kB / 0.8274 GB, free: 85.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/2.058, allocations: 398.7 kB / 0.8278 GB, free: 85.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008198/2.059, allocations: 349.6 kB / 0.8281 GB, free: 85.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009372/2.06, allocations: 0.6303 MB / 0.8287 GB, free: 84.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009272/2.061, allocations: 452.6 kB / 0.8292 GB, free: 83.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/2.061, allocations: 4 kB / 0.8292 GB, free: 83.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003034/2.064, allocations: 1.22 MB / 0.8304 GB, free: 82.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006548/2.065, allocations: 3.433 MB / 0.8337 GB, free: 78.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/2.065, allocations: 8 kB / 0.8337 GB, free: 78.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/2.066, allocations: 333.5 kB / 0.834 GB, free: 78.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/2.067, allocations: 167.7 kB / 0.8342 GB, free: 78.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/2.069, allocations: 1.429 MB / 0.8356 GB, free: 76.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/2.07, allocations: 56 kB / 0.8357 GB, free: 76.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/2.07, allocations: 47.98 kB / 0.8357 GB, free: 76.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/2.07, allocations: 5.406 kB / 0.8357 GB, free: 76.78 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002648/2.073, allocations: 1.071 MB / 0.8368 GB, free: 75.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/2.073, allocations: 12 kB / 0.8368 GB, free: 75.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/2.074, allocations: 257.8 kB / 0.837 GB, free: 75.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/2.075, allocations: 159.7 kB / 0.8372 GB, free: 75.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/2.078, allocations: 2.328 MB / 0.8394 GB, free: 72.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/2.079, allocations: 47.91 kB / 0.8395 GB, free: 72.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/2.079, allocations: 48.08 kB / 0.8395 GB, free: 72.69 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (89): * Single equations (assignments): 86 * 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.0003534/2.079, allocations: 194.4 kB / 0.8397 GB, free: 72.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/2.079, allocations: 86.97 kB / 0.8398 GB, free: 72.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/2.083, allocations: 1.027 MB / 0.8408 GB, free: 71.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/2.083, allocations: 4 kB / 0.8408 GB, free: 71.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/2.083, allocations: 3.984 kB / 0.8408 GB, free: 71.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/2.083, allocations: 0 / 0.8408 GB, free: 71.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005225/2.089, allocations: 1.856 MB / 0.8426 GB, free: 69.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/2.089, allocations: 4.062 kB / 0.8426 GB, free: 69.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007833/2.09, allocations: 71.91 kB / 0.8427 GB, free: 69.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/2.091, allocations: 333.4 kB / 0.843 GB, free: 69.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/2.091, allocations: 16 kB / 0.843 GB, free: 68.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/2.093, allocations: 1.425 MB / 0.8444 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/2.093, allocations: 0 / 0.8444 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003852/2.097, allocations: 1.501 MB / 0.8459 GB, free: 65.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006224/2.097, allocations: 248 kB / 0.8461 GB, free: 65.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/2.097, allocations: 12 kB / 0.8461 GB, free: 65.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/2.098, allocations: 44.03 kB / 0.8462 GB, free: 65.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/2.099, allocations: 52.34 kB / 0.8462 GB, free: 65.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.705e-05/2.099, allocations: 23.98 kB / 0.8462 GB, free: 65.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009223/2.1, allocations: 0.5186 MB / 0.8467 GB, free: 65.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.7e-07/2.1, allocations: 0 / 0.8467 GB, free: 65.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002617/2.102, allocations: 0.6635 MB / 0.8474 GB, free: 64.41 MB / 490.7 MB 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 (42): * Single equations (assignments): 39 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005081/2.107, allocations: 2.498 MB / 0.8498 GB, free: 61.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003949/2.111, allocations: 1.615 MB / 0.8514 GB, free: 60.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/2.111, allocations: 1.625 kB / 0.8514 GB, free: 60.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/2.113, allocations: 477.8 kB / 0.8519 GB, free: 59.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/2.115, allocations: 288.2 kB / 0.8521 GB, free: 59.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005497/2.121, allocations: 1.705 MB / 0.8538 GB, free: 57.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/2.121, allocations: 1.027 MB / 0.8548 GB, free: 56.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002037/2.123, allocations: 374.2 kB / 0.8552 GB, free: 56.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/2.124, allocations: 287.3 kB / 0.8554 GB, free: 56.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/2.124, allocations: 0 / 0.8554 GB, free: 56.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07331/2.197, allocations: 28.98 MB / 0.8837 GB, free: 27.08 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/2.197, allocations: 237.9 kB / 0.884 GB, free: 26.76 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.063/6.26, allocations: 0 / 0.884 GB, free: 26.76 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank_res.mat does not exist to compare? outputFormat=mat