Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.966e-05/3.977e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4013, allocations: 58.85 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.5676, allocations: 89.36 MB / 471.7 MB, free: 3.031 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5679, allocations: 67.97 kB / 471.7 MB, free: 2.965 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02409/0.592, allocations: 4.787 MB / 476.5 MB, free: 14.18 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5921, allocations: 0 / 476.5 MB, free: 14.18 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.72e-05/0.5921, allocations: 4 kB / 476.5 MB, free: 14.17 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001319/0.5935, allocations: 0.5287 MB / 477.1 MB, free: 13.59 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.5935, allocations: 8.031 kB / 477.1 MB, free: 13.58 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.539e-05/0.5936, allocations: 46.55 kB / 477.1 MB, free: 13.52 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.5937, allocations: 19.72 kB / 477.1 MB, free: 13.5 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.5944, allocations: 247.6 kB / 477.4 MB, free: 13.22 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.5944, allocations: 7.984 kB / 477.4 MB, free: 13.21 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.5945, allocations: 8 kB / 477.4 MB, free: 13.2 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.5949, allocations: 120.2 kB / 477.5 MB, free: 13.07 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5949, allocations: 0 / 477.5 MB, free: 13.07 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.5949, allocations: 4 kB / 477.5 MB, free: 13.07 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.5949, allocations: 3.938 kB / 477.5 MB, free: 13.06 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.5952, allocations: 63.86 kB / 477.6 MB, free: 13 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.5965, allocations: 0.5789 MB / 478.2 MB, free: 12.36 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.5971, allocations: 102.7 kB / 478.3 MB, free: 12.25 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.5972, allocations: 48.84 kB / 478.3 MB, free: 12.2 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.5973, allocations: 0 / 478.3 MB, free: 12.2 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003172/0.5976, allocations: 107.4 kB / 478.4 MB, free: 12.09 MB / 410.8 MB Notification: Performance of pre-optimization done (n=12): time 2.475e-06/0.5976, allocations: 0 / 478.4 MB, free: 12.09 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.0005476/0.5982, allocations: 129.5 kB / 478.5 MB, free: 11.95 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.5983, allocations: 71.33 kB / 478.6 MB, free: 11.87 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.5986, allocations: 202 kB / 478.8 MB, free: 11.67 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.5987, allocations: 29.7 kB / 478.8 MB, free: 11.63 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.5988, allocations: 124.4 kB / 479 MB, free: 11.5 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.5989, allocations: 35.55 kB / 479 MB, free: 11.47 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.5989, allocations: 7.938 kB / 479 MB, free: 11.46 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.599, allocations: 330.8 kB / 479.3 MB, free: 11.13 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.5992, allocations: 36 kB / 479.4 MB, free: 11.09 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.5994, allocations: 84.22 kB / 479.4 MB, free: 11 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.5996, allocations: 61.69 kB / 479.5 MB, free: 10.93 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5996, allocations: 0 / 479.5 MB, free: 10.93 MB / 410.8 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000546/0.6002, allocations: 203 kB / 479.7 MB, free: 10.72 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.6002, allocations: 31.89 kB / 479.7 MB, free: 10.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.6002, allocations: 4 kB / 479.7 MB, free: 10.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.6003, allocations: 0 / 479.7 MB, free: 10.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.6007, allocations: 51.91 kB / 479.8 MB, free: 10.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.6007, allocations: 0 / 479.8 MB, free: 10.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.6011, allocations: 32.09 kB / 479.8 MB, free: 10.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.6011, allocations: 8 kB / 479.8 MB, free: 10.59 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (18): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.6013, allocations: 124.9 kB / 479.9 MB, free: 10.46 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.6013, allocations: 23.67 kB / 480 MB, free: 10.44 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.6019, allocations: 155.3 kB / 480.1 MB, free: 10.27 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.6019, allocations: 4 kB / 480.1 MB, free: 10.27 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6019, allocations: 0 / 480.1 MB, free: 10.27 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.602, allocations: 7.984 kB / 480.1 MB, free: 10.26 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.6023, allocations: 241.5 kB / 480.4 MB, free: 9.977 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6023, allocations: 0 / 480.4 MB, free: 9.977 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.6027, allocations: 31.97 kB / 480.4 MB, free: 9.945 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.6027, allocations: 0 / 480.4 MB, free: 9.945 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.6027, allocations: 7.953 kB / 480.4 MB, free: 9.938 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.6028, allocations: 4 kB / 480.4 MB, free: 9.934 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6028, allocations: 3.938 kB / 480.4 MB, free: 9.93 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.6034, allocations: 220.8 kB / 480.6 MB, free: 9.695 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.6036, allocations: 100.9 kB / 480.7 MB, free: 9.578 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.6036, allocations: 0 / 480.7 MB, free: 9.578 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.604, allocations: 35.92 kB / 480.8 MB, free: 9.543 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.6041, allocations: 24.03 kB / 480.8 MB, free: 9.52 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.6041, allocations: 7.984 kB / 480.8 MB, free: 9.512 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002697/0.6044, allocations: 160.6 kB / 480.9 MB, free: 9.355 MB / 410.8 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6044, allocations: 0 / 480.9 MB, free: 9.355 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0004183/0.6049, allocations: 47.94 kB / 481 MB, free: 9.309 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002106/0.607, allocations: 1.048 MB / 482 MB, free: 8.305 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.6076, allocations: 159.3 kB / 482.2 MB, free: 8.137 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6076, allocations: 0 / 482.2 MB, free: 8.137 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.6078, allocations: 51.94 kB / 482.3 MB, free: 8.086 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.6083, allocations: 40.17 kB / 482.3 MB, free: 8.047 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.6095, allocations: 305.7 kB / 482.6 MB, free: 7.711 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.6099, allocations: 0.7322 MB / 483.3 MB, free: 6.953 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.6101, allocations: 25.31 kB / 483.3 MB, free: 6.93 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.6103, allocations: 51.41 kB / 483.4 MB, free: 6.879 MB / 410.8 MB Notification: Performance of SimCode: time 1.813e-06/0.6103, allocations: 0 / 483.4 MB, free: 6.879 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.6432, allocations: 4.337 MB / 487.7 MB, free: 2.574 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/0.6436, allocations: 194.3 kB / 487.9 MB, free: 2.344 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.095, allocations: 0 / 487.9 MB, free: 2.344 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat