Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.585/2.585, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.043e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4616, allocations: 58.84 MB / 382.3 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.6291, allocations: 87.67 MB / 470 MB, free: 4.844 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.6295, allocations: 71.97 kB / 470.1 MB, free: 4.773 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.03199/0.6615, allocations: 5.619 MB / 475.7 MB, free: 15.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.849e-06/0.6616, allocations: 0 / 475.7 MB, free: 15.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.377e-05/0.6616, allocations: 7.938 kB / 475.7 MB, free: 15.15 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008903/0.6625, allocations: 430 kB / 476.1 MB, free: 14.68 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.6626, allocations: 12.03 kB / 476.1 MB, free: 14.67 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.838e-05/0.6627, allocations: 30.56 kB / 476.1 MB, free: 14.63 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.455e-05/0.6628, allocations: 19.8 kB / 476.2 MB, free: 14.61 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/0.6635, allocations: 246.7 kB / 476.4 MB, free: 14.33 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.6636, allocations: 4 kB / 476.4 MB, free: 14.33 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.6636, allocations: 11.92 kB / 476.4 MB, free: 14.32 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.6639, allocations: 93.09 kB / 476.5 MB, free: 14.21 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.664, allocations: 0 / 476.5 MB, free: 14.21 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.664, allocations: 4 kB / 476.5 MB, free: 14.2 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.664, allocations: 0 / 476.5 MB, free: 14.2 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.6642, allocations: 35.86 kB / 476.5 MB, free: 14.17 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.6646, allocations: 222.5 kB / 476.8 MB, free: 13.9 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.665, allocations: 93.34 kB / 476.9 MB, free: 13.79 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.6651, allocations: 33.72 kB / 476.9 MB, free: 13.75 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.6652, allocations: 4 kB / 476.9 MB, free: 13.75 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.6655, allocations: 109.1 kB / 477 MB, free: 13.62 MB / 410.8 MB Notification: Performance of pre-optimization done (n=10): time 2.745e-06/0.6655, allocations: 0 / 477 MB, free: 13.62 MB / 410.8 MB Notification: Performance of matching and sorting (n=10): time 0.0005668/0.6661, allocations: 133.4 kB / 477.1 MB, free: 13.48 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.6662, allocations: 132.5 kB / 477.3 MB, free: 13.32 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.6667, allocations: 199.1 kB / 477.5 MB, free: 13.12 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.6668, allocations: 29.7 kB / 477.5 MB, free: 13.08 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.6669, allocations: 120.1 kB / 477.6 MB, free: 12.96 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.667, allocations: 31.55 kB / 477.6 MB, free: 12.93 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.667, allocations: 0 / 477.6 MB, free: 12.93 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.6672, allocations: 334.8 kB / 478 MB, free: 12.59 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.6673, allocations: 24 kB / 478 MB, free: 12.57 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.6675, allocations: 73.14 kB / 478 MB, free: 12.48 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.6677, allocations: 40.05 kB / 478.1 MB, free: 12.44 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6677, allocations: 0 / 478.1 MB, free: 12.44 MB / 410.8 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004614/0.6682, allocations: 125.4 kB / 478.2 MB, free: 12.31 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.6682, allocations: 4 kB / 478.2 MB, free: 12.31 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.6682, allocations: 0 / 478.2 MB, free: 12.31 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.6683, allocations: 4 kB / 478.2 MB, free: 12.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.6686, allocations: 24.08 kB / 478.2 MB, free: 12.28 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.6686, allocations: 0 / 478.2 MB, free: 12.28 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.6688, allocations: 15.98 kB / 478.3 MB, free: 12.27 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.6689, allocations: 4 kB / 478.3 MB, free: 12.26 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 0.0001471/0.669, allocations: 116.9 kB / 478.4 MB, free: 12.14 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.6691, allocations: 15.81 kB / 478.4 MB, free: 12.12 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005897/0.6697, allocations: 158.4 kB / 478.5 MB, free: 11.96 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.6698, allocations: 4 kB / 478.6 MB, free: 11.95 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6698, allocations: 4 kB / 478.6 MB, free: 11.95 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6698, allocations: 3.984 kB / 478.6 MB, free: 11.95 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.6702, allocations: 225.5 kB / 478.8 MB, free: 11.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6702, allocations: 0 / 478.8 MB, free: 11.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.6703, allocations: 8.25 kB / 478.8 MB, free: 11.67 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.6704, allocations: 3.938 kB / 478.8 MB, free: 11.66 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.6704, allocations: 8 kB / 478.8 MB, free: 11.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6704, allocations: 0 / 478.8 MB, free: 11.66 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6704, allocations: 0 / 478.8 MB, free: 11.66 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.671, allocations: 199.3 kB / 479 MB, free: 11.43 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.6712, allocations: 100.9 kB / 479.1 MB, free: 11.32 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.6713, allocations: 0 / 479.1 MB, free: 11.32 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.6715, allocations: 8 kB / 479.1 MB, free: 11.31 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.6715, allocations: 7.984 kB / 479.1 MB, free: 11.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.6716, allocations: 7.984 kB / 479.1 MB, free: 11.29 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0003407/0.6719, allocations: 173.5 kB / 479.3 MB, free: 11.12 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.51e-07/0.672, allocations: 0 / 479.3 MB, free: 11.12 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0006317/0.6726, allocations: 51.86 kB / 479.3 MB, free: 11.07 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002711/0.6753, allocations: 1.131 MB / 480.5 MB, free: 9.984 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.6758, allocations: 75.92 kB / 480.5 MB, free: 9.91 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6758, allocations: 4.125 kB / 480.5 MB, free: 9.906 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.676, allocations: 39.94 kB / 480.6 MB, free: 9.867 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/0.6767, allocations: 51.41 kB / 480.6 MB, free: 9.82 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.6778, allocations: 253.1 kB / 480.9 MB, free: 9.535 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.6783, allocations: 0.7244 MB / 481.6 MB, free: 8.785 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.000202/0.6785, allocations: 29.8 kB / 481.6 MB, free: 8.758 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.6787, allocations: 55.34 kB / 481.7 MB, free: 8.703 MB / 410.8 MB Notification: Performance of SimCode: time 1.412e-06/0.6787, allocations: 0 / 481.7 MB, free: 8.703 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05073/0.7294, allocations: 4.196 MB / 485.9 MB, free: 4.535 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003684/0.7299, allocations: 190.9 kB / 486.1 MB, free: 4.309 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.173, allocations: 4.062 kB / 486.1 MB, free: 4.305 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat