Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.461/2.461, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.228e-05/5.245e-05, allocations: 8 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4368, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.6015, allocations: 87.46 MB / 469.8 MB, free: 4.938 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.6018, allocations: 71.97 kB / 469.8 MB, free: 4.867 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02339/0.6252, allocations: 5.165 MB / 475 MB, free: 15.7 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6253, allocations: 0 / 475 MB, free: 15.7 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.6253, allocations: 4 kB / 475 MB, free: 15.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005602/0.6259, allocations: 394.2 kB / 475.4 MB, free: 15.27 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.626, allocations: 8.031 kB / 475.4 MB, free: 15.26 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.626, allocations: 30.56 kB / 475.4 MB, free: 15.22 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.6261, allocations: 11.91 kB / 475.4 MB, free: 15.21 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.6264, allocations: 210.7 kB / 475.7 MB, free: 14.96 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.6265, allocations: 8 kB / 475.7 MB, free: 14.95 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.6265, allocations: 7.984 kB / 475.7 MB, free: 14.95 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.6267, allocations: 45.69 kB / 475.7 MB, free: 14.89 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.6267, allocations: 0 / 475.7 MB, free: 14.89 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.6267, allocations: 7.922 kB / 475.7 MB, free: 14.89 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.6267, allocations: 4 kB / 475.7 MB, free: 14.88 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.767e-05/0.6268, allocations: 12 kB / 475.7 MB, free: 14.87 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.6271, allocations: 189.6 kB / 475.9 MB, free: 14.64 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.6272, allocations: 46.62 kB / 476 MB, free: 14.58 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.6273, allocations: 24.94 kB / 476 MB, free: 14.55 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.6273, allocations: 0 / 476 MB, free: 14.55 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.6275, allocations: 63.34 kB / 476.1 MB, free: 14.48 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 2.344e-06/0.6275, allocations: 0 / 476.1 MB, free: 14.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.000266/0.6278, allocations: 77.58 kB / 476.1 MB, free: 14.4 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.6279, allocations: 63.34 kB / 476.2 MB, free: 14.32 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.6281, allocations: 166.2 kB / 476.4 MB, free: 14.16 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.6282, allocations: 25.7 kB / 476.4 MB, free: 14.12 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.6283, allocations: 104.1 kB / 476.5 MB, free: 14.02 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.6283, allocations: 15.75 kB / 476.5 MB, free: 14 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.6283, allocations: 0 / 476.5 MB, free: 14 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6285, allocations: 330.8 kB / 476.8 MB, free: 13.67 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.702e-05/0.6285, allocations: 12 kB / 476.8 MB, free: 13.66 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.6286, allocations: 29.7 kB / 476.9 MB, free: 13.62 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.6287, allocations: 16 kB / 476.9 MB, free: 13.61 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6287, allocations: 3.938 kB / 476.9 MB, free: 13.61 MB / 410.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001911/0.6289, allocations: 77.53 kB / 477 MB, free: 13.52 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.6289, allocations: 4 kB / 477 MB, free: 13.52 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.629, allocations: 3.984 kB / 477 MB, free: 13.52 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.629, allocations: 4 kB / 477 MB, free: 13.51 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.6291, allocations: 8 kB / 477 MB, free: 13.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.6291, allocations: 4.031 kB / 477 MB, free: 13.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.518e-05/0.6292, allocations: 4 kB / 477 MB, free: 13.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.6293, allocations: 0 / 477 MB, free: 13.5 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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 9.869e-05/0.6294, allocations: 121.4 kB / 477.1 MB, free: 13.37 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.6294, allocations: 11.81 kB / 477.1 MB, free: 13.36 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.6297, allocations: 89.77 kB / 477.2 MB, free: 13.26 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6297, allocations: 0 / 477.2 MB, free: 13.26 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6297, allocations: 0 / 477.2 MB, free: 13.26 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.6297, allocations: 0 / 477.2 MB, free: 13.26 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.6299, allocations: 193.6 kB / 477.4 MB, free: 13.02 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6299, allocations: 192 / 477.4 MB, free: 13.02 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.63, allocations: 12 kB / 477.4 MB, free: 13.01 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.63, allocations: 0 / 477.4 MB, free: 13.01 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.63, allocations: 3.984 kB / 477.4 MB, free: 13.01 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.63, allocations: 0 / 477.4 MB, free: 13.01 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6301, allocations: 3.938 kB / 477.4 MB, free: 13 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.6303, allocations: 105 kB / 477.5 MB, free: 12.88 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/0.6304, allocations: 101 kB / 477.6 MB, free: 12.77 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.6304, allocations: 4 kB / 477.6 MB, free: 12.76 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.6305, allocations: 0 / 477.6 MB, free: 12.76 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.6306, allocations: 7.984 kB / 477.6 MB, free: 12.75 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.6306, allocations: 0 / 477.6 MB, free: 12.75 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001874/0.6308, allocations: 148.1 kB / 477.8 MB, free: 12.61 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6308, allocations: 0 / 477.8 MB, free: 12.61 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003176/0.6311, allocations: 31.84 kB / 477.8 MB, free: 12.58 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001602/0.6327, allocations: 0.9538 MB / 478.7 MB, free: 11.68 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.6329, allocations: 32 kB / 478.8 MB, free: 11.64 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6329, allocations: 0 / 478.8 MB, free: 11.64 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.698e-05/0.633, allocations: 35.98 kB / 478.8 MB, free: 11.61 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.6334, allocations: 15.98 kB / 478.8 MB, free: 11.59 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/0.634, allocations: 190.8 kB / 479 MB, free: 11.37 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.6344, allocations: 0.7004 MB / 479.7 MB, free: 10.64 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.283e-05/0.6345, allocations: 16.41 kB / 479.7 MB, free: 10.63 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.621e-05/0.6346, allocations: 31.42 kB / 479.8 MB, free: 10.6 MB / 410.8 MB Notification: Performance of SimCode: time 1.212e-06/0.6346, allocations: 4 kB / 479.8 MB, free: 10.59 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.6619, allocations: 2.691 MB / 482.5 MB, free: 7.938 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/0.6623, allocations: 194.3 kB / 482.7 MB, free: 7.707 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/2.969, allocations: 0 / 482.7 MB, free: 7.707 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat