Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.94/1.94, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.662e-05, allocations: 4 kB / 267.6 MB, free: 4.934 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.5875, allocations: 75.3 MB / 391.6 MB, free: 1.387 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.5878, allocations: 72.2 kB / 391.7 MB, free: 1.352 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01695/0.6048, allocations: 3.929 MB / 395.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6048, allocations: 4 kB / 395.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.6049, allocations: 8 kB / 395.6 MB, free: 14.05 MB / 330.7 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.000512/0.6054, allocations: 414.7 kB / 396 MB, free: 13.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.6054, allocations: 8.031 kB / 396.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.6055, allocations: 7.906 kB / 396.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.6058, allocations: 196.5 kB / 396.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.6058, allocations: 0 / 396.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.6059, allocations: 4 kB / 396.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.588e-05/0.6059, allocations: 15.23 kB / 396.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.633e-05/0.606, allocations: 48.19 kB / 396.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6061, allocations: 0 / 396.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.6061, allocations: 3.938 kB / 396.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.6061, allocations: 7.984 kB / 396.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.6065, allocations: 267.3 kB / 396.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.6068, allocations: 37.7 kB / 396.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.6068, allocations: 20.06 kB / 396.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.6069, allocations: 0 / 396.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.607, allocations: 54.59 kB / 396.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.607, allocations: 0 / 396.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004271/0.6074, allocations: 108.6 kB / 396.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.6075, allocations: 55.41 kB / 396.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.6077, allocations: 145 kB / 397 MB, free: 12.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.6077, allocations: 25.7 kB / 397 MB, free: 12.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.6078, allocations: 101.1 kB / 397.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.6078, allocations: 14.69 kB / 397.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.6079, allocations: 0 / 397.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.608, allocations: 318.6 kB / 397.5 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.6081, allocations: 23.19 kB / 397.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.6081, allocations: 22.62 kB / 397.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.66e-05/0.6082, allocations: 23.36 kB / 397.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.6082, allocations: 0 / 397.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002423/0.6085, allocations: 95.33 kB / 397.6 MB, free: 12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.6085, allocations: 37.7 kB / 397.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6086, allocations: 0 / 397.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6086, allocations: 0 / 397.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.6087, allocations: 15.92 kB / 397.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.6087, allocations: 0 / 397.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.6088, allocations: 7.953 kB / 397.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.6088, allocations: 4 kB / 397.7 MB, free: 11.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 8.346e-05/0.6089, allocations: 101 kB / 397.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001586/0.6091, allocations: 75.22 kB / 397.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.6091, allocations: 11.91 kB / 397.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.6093, allocations: 89.88 kB / 397.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.6094, allocations: 3.953 kB / 398 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6094, allocations: 0 / 398 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6094, allocations: 0 / 398 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.6098, allocations: 320.3 kB / 398.3 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6098, allocations: 3.938 kB / 398.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.6099, allocations: 11.98 kB / 398.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6099, allocations: 7.938 kB / 398.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.6099, allocations: 3.953 kB / 398.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6099, allocations: 4.156 kB / 398.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.61, allocations: 0 / 398.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.6102, allocations: 161.5 kB / 398.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.6103, allocations: 92.44 kB / 398.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.6103, allocations: 4 kB / 398.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.6104, allocations: 3.953 kB / 398.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.6105, allocations: 11.98 kB / 398.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.6105, allocations: 0 / 398.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.6106, allocations: 116 kB / 398.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6106, allocations: 0 / 398.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003851/0.611, allocations: 27.94 kB / 398.7 MB, free: 10.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001202/0.6122, allocations: 0.9202 MB / 399.6 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.6125, allocations: 104 kB / 399.7 MB, free: 9.895 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6125, allocations: 0 / 399.7 MB, free: 9.895 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.808e-05/0.6126, allocations: 23.5 kB / 399.7 MB, free: 9.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.6129, allocations: 23.09 kB / 399.8 MB, free: 9.855 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.6134, allocations: 169.2 kB / 399.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.6138, allocations: 0.6992 MB / 400.6 MB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.323e-05/0.6138, allocations: 20.09 kB / 400.7 MB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.6139, allocations: 24.25 kB / 400.7 MB, free: 8.906 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6139, allocations: 0 / 400.7 MB, free: 8.906 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.6505, allocations: 2.229 MB / 402.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003513/0.6509, allocations: 158.2 kB / 403.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/2.847, allocations: 0 / 403.1 MB, free: 6.492 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat