Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.212/2.212, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.802e-05, allocations: 8 kB / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 48.69 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4157/0.5225, allocations: 75.33 MB / 391.6 MB, free: 0.957 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.5229, allocations: 76.92 kB / 391.7 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01712/0.54, allocations: 3.845 MB / 395.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.54, allocations: 0 / 395.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.5401, allocations: 4 kB / 395.6 MB, free: 13.7 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.0005531/0.5406, allocations: 411.7 kB / 396 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.5407, allocations: 12.02 kB / 396 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.5408, allocations: 11.91 kB / 396 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.5411, allocations: 202.4 kB / 396.2 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.5411, allocations: 0 / 396.2 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.5411, allocations: 4 kB / 396.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.887e-05/0.5412, allocations: 11.88 kB / 396.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.693e-05/0.5413, allocations: 41.38 kB / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5414, allocations: 3.984 kB / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.5414, allocations: 0 / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.5414, allocations: 0 / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.5418, allocations: 276.9 kB / 396.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.5421, allocations: 42.25 kB / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.5421, allocations: 12.8 kB / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.5422, allocations: 0 / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.5423, allocations: 59.17 kB / 396.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.586e-06/0.5423, allocations: 4 kB / 396.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004504/0.5428, allocations: 100.7 kB / 396.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.5428, allocations: 51.41 kB / 396.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.543, allocations: 151.4 kB / 396.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.5431, allocations: 25.7 kB / 397 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.5432, allocations: 162.4 kB / 397.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.5432, allocations: 11.81 kB / 397.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.5432, allocations: 0 / 397.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5434, allocations: 322.8 kB / 397.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.5435, allocations: 19.38 kB / 397.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.5435, allocations: 27.38 kB / 397.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.883e-05/0.5436, allocations: 23.8 kB / 397.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5436, allocations: 0 / 397.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002394/0.5439, allocations: 81 kB / 397.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.5439, allocations: 37.69 kB / 397.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.544, allocations: 0 / 397.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.544, allocations: 0 / 397.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/0.5441, allocations: 11.94 kB / 397.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.5441, allocations: 0 / 397.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.257e-05/0.5442, allocations: 11.95 kB / 397.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.5442, allocations: 7.984 kB / 397.7 MB, free: 11.52 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 8.867e-05/0.5443, allocations: 105 kB / 397.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001649/0.5445, allocations: 73.22 kB / 397.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.5445, allocations: 11.98 kB / 397.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.5448, allocations: 89.58 kB / 397.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5448, allocations: 3.953 kB / 397.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5448, allocations: 4 kB / 397.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5448, allocations: 0 / 397.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.5453, allocations: 318.1 kB / 398.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5454, allocations: 4 kB / 398.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.5454, allocations: 4 kB / 398.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5454, allocations: 0 / 398.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.5455, allocations: 7.953 kB / 398.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.5455, allocations: 7.922 kB / 398.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.5455, allocations: 0 / 398.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.5457, allocations: 170.8 kB / 398.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.5458, allocations: 88.77 kB / 398.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.5459, allocations: 7.984 kB / 398.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.546, allocations: 3.953 kB / 398.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.546, allocations: 4 kB / 398.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.546, allocations: 0 / 398.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.5462, allocations: 118.9 kB / 398.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5462, allocations: 0 / 398.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.5466, allocations: 31.88 kB / 398.7 MB, free: 10.46 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.001274/0.5479, allocations: 0.9221 MB / 399.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.5482, allocations: 103.8 kB / 399.7 MB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5482, allocations: 0 / 399.7 MB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.5483, allocations: 22.75 kB / 399.7 MB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.5486, allocations: 15.94 kB / 399.7 MB, free: 9.441 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.5493, allocations: 206.4 kB / 399.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.5496, allocations: 0.7002 MB / 400.6 MB, free: 8.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.5497, allocations: 25.23 kB / 400.7 MB, free: 8.469 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5497, allocations: 0 / 400.7 MB, free: 8.469 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.48/3.03, allocations: 2.081 MB / 402.8 MB, free: 6.398 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat