Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.491/2.491, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.523e-05/4.552e-05, allocations: 4 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.141, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5637/0.7047, allocations: 88.48 MB / 498.8 MB, free: 15.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004026/0.7052, allocations: 71.97 kB / 498.9 MB, free: 15.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04057/0.7458, allocations: 7.854 MB / 0.4949 GB, free: 7.527 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7459, allocations: 0 / 0.4949 GB, free: 7.527 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.211e-05/0.7459, allocations: 4 kB / 0.4949 GB, free: 7.523 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001109/0.747, allocations: 0.552 MB / 0.4954 GB, free: 6.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.7471, allocations: 12.03 kB / 0.4954 GB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.315e-05/0.7472, allocations: 30.56 kB / 0.4955 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.7474, allocations: 47.38 kB / 0.4955 GB, free: 6.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009085/0.7483, allocations: 319.4 kB / 0.4958 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.7483, allocations: 8 kB / 0.4958 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.7484, allocations: 0 / 0.4958 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.7486, allocations: 49.69 kB / 0.4959 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.7486, allocations: 0 / 0.4959 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.7486, allocations: 0 / 0.4959 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7486, allocations: 0 / 0.4959 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.943e-05/0.7487, allocations: 19.98 kB / 0.4959 GB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.7498, allocations: 444.5 kB / 0.4963 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.7501, allocations: 34.56 kB / 0.4963 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.7502, allocations: 16.86 kB / 0.4964 GB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.7502, allocations: 3.938 kB / 0.4964 GB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.7503, allocations: 34.5 kB / 0.4964 GB, free: 5.797 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.895e-06/0.7503, allocations: 0 / 0.4964 GB, free: 5.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008595/0.7512, allocations: 196 kB / 0.4966 GB, free: 5.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.7513, allocations: 55.41 kB / 0.4966 GB, free: 5.531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002894/0.7542, allocations: 0.7772 MB / 0.4974 GB, free: 4.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.7542, allocations: 25.7 kB / 0.4974 GB, free: 4.719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.7546, allocations: 228 kB / 0.4976 GB, free: 4.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.7547, allocations: 15.73 kB / 0.4977 GB, free: 4.477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-06/0.7547, allocations: 0 / 0.4977 GB, free: 4.477 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002509/0.7549, allocations: 366.8 kB / 0.498 GB, free: 4.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.482e-05/0.755, allocations: 8 kB / 0.498 GB, free: 4.102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-05/0.7551, allocations: 15.94 kB / 0.498 GB, free: 4.086 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.766e-05/0.7552, allocations: 4 kB / 0.498 GB, free: 4.082 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7552, allocations: 0 / 0.498 GB, free: 4.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003203/0.7555, allocations: 97.47 kB / 0.4981 GB, free: 3.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.7556, allocations: 10.66 kB / 0.4981 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.7556, allocations: 4 kB / 0.4981 GB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7556, allocations: 0 / 0.4981 GB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.7558, allocations: 19.98 kB / 0.4982 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.7558, allocations: 3.953 kB / 0.4982 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.756, allocations: 7.906 kB / 0.4982 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.7561, allocations: 7.984 kB / 0.4982 GB, free: 3.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.943e-05/0.7562, allocations: 101 kB / 0.4983 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.7564, allocations: 39.53 kB / 0.4983 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.7568, allocations: 125 kB / 0.4984 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.7568, allocations: 4 kB / 0.4984 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7568, allocations: 0 / 0.4984 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.7568, allocations: 3.953 kB / 0.4984 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.7584, allocations: 0.5609 MB / 0.499 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7584, allocations: 0 / 0.499 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.7586, allocations: 15.94 kB / 0.499 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.7586, allocations: 0 / 0.499 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.7586, allocations: 0 / 0.499 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.7586, allocations: 3.953 kB / 0.499 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7586, allocations: 7.938 kB / 0.499 GB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.759, allocations: 191.1 kB / 0.4992 GB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.7594, allocations: 164.5 kB / 0.4994 GB, free: 2.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/0.7596, allocations: 3.984 kB / 0.4994 GB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.7599, allocations: 8.188 kB / 0.4994 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.7599, allocations: 3.953 kB / 0.4994 GB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.76, allocations: 15.98 kB / 0.4994 GB, free: 2.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001744/0.7617, allocations: 0.6264 MB / 0.5 GB, free: 1.957 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.7617, allocations: 3.938 kB / 0.5 GB, free: 1.953 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007405/0.7625, allocations: 67.92 kB / 0.5001 GB, free: 1.887 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002423/0.765, allocations: 1.015 MB / 0.5011 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.7652, allocations: 28 kB / 0.5011 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7652, allocations: 0 / 0.5011 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.7653, allocations: 19.94 kB / 0.5011 GB, free: 0.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.766, allocations: 33.97 kB / 0.5011 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.769, allocations: 0.8142 MB / 0.5019 GB, free: 28 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008339/0.7699, allocations: 0.8301 MB / 0.5027 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.7701, allocations: 44 kB / 0.5028 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.7705, allocations: 107.4 kB / 0.5029 GB, free: 15.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.7705, allocations: 0 / 0.5029 GB, free: 15.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03614/0.8067, allocations: 6.408 MB / 0.5091 GB, free: 8.672 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003485/0.8071, allocations: 184.2 kB / 0.5093 GB, free: 8.453 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/3.328, allocations: 7.875 kB / 0.5093 GB, free: 8.445 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat does not exist to compare? outputFormat=mat