Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.824e-05/4.838e-05, allocations: 7.938 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4557, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.6168, allocations: 88.61 MB / 470.9 MB, free: 3.805 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.6171, allocations: 71.97 kB / 471 MB, free: 3.734 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01881/0.6359, allocations: 4.167 MB / 475.2 MB, free: 15.57 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.733e-06/0.636, allocations: 4 kB / 475.2 MB, free: 15.57 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.636, allocations: 8 kB / 475.2 MB, free: 15.56 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007114/0.6368, allocations: 455.9 kB / 475.6 MB, free: 15.06 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.6368, allocations: 8.031 kB / 475.6 MB, free: 15.05 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.925e-05/0.6369, allocations: 42.5 kB / 475.7 MB, free: 15 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.637, allocations: 11.91 kB / 475.7 MB, free: 14.99 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.6374, allocations: 226.7 kB / 475.9 MB, free: 14.73 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.6374, allocations: 8 kB / 475.9 MB, free: 14.72 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.6375, allocations: 8 kB / 475.9 MB, free: 14.71 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.6377, allocations: 100.2 kB / 476 MB, free: 14.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6378, allocations: 0 / 476 MB, free: 14.6 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.6378, allocations: 4 kB / 476 MB, free: 14.6 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.6378, allocations: 4 kB / 476 MB, free: 14.59 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.638, allocations: 31.98 kB / 476 MB, free: 14.56 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008286/0.6388, allocations: 0.5282 MB / 476.6 MB, free: 13.98 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.6392, allocations: 78.67 kB / 476.7 MB, free: 13.89 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.925e-05/0.6393, allocations: 36.86 kB / 476.7 MB, free: 13.85 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.6393, allocations: 3.938 kB / 476.7 MB, free: 13.85 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.6395, allocations: 87.27 kB / 476.8 MB, free: 13.75 MB / 410.8 MB Notification: Performance of pre-optimization done (n=9): time 3.176e-06/0.6396, allocations: 0 / 476.8 MB, free: 13.75 MB / 410.8 MB Notification: Performance of matching and sorting (n=9): time 0.0003449/0.6399, allocations: 101.4 kB / 476.9 MB, free: 13.64 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.64, allocations: 63.41 kB / 476.9 MB, free: 13.57 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.6402, allocations: 166.6 kB / 477.1 MB, free: 13.39 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.6403, allocations: 25.7 kB / 477.1 MB, free: 13.36 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.6404, allocations: 116 kB / 477.2 MB, free: 13.24 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.6404, allocations: 31.55 kB / 477.3 MB, free: 13.21 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.6405, allocations: 0 / 477.3 MB, free: 13.21 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6406, allocations: 326.8 kB / 477.6 MB, free: 12.88 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.6407, allocations: 24 kB / 477.6 MB, free: 12.86 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.6408, allocations: 60.28 kB / 477.7 MB, free: 12.79 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.6409, allocations: 31.92 kB / 477.7 MB, free: 12.75 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.641, allocations: 3.938 kB / 477.7 MB, free: 12.75 MB / 410.8 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003128/0.6413, allocations: 121.5 kB / 477.8 MB, free: 12.62 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.6413, allocations: 7.938 kB / 477.8 MB, free: 12.62 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.6414, allocations: 7.953 kB / 477.8 MB, free: 12.61 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.6414, allocations: 0 / 477.8 MB, free: 12.61 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.6416, allocations: 27.98 kB / 477.9 MB, free: 12.58 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6416, allocations: 0 / 477.9 MB, free: 12.58 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.6418, allocations: 12.12 kB / 477.9 MB, free: 12.57 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.6418, allocations: 4 kB / 477.9 MB, free: 12.57 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001129/0.6419, allocations: 124.9 kB / 478 MB, free: 12.44 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.642, allocations: 15.81 kB / 478 MB, free: 12.42 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.6423, allocations: 119.1 kB / 478.1 MB, free: 12.29 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.6424, allocations: 7.953 kB / 478.1 MB, free: 12.29 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6424, allocations: 0 / 478.1 MB, free: 12.29 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6424, allocations: 0 / 478.1 MB, free: 12.29 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.6427, allocations: 213.7 kB / 478.4 MB, free: 12.03 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.6427, allocations: 0 / 478.4 MB, free: 12.03 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.6428, allocations: 12 kB / 478.4 MB, free: 12.02 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.6429, allocations: 4 kB / 478.4 MB, free: 12.01 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.6429, allocations: 12 kB / 478.4 MB, free: 12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6429, allocations: 0 / 478.4 MB, free: 12 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6429, allocations: 3.953 kB / 478.4 MB, free: 12 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.6433, allocations: 172.8 kB / 478.6 MB, free: 11.81 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.6434, allocations: 92.94 kB / 478.6 MB, free: 11.7 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.6435, allocations: 4 kB / 478.7 MB, free: 11.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.6436, allocations: 12.06 kB / 478.7 MB, free: 11.68 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.6437, allocations: 11.94 kB / 478.7 MB, free: 11.67 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.6437, allocations: 4 kB / 478.7 MB, free: 11.67 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001837/0.6439, allocations: 141.2 kB / 478.8 MB, free: 11.53 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6439, allocations: 4 kB / 478.8 MB, free: 11.53 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003531/0.6443, allocations: 32.06 kB / 478.9 MB, free: 11.5 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001794/0.6461, allocations: 1.004 MB / 479.9 MB, free: 10.54 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.6464, allocations: 67.92 kB / 479.9 MB, free: 10.48 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6464, allocations: 0 / 479.9 MB, free: 10.48 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.6465, allocations: 35.94 kB / 480 MB, free: 10.44 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.6469, allocations: 36.39 kB / 480 MB, free: 10.4 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007854/0.6477, allocations: 253.6 kB / 480.2 MB, free: 10.12 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.6481, allocations: 0.7165 MB / 481 MB, free: 9.375 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.6482, allocations: 17.2 kB / 481 MB, free: 9.359 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.6483, allocations: 43.42 kB / 481 MB, free: 9.316 MB / 410.8 MB Notification: Performance of SimCode: time 9.82e-07/0.6483, allocations: 3.938 kB / 481 MB, free: 9.312 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.6728, allocations: 3.289 MB / 484.3 MB, free: 6.062 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003279/0.6732, allocations: 190.4 kB / 484.5 MB, free: 5.832 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/3.041, allocations: 0 / 484.5 MB, free: 5.832 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat