Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.566/2.566, allocations: 270 MB / 283.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.679e-05/4.684e-05, allocations: 4 kB / 348.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4351, allocations: 61.87 MB / 410.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.6004, allocations: 89.54 MB / 499.9 MB, free: 1.039 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.6008, allocations: 75.89 kB / 500 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04783/0.6486, allocations: 8.351 MB / 0.4964 GB, free: 8.602 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6487, allocations: 0 / 0.4964 GB, free: 8.602 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.173e-05/0.6487, allocations: 4 kB / 0.4964 GB, free: 8.598 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00128/0.65, allocations: 0.5028 MB / 0.4969 GB, free: 8.051 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.784e-05/0.6501, allocations: 12.03 kB / 0.4969 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.949e-05/0.6502, allocations: 38.55 kB / 0.497 GB, free: 7.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.6504, allocations: 31.62 kB / 0.497 GB, free: 7.961 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.6515, allocations: 307.8 kB / 0.4973 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.6515, allocations: 4 kB / 0.4973 GB, free: 7.613 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.6516, allocations: 8 kB / 0.4973 GB, free: 7.605 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.6521, allocations: 111.3 kB / 0.4974 GB, free: 7.484 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.6521, allocations: 3.938 kB / 0.4974 GB, free: 7.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.6521, allocations: 4 kB / 0.4974 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.6522, allocations: 0 / 0.4974 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.6524, allocations: 51.91 kB / 0.4975 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.6538, allocations: 0.489 MB / 0.4979 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.6542, allocations: 121.2 kB / 0.498 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.6544, allocations: 41.84 kB / 0.4981 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.6544, allocations: 0 / 0.4981 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002794/0.6547, allocations: 125 kB / 0.4982 GB, free: 6.559 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.6547, allocations: 0 / 0.4982 GB, free: 6.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001422/0.6561, allocations: 443.9 kB / 0.4986 GB, free: 6.117 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.6562, allocations: 88.98 kB / 0.4987 GB, free: 6.012 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.6571, allocations: 435.5 kB / 0.4991 GB, free: 5.574 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.6571, allocations: 29.7 kB / 0.4992 GB, free: 5.539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.6573, allocations: 164.4 kB / 0.4993 GB, free: 5.375 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.45e-05/0.6574, allocations: 75.09 kB / 0.4994 GB, free: 5.301 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.6574, allocations: 4 kB / 0.4994 GB, free: 5.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.6576, allocations: 346.8 kB / 0.4997 GB, free: 4.949 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.6578, allocations: 52 kB / 0.4998 GB, free: 4.898 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.658, allocations: 85.61 kB / 0.4999 GB, free: 4.805 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.6582, allocations: 67.97 kB / 0.4999 GB, free: 4.738 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6582, allocations: 3.938 kB / 0.4999 GB, free: 4.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005754/0.6588, allocations: 229.3 kB / 0.5001 GB, free: 4.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.6588, allocations: 4 kB / 0.5001 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.6588, allocations: 8 kB / 0.5002 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6589, allocations: 0 / 0.5002 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.6592, allocations: 51.91 kB / 0.5002 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.6592, allocations: 0 / 0.5002 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.6594, allocations: 8.062 kB / 0.5002 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.6594, allocations: 12 kB / 0.5002 GB, free: 4.422 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001236/0.6596, allocations: 124.9 kB / 0.5003 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/0.6597, allocations: 39.48 kB / 0.5004 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007459/0.6604, allocations: 265.1 kB / 0.5006 GB, free: 3.992 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.6605, allocations: 4 kB / 0.5006 GB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.6605, allocations: 3.938 kB / 0.5006 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6605, allocations: 0 / 0.5006 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.662, allocations: 0.7975 MB / 0.5014 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6621, allocations: 0 / 0.5014 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.6623, allocations: 35.92 kB / 0.5015 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.6623, allocations: 128 / 0.5015 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.6623, allocations: 15.98 kB / 0.5015 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.6624, allocations: 4 kB / 0.5015 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6624, allocations: 0 / 0.5015 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/0.6632, allocations: 494.4 kB / 0.5019 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.6634, allocations: 128.7 kB / 0.5021 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/0.6635, allocations: 8 kB / 0.5021 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.6637, allocations: 15.98 kB / 0.5021 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.6638, allocations: 20.17 kB / 0.5021 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.6639, allocations: 11.98 kB / 0.5021 GB, free: 2.316 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006333/0.6645, allocations: 358 kB / 0.5025 GB, free: 1.969 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6645, allocations: 0 / 0.5025 GB, free: 1.969 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005701/0.6651, allocations: 68 kB / 0.5025 GB, free: 1.902 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002633/0.6678, allocations: 1.778 MB / 0.5043 GB, free: 244 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004609/0.6683, allocations: 154.2 kB / 0.5044 GB, free: 92 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6683, allocations: 0 / 0.5044 GB, free: 92 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.6685, allocations: 79.88 kB / 0.5045 GB, free: 12 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/0.6692, allocations: 49.55 kB / 0.5045 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.671, allocations: 0.5867 MB / 0.5051 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.6716, allocations: 0.7912 MB / 0.5059 GB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002465/0.6718, allocations: 49.98 kB / 0.5059 GB, free: 14.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.6721, allocations: 103.4 kB / 0.506 GB, free: 14.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6721, allocations: 4 kB / 0.506 GB, free: 14.35 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.7082, allocations: 6.336 MB / 0.5122 GB, free: 8.098 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003557/0.7087, allocations: 209.9 kB / 0.5124 GB, free: 7.859 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/3.415, allocations: 0 / 0.5124 GB, free: 7.859 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat