Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.533/2.533, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.881e-05/5.91e-05, allocations: 10.64 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4247, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.5838, allocations: 87.59 MB / 469.9 MB, free: 4.816 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.5841, allocations: 67.97 kB / 470 MB, free: 4.75 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02336/0.6075, allocations: 5.112 MB / 475.1 MB, free: 15.63 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6076, allocations: 0 / 475.1 MB, free: 15.63 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.6076, allocations: 4 kB / 475.1 MB, free: 15.63 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005409/0.6082, allocations: 390.2 kB / 475.5 MB, free: 15.2 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.6082, allocations: 8.031 kB / 475.5 MB, free: 15.2 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.6083, allocations: 38.56 kB / 475.5 MB, free: 15.15 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.6083, allocations: 7.906 kB / 475.5 MB, free: 15.14 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.6087, allocations: 211.4 kB / 475.7 MB, free: 14.89 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.6087, allocations: 3.938 kB / 475.7 MB, free: 14.89 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.6088, allocations: 7.984 kB / 475.7 MB, free: 14.88 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.6089, allocations: 53.67 kB / 475.8 MB, free: 14.82 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.609, allocations: 4 kB / 475.8 MB, free: 14.82 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.609, allocations: 0 / 475.8 MB, free: 14.82 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.609, allocations: 4 kB / 475.8 MB, free: 14.81 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.6091, allocations: 15.98 kB / 475.8 MB, free: 14.8 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.6095, allocations: 288.8 kB / 476.1 MB, free: 14.46 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.6097, allocations: 58.62 kB / 476.1 MB, free: 14.4 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.6098, allocations: 20.98 kB / 476.2 MB, free: 14.38 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.6098, allocations: 0 / 476.2 MB, free: 14.38 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.61, allocations: 71.39 kB / 476.2 MB, free: 14.29 MB / 410.8 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.61, allocations: 0 / 476.2 MB, free: 14.29 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.000584/0.6106, allocations: 145.3 kB / 476.4 MB, free: 14.14 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.6107, allocations: 63.33 kB / 476.4 MB, free: 14.07 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.6109, allocations: 149.2 kB / 476.6 MB, free: 13.91 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.611, allocations: 29.7 kB / 476.6 MB, free: 13.88 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.611, allocations: 100.1 kB / 476.7 MB, free: 13.78 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.6111, allocations: 27.64 kB / 476.7 MB, free: 13.75 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/0.6111, allocations: 4 kB / 476.7 MB, free: 13.75 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6112, allocations: 322.8 kB / 477.1 MB, free: 13.42 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.6113, allocations: 16 kB / 477.1 MB, free: 13.41 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-05/0.6114, allocations: 37.7 kB / 477.1 MB, free: 13.36 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.797e-05/0.6115, allocations: 23.94 kB / 477.1 MB, free: 13.34 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6115, allocations: 0 / 477.1 MB, free: 13.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002342/0.6117, allocations: 97.58 kB / 477.2 MB, free: 13.24 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.6118, allocations: 4 kB / 477.2 MB, free: 13.23 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6118, allocations: 0 / 477.2 MB, free: 13.23 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.6118, allocations: 0 / 477.2 MB, free: 13.23 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.612, allocations: 19.98 kB / 477.3 MB, free: 13.21 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.612, allocations: 7.891 kB / 477.3 MB, free: 13.21 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/0.6121, allocations: 11.91 kB / 477.3 MB, free: 13.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.6121, allocations: 0 / 477.3 MB, free: 13.2 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 (10): * Single equations (assignments): 10 * 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.468e-05/0.6122, allocations: 116.3 kB / 477.4 MB, free: 13.08 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.6123, allocations: 7.906 kB / 477.4 MB, free: 13.07 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.6126, allocations: 118.4 kB / 477.5 MB, free: 12.95 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6126, allocations: 0 / 477.5 MB, free: 12.95 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6126, allocations: 0 / 477.5 MB, free: 12.95 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.6126, allocations: 3.953 kB / 477.5 MB, free: 12.95 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.6132, allocations: 403.3 kB / 477.9 MB, free: 12.49 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6132, allocations: 0 / 477.9 MB, free: 12.49 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.6133, allocations: 8 kB / 477.9 MB, free: 12.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.6133, allocations: 4 kB / 477.9 MB, free: 12.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.6134, allocations: 3.953 kB / 477.9 MB, free: 12.48 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.6134, allocations: 0 / 477.9 MB, free: 12.48 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6134, allocations: 288 / 477.9 MB, free: 12.48 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.6137, allocations: 229.8 kB / 478.1 MB, free: 12.23 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.6138, allocations: 85.02 kB / 478.2 MB, free: 12.12 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.6138, allocations: 11.95 kB / 478.2 MB, free: 12.11 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.614, allocations: 3.984 kB / 478.2 MB, free: 12.11 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.614, allocations: 4 kB / 478.3 MB, free: 12.11 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.614, allocations: 4.188 kB / 478.3 MB, free: 12.1 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000146/0.6142, allocations: 128.8 kB / 478.4 MB, free: 11.98 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.251e-06/0.6142, allocations: 0 / 478.4 MB, free: 11.98 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003737/0.6146, allocations: 39.88 kB / 478.4 MB, free: 11.94 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: 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 (9): * Single equations (assignments): 7 * 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.001812/0.6164, allocations: 1.148 MB / 479.6 MB, free: 10.83 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.6167, allocations: 55.98 kB / 479.6 MB, free: 10.78 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6167, allocations: 0 / 479.6 MB, free: 10.78 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.6168, allocations: 32 kB / 479.7 MB, free: 10.75 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.6172, allocations: 35.91 kB / 479.7 MB, free: 10.71 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.6179, allocations: 200.5 kB / 479.9 MB, free: 10.47 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.6182, allocations: 0.712 MB / 480.6 MB, free: 9.734 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.322e-05/0.6183, allocations: 16.55 kB / 480.6 MB, free: 9.719 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.6184, allocations: 31.42 kB / 480.6 MB, free: 9.688 MB / 410.8 MB Notification: Performance of SimCode: time 1.062e-06/0.6184, allocations: 0 / 480.6 MB, free: 9.688 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.6453, allocations: 2.84 MB / 483.5 MB, free: 6.879 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/0.6457, allocations: 189.2 kB / 483.7 MB, free: 6.652 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.919, allocations: 4 kB / 483.7 MB, free: 6.648 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat