Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.946/1.946, allocations: 209.3 MB / 221.4 MB, free: 1.949 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.588e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5185, allocations: 76.52 MB / 398.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5188, allocations: 67.97 kB / 398.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01355/0.5324, allocations: 3.196 MB / 401.7 MB, free: 9.754 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5324, allocations: 4 kB / 401.7 MB, free: 9.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.5325, allocations: 4 kB / 401.7 MB, free: 9.746 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006537/0.5331, allocations: 453.7 kB / 402.1 MB, free: 9.246 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5332, allocations: 8.031 kB / 402.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.086e-05/0.5333, allocations: 42.55 kB / 402.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.5333, allocations: 11.84 kB / 402.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.5337, allocations: 216.6 kB / 402.4 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.5337, allocations: 8 kB / 402.4 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.5337, allocations: 4 kB / 402.4 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.534, allocations: 65.67 kB / 402.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.534, allocations: 0 / 402.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.534, allocations: 4 kB / 402.5 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.534, allocations: 4 kB / 402.5 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.5342, allocations: 27.98 kB / 402.5 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/0.5349, allocations: 356.6 kB / 402.8 MB, free: 8.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.5352, allocations: 58.69 kB / 402.9 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.009e-05/0.5353, allocations: 32.91 kB / 402.9 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.5353, allocations: 4 kB / 402.9 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.5355, allocations: 71.39 kB / 403 MB, free: 8.223 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.5356, allocations: 0 / 403 MB, free: 8.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002932/0.5359, allocations: 93.44 kB / 403.1 MB, free: 8.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.5359, allocations: 55.45 kB / 403.1 MB, free: 8.059 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.5362, allocations: 152.8 kB / 403.3 MB, free: 7.906 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.5362, allocations: 29.7 kB / 403.3 MB, free: 7.871 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.5363, allocations: 108 kB / 403.4 MB, free: 7.762 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.5363, allocations: 23.73 kB / 403.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.5364, allocations: 4 kB / 403.5 MB, free: 7.734 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5365, allocations: 318.8 kB / 403.8 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.5366, allocations: 27.98 kB / 403.8 MB, free: 7.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.5367, allocations: 41.72 kB / 403.8 MB, free: 7.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.5369, allocations: 54.23 kB / 403.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5369, allocations: 0 / 403.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003314/0.5372, allocations: 159.2 kB / 404 MB, free: 7.113 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.5373, allocations: 37.69 kB / 404.1 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5373, allocations: 0 / 404.1 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5373, allocations: 0 / 404.1 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.5375, allocations: 19.95 kB / 404.1 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.5375, allocations: 3.984 kB / 404.1 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.5376, allocations: 11.88 kB / 404.1 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.5377, allocations: 4 kB / 404.1 MB, free: 7.031 MB / 330.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 9.357e-05/0.5378, allocations: 117 kB / 404.2 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.5378, allocations: 11.81 kB / 404.2 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.5381, allocations: 102.3 kB / 404.3 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.5381, allocations: 4 kB / 404.4 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5381, allocations: 3.953 kB / 404.4 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5381, allocations: 4 kB / 404.4 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.5384, allocations: 197.6 kB / 404.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5384, allocations: 0 / 404.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.5385, allocations: 15.98 kB / 404.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5385, allocations: 3.938 kB / 404.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.5386, allocations: 8 kB / 404.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5386, allocations: 0 / 404.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5386, allocations: 0 / 404.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.5389, allocations: 137 kB / 404.7 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.539, allocations: 96.94 kB / 404.8 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.5391, allocations: 4 kB / 404.8 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.5392, allocations: 4 kB / 404.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.5392, allocations: 16.22 kB / 404.8 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.5393, allocations: 4 kB / 404.8 MB, free: 6.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.5394, allocations: 123.2 kB / 405 MB, free: 6.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5394, allocations: 0 / 405 MB, free: 6.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003131/0.5397, allocations: 43.88 kB / 405 MB, free: 6.055 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001357/0.5411, allocations: 0.8751 MB / 405.9 MB, free: 5.207 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.5414, allocations: 123.3 kB / 406 MB, free: 5.074 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5414, allocations: 4 kB / 406 MB, free: 5.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.47e-05/0.5415, allocations: 23.94 kB / 406 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.5418, allocations: 28.09 kB / 406 MB, free: 5.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/0.5426, allocations: 230 kB / 406.3 MB, free: 4.754 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.5429, allocations: 0.7082 MB / 407 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.097e-05/0.543, allocations: 12.42 kB / 407 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.074e-05/0.5431, allocations: 31.42 kB / 407 MB, free: 3.977 MB / 330.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5432, allocations: 4 kB / 407 MB, free: 3.973 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.5662, allocations: 2.868 MB / 409.9 MB, free: 1.156 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/0.5665, allocations: 195.3 kB / 410.1 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/2.818, allocations: 0 / 410.1 MB, free: 0.9297 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat