Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.054/2.054, allocations: 209.4 MB / 216.9 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.743e-05, allocations: 0 / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 48.7 MB / 316.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3991/0.51, allocations: 74.24 MB / 390.5 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.5104, allocations: 78.5 kB / 390.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01492/0.5253, allocations: 3.402 MB / 394 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5254, allocations: 0 / 394 MB, free: 15.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.5254, allocations: 0 / 394 MB, free: 15.29 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005031/0.5259, allocations: 394.5 kB / 394.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.526, allocations: 8.031 kB / 394.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.526, allocations: 7.906 kB / 394.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.5263, allocations: 189.7 kB / 394.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.5263, allocations: 0 / 394.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.5264, allocations: 4 kB / 394.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.823e-05/0.5265, allocations: 10.94 kB / 394.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.5266, allocations: 52.59 kB / 394.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5266, allocations: 0 / 394.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5267, allocations: 4 kB / 394.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5267, allocations: 0 / 394.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.5271, allocations: 254 kB / 394.9 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.5273, allocations: 37.58 kB / 395 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.5273, allocations: 12.36 kB / 395 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.5274, allocations: 4 kB / 395 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.5274, allocations: 30.56 kB / 395 MB, free: 14.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 6.342e-06/0.5274, allocations: 3.984 kB / 395 MB, free: 14.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000498/0.5279, allocations: 103.2 kB / 395.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.528, allocations: 80.86 kB / 395.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.5281, allocations: 107.8 kB / 395.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.5282, allocations: 25.7 kB / 395.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.5283, allocations: 162.4 kB / 395.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.5283, allocations: 15.66 kB / 395.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.5283, allocations: 3.938 kB / 395.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5285, allocations: 322.1 kB / 395.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.809e-05/0.5285, allocations: 11.36 kB / 395.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/0.5286, allocations: 23.78 kB / 395.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.972e-05/0.5286, allocations: 16.88 kB / 395.9 MB, free: 13.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5287, allocations: 0 / 395.9 MB, free: 13.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001709/0.5288, allocations: 74.16 kB / 395.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.5289, allocations: 29.7 kB / 396 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5289, allocations: 0 / 396 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5289, allocations: 0 / 396 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.5291, allocations: 15.98 kB / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5291, allocations: 4 kB / 396 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.12e-05/0.5292, allocations: 4 kB / 396 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.5292, allocations: 3.984 kB / 396 MB, free: 13.18 MB / 330.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 (6): * Single equations (assignments): 5 * 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.139e-05/0.5293, allocations: 112.9 kB / 396.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001437/0.5295, allocations: 60.06 kB / 396.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.5295, allocations: 3.906 kB / 396.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.5297, allocations: 71.08 kB / 396.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.5298, allocations: 0 / 396.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5298, allocations: 4 kB / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5298, allocations: 0 / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.5302, allocations: 306.7 kB / 396.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5302, allocations: 0 / 396.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.5304, allocations: 12 kB / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.5304, allocations: 0 / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.5304, allocations: 0 / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5304, allocations: 0 / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.5304, allocations: 4 kB / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.5306, allocations: 158.6 kB / 396.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.5307, allocations: 93 kB / 396.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.5307, allocations: 0 / 396.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.5309, allocations: 11.94 kB / 396.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.5309, allocations: 11.05 kB / 396.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.5309, allocations: 4 kB / 396.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.531, allocations: 95.36 kB / 396.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.531, allocations: 0 / 396.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004206/0.5315, allocations: 31.73 kB / 397 MB, free: 12.19 MB / 330.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.001197/0.5327, allocations: 0.8624 MB / 397.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.5329, allocations: 91.47 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5329, allocations: 4 kB / 397.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.836e-05/0.533, allocations: 10.88 kB / 397.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.5333, allocations: 11.11 kB / 397.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.5355, allocations: 0.6077 MB / 398.5 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.5358, allocations: 0.6922 MB / 399.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-05/0.536, allocations: 19.3 kB / 399.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.536, allocations: 4 kB / 399.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.693/3.229, allocations: 1.774 MB / 401 MB, free: 8.344 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat does not exist to compare? outputFormat=mat