Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.513/2.513, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.476e-05/4.487e-05, allocations: 5.828 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.174, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5215/0.6956, allocations: 89.27 MB / 499.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.696, allocations: 71.97 kB / 499.7 MB, free: 14.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03208/0.7281, allocations: 5.632 MB / 0.4935 GB, free: 9.012 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7282, allocations: 0 / 0.4935 GB, free: 9.012 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.352e-05/0.7282, allocations: 8 kB / 0.4935 GB, free: 9.004 MB / 410.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.000726/0.7289, allocations: 409 kB / 0.4939 GB, free: 8.562 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.729, allocations: 8.031 kB / 0.4939 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.585e-05/0.7291, allocations: 34.56 kB / 0.4939 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.7292, allocations: 7.906 kB / 0.4939 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.7297, allocations: 210.8 kB / 0.4941 GB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.7297, allocations: 7.953 kB / 0.4942 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.7298, allocations: 7.938 kB / 0.4942 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.73, allocations: 57.67 kB / 0.4942 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.73, allocations: 0 / 0.4942 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.7301, allocations: 4 kB / 0.4942 GB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7301, allocations: 3.938 kB / 0.4942 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.7302, allocations: 19.98 kB / 0.4942 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.7308, allocations: 304.9 kB / 0.4945 GB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.7311, allocations: 50.62 kB / 0.4946 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.462e-05/0.7312, allocations: 28.97 kB / 0.4946 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.7312, allocations: 0 / 0.4946 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.7314, allocations: 63.39 kB / 0.4947 GB, free: 7.641 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.7315, allocations: 7.938 kB / 0.4947 GB, free: 7.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007709/0.7322, allocations: 165 kB / 0.4948 GB, free: 7.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.7323, allocations: 55.41 kB / 0.4949 GB, free: 7.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.7327, allocations: 191.4 kB / 0.4951 GB, free: 7.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.7328, allocations: 33.7 kB / 0.4951 GB, free: 7.164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.7329, allocations: 104.1 kB / 0.4952 GB, free: 7.059 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.733, allocations: 23.66 kB / 0.4952 GB, free: 7.035 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.733, allocations: 4 kB / 0.4952 GB, free: 7.031 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.7332, allocations: 330.8 kB / 0.4955 GB, free: 6.699 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.039e-05/0.7333, allocations: 20 kB / 0.4956 GB, free: 6.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.7334, allocations: 29.72 kB / 0.4956 GB, free: 6.645 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.7335, allocations: 27.98 kB / 0.4956 GB, free: 6.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7336, allocations: 0 / 0.4956 GB, free: 6.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003347/0.7339, allocations: 101.4 kB / 0.4957 GB, free: 6.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.734, allocations: 4 kB / 0.4957 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.734, allocations: 0 / 0.4957 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.734, allocations: 0 / 0.4957 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.7342, allocations: 23.98 kB / 0.4957 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.7343, allocations: 0 / 0.4957 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.7344, allocations: 4 kB / 0.4957 GB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.7344, allocations: 3.938 kB / 0.4958 GB, free: 6.477 MB / 410.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.0001259/0.7346, allocations: 117 kB / 0.4959 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.7346, allocations: 15.89 kB / 0.4959 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.7351, allocations: 111.1 kB / 0.496 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.7351, allocations: 0 / 0.496 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.7351, allocations: 3.984 kB / 0.496 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.7351, allocations: 0 / 0.496 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000863/0.736, allocations: 423.2 kB / 0.4964 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.736, allocations: 0 / 0.4964 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.7362, allocations: 15.92 kB / 0.4964 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.7362, allocations: 4 kB / 0.4964 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.7362, allocations: 288 / 0.4964 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.7362, allocations: 0 / 0.4964 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7362, allocations: 0 / 0.4964 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.7367, allocations: 225.9 kB / 0.4966 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.7368, allocations: 100.9 kB / 0.4967 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.7369, allocations: 4 kB / 0.4967 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.7371, allocations: 0 / 0.4967 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.7371, allocations: 15.94 kB / 0.4967 GB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.7372, allocations: 4 kB / 0.4967 GB, free: 5.336 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002988/0.7375, allocations: 158.8 kB / 0.4969 GB, free: 5.184 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7375, allocations: 0 / 0.4969 GB, free: 5.184 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006079/0.7381, allocations: 31.94 kB / 0.4969 GB, free: 5.152 MB / 410.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.002569/0.7407, allocations: 1.178 MB / 0.4981 GB, free: 4.078 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.741, allocations: 52 kB / 0.4981 GB, free: 4.027 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.7411, allocations: 0 / 0.4981 GB, free: 4.027 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.7412, allocations: 39.86 kB / 0.4982 GB, free: 3.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.7417, allocations: 30.11 kB / 0.4982 GB, free: 3.961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.7429, allocations: 244.3 kB / 0.4984 GB, free: 3.684 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.7434, allocations: 0.7162 MB / 0.4991 GB, free: 2.941 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.7435, allocations: 20.83 kB / 0.4991 GB, free: 2.922 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.7437, allocations: 43.36 kB / 0.4992 GB, free: 2.879 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.7437, allocations: 0 / 0.4992 GB, free: 2.879 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.7766, allocations: 3.12 MB / 0.5022 GB, free: 15.84 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003274/0.777, allocations: 205.7 kB / 0.5024 GB, free: 15.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.493/3.27, allocations: 0 / 0.5024 GB, free: 15.6 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat