Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.776/2.776, allocations: 270 MB / 283.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.673e-05, allocations: 8 kB / 348.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4252, allocations: 61.88 MB / 410.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.6117, allocations: 89.5 MB / 499.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/0.6121, allocations: 75.95 kB / 500 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03152/0.6437, allocations: 5.918 MB / 0.494 GB, free: 10.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6437, allocations: 0 / 0.494 GB, free: 10.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.6438, allocations: 11.94 kB / 0.494 GB, free: 10.94 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006269/0.6444, allocations: 382.4 kB / 0.4944 GB, free: 10.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.6445, allocations: 12.03 kB / 0.4944 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.709e-05/0.6446, allocations: 38.55 kB / 0.4944 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.6446, allocations: 11.91 kB / 0.4945 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.645, allocations: 210.8 kB / 0.4947 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.6451, allocations: 4 kB / 0.4947 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.6451, allocations: 7.984 kB / 0.4947 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.6453, allocations: 67.41 kB / 0.4947 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.6453, allocations: 3.938 kB / 0.4947 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.6453, allocations: 7.984 kB / 0.4947 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.6454, allocations: 3.938 kB / 0.4947 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.342e-05/0.6455, allocations: 16 kB / 0.4948 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.6459, allocations: 288.8 kB / 0.495 GB, free: 9.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.6461, allocations: 50.69 kB / 0.4951 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.683e-05/0.6462, allocations: 20.97 kB / 0.4951 GB, free: 9.668 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.6462, allocations: 0 / 0.4951 GB, free: 9.668 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.6464, allocations: 67.39 kB / 0.4952 GB, free: 9.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.6465, allocations: 4 kB / 0.4952 GB, free: 9.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000641/0.6471, allocations: 153.3 kB / 0.4953 GB, free: 9.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.6472, allocations: 77.11 kB / 0.4954 GB, free: 9.336 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.6474, allocations: 147.3 kB / 0.4955 GB, free: 9.188 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.6475, allocations: 29.69 kB / 0.4956 GB, free: 9.152 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.6475, allocations: 96.05 kB / 0.4957 GB, free: 9.055 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/0.6476, allocations: 27.64 kB / 0.4957 GB, free: 9.027 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.6476, allocations: 4 kB / 0.4957 GB, free: 9.023 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6478, allocations: 326.8 kB / 0.496 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.6479, allocations: 20 kB / 0.496 GB, free: 8.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.261e-05/0.648, allocations: 42.52 kB / 0.4961 GB, free: 8.625 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.737e-05/0.6481, allocations: 19.98 kB / 0.4961 GB, free: 8.605 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6481, allocations: 0 / 0.4961 GB, free: 8.605 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002602/0.6483, allocations: 93.58 kB / 0.4962 GB, free: 8.508 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.6484, allocations: 5.562 kB / 0.4962 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6484, allocations: 4.062 kB / 0.4962 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.6484, allocations: 7.938 kB / 0.4962 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.6486, allocations: 15.98 kB / 0.4962 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.6486, allocations: 3.953 kB / 0.4962 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.721e-05/0.6487, allocations: 8 kB / 0.4962 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.6488, allocations: 4 kB / 0.4962 GB, free: 8.461 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001051/0.6489, allocations: 111 kB / 0.4963 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.6489, allocations: 11.89 kB / 0.4963 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.6493, allocations: 110.2 kB / 0.4964 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.6493, allocations: 288 / 0.4964 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6493, allocations: 4 kB / 0.4964 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.6493, allocations: 7.938 kB / 0.4964 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.65, allocations: 399.2 kB / 0.4968 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.65, allocations: 192 / 0.4968 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.6501, allocations: 15.98 kB / 0.4968 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.6501, allocations: 4 kB / 0.4968 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.6501, allocations: 4.031 kB / 0.4968 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.6501, allocations: 3.953 kB / 0.4969 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6502, allocations: 0 / 0.4969 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.6505, allocations: 218.1 kB / 0.4971 GB, free: 7.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.6506, allocations: 93 kB / 0.4971 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.6506, allocations: 7.953 kB / 0.4972 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.6508, allocations: 4 kB / 0.4972 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.6509, allocations: 15.92 kB / 0.4972 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.6509, allocations: 7.984 kB / 0.4972 GB, free: 7.352 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.651, allocations: 115.3 kB / 0.4973 GB, free: 7.238 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6511, allocations: 0 / 0.4973 GB, free: 7.238 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004309/0.6515, allocations: 43.92 kB / 0.4973 GB, free: 7.195 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0022/0.6537, allocations: 1.22 MB / 0.4985 GB, free: 6.105 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.654, allocations: 55.92 kB / 0.4986 GB, free: 6.051 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.6541, allocations: 4 kB / 0.4986 GB, free: 6.047 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.6542, allocations: 24 kB / 0.4986 GB, free: 6.023 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.6546, allocations: 30.81 kB / 0.4986 GB, free: 5.996 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007455/0.6553, allocations: 200.7 kB / 0.4988 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.6557, allocations: 0.7004 MB / 0.4995 GB, free: 5.031 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.6559, allocations: 16.86 kB / 0.4995 GB, free: 5.016 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.656, allocations: 31.42 kB / 0.4996 GB, free: 4.984 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/0.656, allocations: 3.938 kB / 0.4996 GB, free: 4.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.6888, allocations: 3.081 MB / 0.5026 GB, free: 1.977 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003323/0.6892, allocations: 186.9 kB / 0.5027 GB, free: 1.758 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.223, allocations: 4.062 kB / 0.5028 GB, free: 1.754 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat