Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.303e-05, allocations: 8 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4014/0.5048, allocations: 75.57 MB / 391.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5052, allocations: 71.31 kB / 392 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02155/0.5267, allocations: 4.648 MB / 396.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5268, allocations: 0 / 396.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.5268, allocations: 4 kB / 396.6 MB, free: 13.26 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000554/0.5274, allocations: 411.8 kB / 397 MB, free: 12.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.5274, allocations: 12.03 kB / 397 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.5275, allocations: 7.156 kB / 397 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.5278, allocations: 194.3 kB / 397.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.5279, allocations: 0 / 397.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.5279, allocations: 8 kB / 397.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.367e-05/0.528, allocations: 15.42 kB / 397.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.5282, allocations: 58.22 kB / 397.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5282, allocations: 3.938 kB / 397.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5282, allocations: 4 kB / 397.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5282, allocations: 0 / 397.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.5287, allocations: 258.8 kB / 397.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.529, allocations: 41.81 kB / 397.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.529, allocations: 12.3 kB / 397.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.5291, allocations: 0 / 397.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.5292, allocations: 62.67 kB / 397.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.5293, allocations: 0 / 397.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004893/0.5298, allocations: 94.86 kB / 397.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.5298, allocations: 85.11 kB / 397.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.53, allocations: 129.2 kB / 398 MB, free: 11.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.53, allocations: 29.69 kB / 398 MB, free: 11.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.5301, allocations: 158.3 kB / 398.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.5302, allocations: 11.75 kB / 398.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.5302, allocations: 3.938 kB / 398.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5303, allocations: 322 kB / 398.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.5304, allocations: 19.67 kB / 398.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.5305, allocations: 36.47 kB / 398.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.5306, allocations: 22.98 kB / 398.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5306, allocations: 0 / 398.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002453/0.5308, allocations: 87.55 kB / 398.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.5309, allocations: 37.14 kB / 398.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.5309, allocations: 0 / 398.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.5309, allocations: 0 / 398.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.5311, allocations: 11.98 kB / 398.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.5311, allocations: 0 / 398.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-05/0.5312, allocations: 8.125 kB / 398.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.5312, allocations: 3.938 kB / 398.7 MB, free: 11.05 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 0.0001026/0.5313, allocations: 112.8 kB / 398.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001846/0.5315, allocations: 76.52 kB / 398.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.5315, allocations: 3.906 kB / 398.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.5318, allocations: 80.81 kB / 399 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.5319, allocations: 3.984 kB / 399 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.5319, allocations: 0 / 399 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.5319, allocations: 3.953 kB / 399 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.5324, allocations: 325.6 kB / 399.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5324, allocations: 4.062 kB / 399.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-05/0.5325, allocations: 4 kB / 399.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.5325, allocations: 0 / 399.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.5325, allocations: 4 kB / 399.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5325, allocations: 0 / 399.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/0.5326, allocations: 7.938 kB / 399.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.5328, allocations: 169.4 kB / 399.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.5329, allocations: 88.58 kB / 399.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.5329, allocations: 0 / 399.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.533, allocations: 4 kB / 399.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.5331, allocations: 7.938 kB / 399.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.5331, allocations: 4 kB / 399.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.5332, allocations: 105.7 kB / 399.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.354e-06/0.5333, allocations: 0 / 399.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004719/0.5337, allocations: 51.48 kB / 399.7 MB, free: 9.992 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.00159/0.5353, allocations: 0.9685 MB / 400.7 MB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.5357, allocations: 108.8 kB / 400.8 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5357, allocations: 0 / 400.8 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.349e-05/0.5358, allocations: 23 kB / 400.8 MB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.5362, allocations: 12.14 kB / 400.8 MB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.5385, allocations: 0.6346 MB / 401.5 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.5388, allocations: 0.6923 MB / 402.2 MB, free: 7.789 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.539, allocations: 30.42 kB / 402.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.539, allocations: 0 / 402.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.554/3.093, allocations: 2.266 MB / 404.5 MB, free: 5.512 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat