Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.544/2.544, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.149e-05/4.16e-05, allocations: 11.94 kB / 348.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1478, allocations: 61.88 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5371/0.685, allocations: 89.28 MB / 499.7 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/0.6854, allocations: 73.33 kB / 499.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03458/0.72, allocations: 5.825 MB / 0.4937 GB, free: 8.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7201, allocations: 4 kB / 0.4937 GB, free: 8.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.7201, allocations: 4 kB / 0.4937 GB, free: 8.762 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.0007046/0.7208, allocations: 414.2 kB / 0.4941 GB, free: 8.312 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.7209, allocations: 8.031 kB / 0.4941 GB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.7209, allocations: 42.55 kB / 0.4942 GB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.721, allocations: 11.81 kB / 0.4942 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.7215, allocations: 230.5 kB / 0.4944 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.7216, allocations: 3.953 kB / 0.4944 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.7216, allocations: 8 kB / 0.4944 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.7218, allocations: 57.61 kB / 0.4945 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.7218, allocations: 0 / 0.4945 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.7218, allocations: 0 / 0.4945 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.7219, allocations: 7.938 kB / 0.4945 GB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.061e-05/0.722, allocations: 16 kB / 0.4945 GB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.7226, allocations: 312.9 kB / 0.4948 GB, free: 7.523 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.7228, allocations: 54.7 kB / 0.4948 GB, free: 7.461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.753e-05/0.7228, allocations: 20.97 kB / 0.4948 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.7229, allocations: 3.938 kB / 0.4948 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.7231, allocations: 63.41 kB / 0.4949 GB, free: 7.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.7231, allocations: 3.938 kB / 0.4949 GB, free: 7.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006494/0.7237, allocations: 169 kB / 0.4951 GB, free: 7.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.7238, allocations: 55.41 kB / 0.4951 GB, free: 7.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.7242, allocations: 233.8 kB / 0.4953 GB, free: 6.875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.7243, allocations: 29.7 kB / 0.4954 GB, free: 6.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.7244, allocations: 108.1 kB / 0.4955 GB, free: 6.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.7244, allocations: 31.62 kB / 0.4955 GB, free: 6.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.7244, allocations: 4 kB / 0.4955 GB, free: 6.695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7246, allocations: 330.8 kB / 0.4958 GB, free: 6.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.7247, allocations: 16 kB / 0.4958 GB, free: 6.348 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.33e-05/0.7247, allocations: 41.7 kB / 0.4959 GB, free: 6.301 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.263e-05/0.7248, allocations: 20 kB / 0.4959 GB, free: 6.281 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7248, allocations: 0 / 0.4959 GB, free: 6.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002609/0.7251, allocations: 105.4 kB / 0.496 GB, free: 6.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.7251, allocations: 4 kB / 0.496 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7252, allocations: 0 / 0.496 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.7252, allocations: 4 kB / 0.496 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.7254, allocations: 12 kB / 0.496 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.7254, allocations: 4.031 kB / 0.496 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.222e-05/0.7255, allocations: 7.984 kB / 0.496 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.7255, allocations: 4 kB / 0.496 GB, free: 6.137 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.0001007/0.7256, allocations: 115.5 kB / 0.4961 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.7257, allocations: 15.81 kB / 0.4962 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.726, allocations: 119.2 kB / 0.4963 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.7261, allocations: 3.938 kB / 0.4963 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.7261, allocations: 3.984 kB / 0.4963 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.7261, allocations: 4 kB / 0.4963 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.7268, allocations: 427.3 kB / 0.4967 GB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7268, allocations: 0 / 0.4967 GB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.355e-05/0.7269, allocations: 19.88 kB / 0.4967 GB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.727, allocations: 0 / 0.4967 GB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.727, allocations: 4.281 kB / 0.4967 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-06/0.727, allocations: 4 kB / 0.4967 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.727, allocations: 3.984 kB / 0.4967 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.7273, allocations: 225.8 kB / 0.4969 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.7275, allocations: 100.9 kB / 0.497 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.7275, allocations: 3.984 kB / 0.497 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.7277, allocations: 8.188 kB / 0.4971 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.7277, allocations: 7.953 kB / 0.4971 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.7278, allocations: 7.984 kB / 0.4971 GB, free: 4.969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002969/0.7281, allocations: 204.2 kB / 0.4973 GB, free: 4.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7281, allocations: 0 / 0.4973 GB, free: 4.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004078/0.7285, allocations: 35.94 kB / 0.4973 GB, free: 4.734 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.001875/0.7304, allocations: 1.167 MB / 0.4984 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.7306, allocations: 55.94 kB / 0.4985 GB, free: 3.613 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.7307, allocations: 0 / 0.4985 GB, free: 3.613 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/0.7308, allocations: 35.88 kB / 0.4985 GB, free: 3.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.7312, allocations: 35.64 kB / 0.4986 GB, free: 3.543 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008881/0.7321, allocations: 292.7 kB / 0.4988 GB, free: 3.219 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.7325, allocations: 0.7238 MB / 0.4995 GB, free: 2.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.911e-05/0.7326, allocations: 24.72 kB / 0.4996 GB, free: 2.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.7327, allocations: 47.41 kB / 0.4996 GB, free: 2.395 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7327, allocations: 0 / 0.4996 GB, free: 2.395 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.7622, allocations: 3.423 MB / 0.503 GB, free: 15.05 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004127/0.7626, allocations: 197.3 kB / 0.5031 GB, free: 14.83 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.4, allocations: 0 / 0.5031 GB, free: 14.83 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat