Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.509/2.509, allocations: 270 MB / 283.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.277e-05/5.286e-05, allocations: 8 kB / 348.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4258, allocations: 61.87 MB / 410.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.169/0.5948, allocations: 89.3 MB / 499.7 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.5952, allocations: 71.97 kB / 499.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02596/0.6212, allocations: 5.812 MB / 0.4937 GB, free: 11.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6212, allocations: 0 / 0.4937 GB, free: 11.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.423e-05/0.6213, allocations: 8 kB / 0.4937 GB, free: 11.27 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006895/0.622, allocations: 434 kB / 0.4941 GB, free: 10.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.622, allocations: 8.031 kB / 0.4941 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.6221, allocations: 38.56 kB / 0.4942 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.6222, allocations: 19.8 kB / 0.4942 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.6227, allocations: 250.4 kB / 0.4944 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.6228, allocations: 7.953 kB / 0.4944 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.6228, allocations: 4 kB / 0.4944 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.6231, allocations: 97.09 kB / 0.4945 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.6231, allocations: 7.938 kB / 0.4945 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.6231, allocations: 8 kB / 0.4946 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.6232, allocations: 0 / 0.4946 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.6233, allocations: 23.98 kB / 0.4946 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.6236, allocations: 218.5 kB / 0.4948 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.6239, allocations: 101.2 kB / 0.4949 GB, free: 9.895 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.624, allocations: 37.72 kB / 0.4949 GB, free: 9.852 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.624, allocations: 8.062 kB / 0.4949 GB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.6243, allocations: 105 kB / 0.495 GB, free: 9.723 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.505e-06/0.6243, allocations: 0 / 0.495 GB, free: 9.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004346/0.6247, allocations: 133.5 kB / 0.4952 GB, free: 9.586 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.6248, allocations: 132.5 kB / 0.4953 GB, free: 9.426 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.6252, allocations: 199.1 kB / 0.4955 GB, free: 9.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.6252, allocations: 25.7 kB / 0.4955 GB, free: 9.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.6253, allocations: 116.1 kB / 0.4956 GB, free: 9.074 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/0.6254, allocations: 31.55 kB / 0.4956 GB, free: 9.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.6254, allocations: 0 / 0.4956 GB, free: 9.043 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6255, allocations: 326.8 kB / 0.4959 GB, free: 8.715 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.252e-05/0.6256, allocations: 31.94 kB / 0.496 GB, free: 8.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.6258, allocations: 69.14 kB / 0.496 GB, free: 8.598 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.6259, allocations: 35.98 kB / 0.4961 GB, free: 8.562 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6259, allocations: 0 / 0.4961 GB, free: 8.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003293/0.6262, allocations: 133.5 kB / 0.4962 GB, free: 8.426 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.6263, allocations: 11.98 kB / 0.4962 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.6263, allocations: 0 / 0.4962 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.6263, allocations: 0 / 0.4962 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.6266, allocations: 27.88 kB / 0.4962 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.6266, allocations: 3.984 kB / 0.4962 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.6267, allocations: 12 kB / 0.4963 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.6268, allocations: 4 kB / 0.4963 GB, free: 8.367 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001144/0.6269, allocations: 117 kB / 0.4964 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.627, allocations: 19.77 kB / 0.4964 GB, free: 8.227 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/0.6275, allocations: 158.5 kB / 0.4965 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6275, allocations: 0 / 0.4965 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6275, allocations: 4 kB / 0.4965 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.6275, allocations: 0 / 0.4965 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.6278, allocations: 225.4 kB / 0.4968 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.6278, allocations: 4 kB / 0.4968 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.545e-05/0.6279, allocations: 12 kB / 0.4968 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.628, allocations: 7.953 kB / 0.4968 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.628, allocations: 11.92 kB / 0.4968 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.628, allocations: 0 / 0.4968 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.628, allocations: 0 / 0.4968 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.6285, allocations: 183.4 kB / 0.497 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.6286, allocations: 100.9 kB / 0.4971 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.6286, allocations: 4.25 kB / 0.4971 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.6288, allocations: 15.98 kB / 0.4971 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.6289, allocations: 11.98 kB / 0.4971 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.6289, allocations: 4 kB / 0.4971 GB, free: 7.391 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.6292, allocations: 161.5 kB / 0.4973 GB, free: 7.234 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6292, allocations: 0 / 0.4973 GB, free: 7.234 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004071/0.6296, allocations: 47.92 kB / 0.4973 GB, free: 7.188 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.002032/0.6316, allocations: 1.141 MB / 0.4984 GB, free: 6.156 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.632, allocations: 79.92 kB / 0.4985 GB, free: 6.078 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.632, allocations: 0 / 0.4985 GB, free: 6.078 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.6322, allocations: 48.05 kB / 0.4985 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.6327, allocations: 43.75 kB / 0.4986 GB, free: 5.988 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.6336, allocations: 257.2 kB / 0.4988 GB, free: 5.699 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.634, allocations: 0.7244 MB / 0.4995 GB, free: 4.949 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.6341, allocations: 29.3 kB / 0.4996 GB, free: 4.918 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.6343, allocations: 51.41 kB / 0.4996 GB, free: 4.867 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6343, allocations: 7.938 kB / 0.4996 GB, free: 4.859 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.6683, allocations: 4.189 MB / 0.5037 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003301/0.6687, allocations: 202.3 kB / 0.5039 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.157, allocations: 4 kB / 0.5039 GB, free: 0.5234 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat