Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.304e-05, allocations: 15.92 kB / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 48.69 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4267/0.5291, allocations: 75.29 MB / 391.6 MB, free: 1.207 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/0.5295, allocations: 72.75 kB / 391.7 MB, free: 1.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02409/0.5536, allocations: 3.803 MB / 395.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5537, allocations: 0 / 395.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.5537, allocations: 4 kB / 395.5 MB, free: 13.99 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.0007036/0.5544, allocations: 406.2 kB / 395.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.5545, allocations: 12.03 kB / 395.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.233e-05/0.5546, allocations: 11.34 kB / 395.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.555, allocations: 197.4 kB / 396.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.5551, allocations: 0 / 396.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.5551, allocations: 0 / 396.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001127/0.5553, allocations: 19.11 kB / 396.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.5554, allocations: 45.25 kB / 396.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.5555, allocations: 0 / 396.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.5555, allocations: 0 / 396.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.5555, allocations: 4 kB / 396.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.5561, allocations: 262.9 kB / 396.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.5565, allocations: 45.38 kB / 396.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/0.5566, allocations: 12.36 kB / 396.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.5566, allocations: 0 / 396.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.5568, allocations: 59.19 kB / 396.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.537e-06/0.5568, allocations: 0 / 396.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006231/0.5575, allocations: 101.1 kB / 396.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.5575, allocations: 51.41 kB / 396.7 MB, free: 12.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.5578, allocations: 142.5 kB / 396.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.5579, allocations: 25.7 kB / 396.9 MB, free: 12.51 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/0.558, allocations: 94.75 kB / 397 MB, free: 12.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.558, allocations: 19.69 kB / 397 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.5581, allocations: 3.938 kB / 397 MB, free: 12.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5583, allocations: 326.8 kB / 397.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-05/0.5584, allocations: 17.94 kB / 397.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.5585, allocations: 18.12 kB / 397.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.5587, allocations: 22.8 kB / 397.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5587, allocations: 3.938 kB / 397.4 MB, free: 12.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003914/0.5591, allocations: 94.72 kB / 397.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.346e-05/0.5592, allocations: 37.69 kB / 397.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5592, allocations: 0 / 397.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.5592, allocations: 0 / 397.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.5594, allocations: 12 kB / 397.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5594, allocations: 0 / 397.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.5595, allocations: 4 kB / 397.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.5596, allocations: 7.984 kB / 397.5 MB, free: 11.88 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.0001424/0.5597, allocations: 108.2 kB / 397.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002291/0.56, allocations: 73.59 kB / 397.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.56, allocations: 8.047 kB / 397.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.5604, allocations: 87.31 kB / 397.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.5604, allocations: 8 kB / 397.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5604, allocations: 0 / 397.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.5605, allocations: 3.953 kB / 397.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.561, allocations: 315.8 kB / 398.1 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5611, allocations: 0 / 398.1 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.5611, allocations: 8.031 kB / 398.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.5612, allocations: 3.938 kB / 398.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.5612, allocations: 4 kB / 398.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5612, allocations: 0 / 398.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.5612, allocations: 7.953 kB / 398.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.5615, allocations: 169.3 kB / 398.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.5616, allocations: 85.02 kB / 398.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.5617, allocations: 0 / 398.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.5619, allocations: 4 kB / 398.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.5619, allocations: 11.94 kB / 398.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.562, allocations: 0 / 398.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.5621, allocations: 109.8 kB / 398.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5621, allocations: 4 kB / 398.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006448/0.5628, allocations: 39.23 kB / 398.5 MB, free: 10.83 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.00177/0.5646, allocations: 0.9134 MB / 399.5 MB, free: 9.949 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.5649, allocations: 105.6 kB / 399.6 MB, free: 9.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5649, allocations: 0 / 399.6 MB, free: 9.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.565, allocations: 15.12 kB / 399.6 MB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.5655, allocations: 19.38 kB / 399.6 MB, free: 9.824 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008069/0.5663, allocations: 167.4 kB / 399.8 MB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.5667, allocations: 0.6963 MB / 400.5 MB, free: 8.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.457e-05/0.5668, allocations: 8 kB / 400.5 MB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.464e-05/0.5669, allocations: 28.61 kB / 400.5 MB, free: 8.883 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.567, allocations: 0 / 400.5 MB, free: 8.883 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.6018, allocations: 2.167 MB / 402.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002967/0.6022, allocations: 164.9 kB / 402.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/2.76, allocations: 0 / 402.8 MB, free: 6.523 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat