Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.431/2.431, allocations: 270 MB / 283.6 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.708e-05/5.732e-05, allocations: 11.94 kB / 348.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4178, allocations: 61.87 MB / 410.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.5846, allocations: 89.96 MB / 0.4886 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.5849, allocations: 83.94 kB / 0.4887 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05671/0.6416, allocations: 12.69 MB / 0.5011 GB, free: 3.777 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6417, allocations: 0 / 0.5011 GB, free: 3.777 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.907e-05/0.6417, allocations: 16 kB / 0.5011 GB, free: 3.762 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001398/0.6432, allocations: 0.7132 MB / 0.5018 GB, free: 2.996 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.6432, allocations: 8.031 kB / 0.5018 GB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.249e-05/0.6433, allocations: 46.55 kB / 0.5018 GB, free: 2.934 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.6435, allocations: 71.16 kB / 0.5019 GB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.6447, allocations: 471.4 kB / 0.5024 GB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.6448, allocations: 8 kB / 0.5024 GB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.6449, allocations: 16 kB / 0.5024 GB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.6453, allocations: 188.9 kB / 0.5026 GB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.6454, allocations: 0 / 0.5026 GB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.6454, allocations: 12 kB / 0.5026 GB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.6454, allocations: 0 / 0.5026 GB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.6457, allocations: 95.83 kB / 0.5027 GB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.6474, allocations: 0.8719 MB / 0.5035 GB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008206/0.6482, allocations: 230.5 kB / 0.5037 GB, free: 0.832 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.6485, allocations: 83.56 kB / 0.5038 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.6485, allocations: 7.984 kB / 0.5038 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/0.649, allocations: 194.3 kB / 0.504 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.286e-06/0.649, allocations: 0 / 0.504 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002953/0.652, allocations: 1.026 MB / 0.505 GB, free: 15.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.6521, allocations: 140.5 kB / 0.5052 GB, free: 15.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.6539, allocations: 0.8198 MB / 0.506 GB, free: 14.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.654, allocations: 37.7 kB / 0.506 GB, free: 14.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.6543, allocations: 257.1 kB / 0.5062 GB, free: 14.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.6545, allocations: 146.1 kB / 0.5064 GB, free: 14.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.6545, allocations: 4 kB / 0.5064 GB, free: 14.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.6548, allocations: 382.7 kB / 0.5067 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.6551, allocations: 104.9 kB / 0.5068 GB, free: 13.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.6555, allocations: 182.2 kB / 0.507 GB, free: 13.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.6558, allocations: 128.3 kB / 0.5071 GB, free: 13.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6559, allocations: 4 kB / 0.5071 GB, free: 13.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001085/0.657, allocations: 424.7 kB / 0.5075 GB, free: 12.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.657, allocations: 4 kB / 0.5075 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.657, allocations: 4 kB / 0.5076 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.657, allocations: 8.125 kB / 0.5076 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.6576, allocations: 91.83 kB / 0.5076 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.6577, allocations: 4 kB / 0.5077 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.658, allocations: 23.98 kB / 0.5077 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.6581, allocations: 12 kB / 0.5077 GB, free: 12.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001691/0.6582, allocations: 146.3 kB / 0.5078 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.6584, allocations: 79.05 kB / 0.5079 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.6599, allocations: 0.5035 MB / 0.5084 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.6599, allocations: 8 kB / 0.5084 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6599, allocations: 7.875 kB / 0.5084 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.6599, allocations: 3.984 kB / 0.5084 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.6628, allocations: 1.447 MB / 0.5098 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.6628, allocations: 0 / 0.5098 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.6632, allocations: 67.91 kB / 0.5099 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/0.6633, allocations: 8 kB / 0.5099 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.6633, allocations: 15.98 kB / 0.5099 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.868e-06/0.6633, allocations: 4 kB / 0.5099 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.6633, allocations: 7.938 kB / 0.5099 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.6648, allocations: 0.9319 MB / 0.5108 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/0.6653, allocations: 232.4 kB / 0.5111 GB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.6655, allocations: 19.98 kB / 0.5111 GB, free: 8.941 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/0.6659, allocations: 16 kB / 0.5111 GB, free: 8.926 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.6661, allocations: 39.95 kB / 0.5111 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.6661, allocations: 31.92 kB / 0.5112 GB, free: 8.855 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001352/0.6675, allocations: 0.6592 MB / 0.5118 GB, free: 8.203 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.405e-06/0.6675, allocations: 0 / 0.5118 GB, free: 8.203 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009165/0.6684, allocations: 131.8 kB / 0.5119 GB, free: 8.074 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003547/0.672, allocations: 2.652 MB / 0.5145 GB, free: 5.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009047/0.6729, allocations: 303.2 kB / 0.5148 GB, free: 5.203 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.673, allocations: 0 / 0.5148 GB, free: 5.203 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004217/0.6734, allocations: 160.2 kB / 0.515 GB, free: 5.047 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.6746, allocations: 118.3 kB / 0.5151 GB, free: 4.934 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.678, allocations: 1.165 MB / 0.5162 GB, free: 3.695 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007416/0.6788, allocations: 0.9282 MB / 0.5171 GB, free: 2.746 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004717/0.6793, allocations: 99.22 kB / 0.5172 GB, free: 2.648 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.6798, allocations: 211.4 kB / 0.5174 GB, free: 2.445 MB / 442.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6798, allocations: 0 / 0.5174 GB, free: 2.445 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3645/1.044, allocations: 11.27 MB / 0.5284 GB, free: 107.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/1.045, allocations: 192.2 kB / 0.5286 GB, free: 107.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.798, allocations: 0 / 0.5286 GB, free: 107.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat does not exist to compare? outputFormat=mat