Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.918/1.918, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.889e-05, allocations: 7.938 kB / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 48.7 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.5039, allocations: 75.33 MB / 391.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.5042, allocations: 70.27 kB / 391.7 MB, free: 1.133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01803/0.5223, allocations: 4.105 MB / 395.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5223, allocations: 4 kB / 395.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.5224, allocations: 4 kB / 395.8 MB, free: 13.67 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.0005557/0.5229, allocations: 422.6 kB / 396.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.523, allocations: 8.031 kB / 396.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.523, allocations: 7.906 kB / 396.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.5234, allocations: 206.3 kB / 396.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.5234, allocations: 0 / 396.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.5234, allocations: 4 kB / 396.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.665e-05/0.5235, allocations: 15.3 kB / 396.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.5237, allocations: 45.38 kB / 396.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5237, allocations: 0 / 396.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.5237, allocations: 0 / 396.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.5237, allocations: 4 kB / 396.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.5242, allocations: 275 kB / 396.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.5244, allocations: 37.7 kB / 396.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.5245, allocations: 16.19 kB / 396.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.5245, allocations: 0 / 396.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.5247, allocations: 57.41 kB / 396.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.5247, allocations: 3.938 kB / 396.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000464/0.5251, allocations: 113.7 kB / 397 MB, free: 12.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.5252, allocations: 51.41 kB / 397.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.5255, allocations: 173.9 kB / 397.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.5255, allocations: 29.14 kB / 397.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.5256, allocations: 98.38 kB / 397.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.5257, allocations: 15.31 kB / 397.4 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.5257, allocations: 0 / 397.4 MB, free: 12.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5258, allocations: 325.8 kB / 397.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.5259, allocations: 32.98 kB / 397.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.526, allocations: 22.94 kB / 397.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.514e-05/0.5261, allocations: 22.42 kB / 397.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5261, allocations: 0 / 397.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002597/0.5264, allocations: 90.59 kB / 397.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.5264, allocations: 33.7 kB / 397.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.5265, allocations: 0 / 397.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.5265, allocations: 3.938 kB / 397.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.5266, allocations: 11.98 kB / 397.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5266, allocations: 0 / 397.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.5267, allocations: 4 kB / 397.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.5267, allocations: 8 kB / 397.9 MB, free: 11.51 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 9.391e-05/0.5268, allocations: 108.1 kB / 398 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001713/0.527, allocations: 80.67 kB / 398.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.527, allocations: 7.906 kB / 398.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.5273, allocations: 86.16 kB / 398.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.5273, allocations: 7.984 kB / 398.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5273, allocations: 0 / 398.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5273, allocations: 4.047 kB / 398.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.5278, allocations: 339.2 kB / 398.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5278, allocations: 0 / 398.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.5279, allocations: 11.92 kB / 398.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.5279, allocations: 4 kB / 398.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.528, allocations: 0 / 398.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.528, allocations: 0 / 398.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.528, allocations: 3.953 kB / 398.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.5282, allocations: 176.2 kB / 398.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.5283, allocations: 88.92 kB / 398.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.5284, allocations: 4 kB / 398.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.5285, allocations: 0 / 398.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.5285, allocations: 11.94 kB / 398.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.5286, allocations: 3.375 kB / 398.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001708/0.5287, allocations: 143.1 kB / 399 MB, free: 10.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.5287, allocations: 0 / 399 MB, free: 10.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004283/0.5292, allocations: 39.88 kB / 399 MB, free: 10.4 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.001303/0.5305, allocations: 0.9128 MB / 399.9 MB, free: 9.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.5308, allocations: 109.8 kB / 400.1 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5308, allocations: 7.938 kB / 400.1 MB, free: 9.414 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.852e-05/0.5308, allocations: 15.94 kB / 400.1 MB, free: 9.402 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.5312, allocations: 11.86 kB / 400.1 MB, free: 9.395 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006637/0.5318, allocations: 216.2 kB / 400.3 MB, free: 9.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.5322, allocations: 0.708 MB / 401 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.857e-05/0.5323, allocations: 11.94 kB / 401 MB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/0.5323, allocations: 30.48 kB / 401 MB, free: 8.398 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5324, allocations: 0 / 401 MB, free: 8.398 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.5689, allocations: 2.448 MB / 403.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003717/0.5693, allocations: 166.1 kB / 403.7 MB, free: 5.758 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/2.807, allocations: 0 / 403.7 MB, free: 5.758 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat