Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.4 MB / 216.5 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.803e-05, allocations: 4 kB / 267.6 MB, free: 4.965 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 48.71 MB / 316.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.505, allocations: 75.34 MB / 391.7 MB, free: 1.117 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.5053, allocations: 70.31 kB / 391.7 MB, free: 1.082 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01746/0.5228, allocations: 3.989 MB / 395.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5229, allocations: 0 / 395.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.5229, allocations: 0 / 395.7 MB, free: 13.75 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.0006253/0.5235, allocations: 407.3 kB / 396.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.5236, allocations: 8.031 kB / 396.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.5237, allocations: 15.91 kB / 396.2 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.524, allocations: 204.3 kB / 396.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.524, allocations: 0 / 396.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.5241, allocations: 7.906 kB / 396.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.523e-05/0.5242, allocations: 15.61 kB / 396.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.5243, allocations: 41.56 kB / 396.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.5244, allocations: 0 / 396.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.5244, allocations: 0 / 396.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5244, allocations: 3.938 kB / 396.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.5249, allocations: 270.6 kB / 396.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.5251, allocations: 45 kB / 396.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.5252, allocations: 12.14 kB / 396.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.5252, allocations: 3.984 kB / 396.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.5254, allocations: 50.47 kB / 396.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.5254, allocations: 8 kB / 396.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004659/0.5259, allocations: 107.2 kB / 396.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.5259, allocations: 55.39 kB / 397 MB, free: 12.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.5262, allocations: 148.7 kB / 397.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.5262, allocations: 29.7 kB / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.5263, allocations: 95.27 kB / 397.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.5263, allocations: 19.17 kB / 397.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.5263, allocations: 0 / 397.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5265, allocations: 318.2 kB / 397.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.5266, allocations: 23.05 kB / 397.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/0.5266, allocations: 22.06 kB / 397.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.622e-05/0.5267, allocations: 22.73 kB / 397.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5268, allocations: 3.938 kB / 397.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002657/0.527, allocations: 94.22 kB / 397.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.5271, allocations: 33.7 kB / 397.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5271, allocations: 0 / 397.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5271, allocations: 0 / 397.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.5272, allocations: 11.98 kB / 397.8 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.5272, allocations: 0 / 397.8 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.8e-05/0.5273, allocations: 11.95 kB / 397.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.5274, allocations: 4 kB / 397.8 MB, free: 11.62 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 0.0001006/0.5275, allocations: 109 kB / 397.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001616/0.5276, allocations: 75.27 kB / 398 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.5277, allocations: 7.906 kB / 398 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.5279, allocations: 86.48 kB / 398.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.528, allocations: 3.953 kB / 398.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.528, allocations: 8 kB / 398.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.528, allocations: 4 kB / 398.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.5285, allocations: 323.1 kB / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5285, allocations: 0 / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.5285, allocations: 8 kB / 398.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5286, allocations: 0 / 398.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.5286, allocations: 3.953 kB / 398.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5286, allocations: 4 kB / 398.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.5286, allocations: 4.125 kB / 398.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.5288, allocations: 177 kB / 398.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.5289, allocations: 85.02 kB / 398.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.529, allocations: 7.984 kB / 398.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.5291, allocations: 3.953 kB / 398.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.5291, allocations: 6.75 kB / 398.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.5291, allocations: 0 / 398.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.5293, allocations: 128.6 kB / 398.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5293, allocations: 0 / 398.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004208/0.5297, allocations: 39.94 kB / 398.8 MB, free: 10.54 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.001375/0.5311, allocations: 0.9091 MB / 399.7 MB, free: 9.652 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.5314, allocations: 110.2 kB / 399.9 MB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5314, allocations: 0 / 399.9 MB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.5315, allocations: 14.88 kB / 399.9 MB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.5318, allocations: 14.56 kB / 399.9 MB, free: 9.527 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.5325, allocations: 187.8 kB / 400.1 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.5329, allocations: 0.7079 MB / 400.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.157e-05/0.533, allocations: 8 kB / 400.8 MB, free: 8.578 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.5331, allocations: 32.42 kB / 400.8 MB, free: 8.559 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.5331, allocations: 0 / 400.8 MB, free: 8.559 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0417/0.5748, allocations: 2.313 MB / 403.1 MB, free: 6.25 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003446/0.5752, allocations: 166.2 kB / 403.3 MB, free: 6.055 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/2.841, allocations: 0 / 403.3 MB, free: 6.055 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat