Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.4 MB / 216.9 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.836e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 48.71 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.5043, allocations: 75.21 MB / 391.5 MB, free: 1.082 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.5046, allocations: 78.25 kB / 391.6 MB, free: 1.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02344/0.528, allocations: 5.362 MB / 397 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.308e-06/0.5281, allocations: 4 kB / 397 MB, free: 12.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.773e-05/0.5282, allocations: 4 kB / 397 MB, free: 12.47 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.001064/0.5292, allocations: 0.6387 MB / 397.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.5293, allocations: 16.02 kB / 397.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.5295, allocations: 43.44 kB / 397.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.5306, allocations: 444.6 kB / 398.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5306, allocations: 4 kB / 398.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.5307, allocations: 4 kB / 398.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001163/0.5308, allocations: 26.3 kB / 398.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.531, allocations: 65.39 kB / 398.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.531, allocations: 0 / 398.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.531, allocations: 0 / 398.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.531, allocations: 4 kB / 398.2 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.5316, allocations: 353.9 kB / 398.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.5318, allocations: 60.02 kB / 398.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.5319, allocations: 21.03 kB / 398.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.5319, allocations: 0 / 398.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.5321, allocations: 99 kB / 398.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.5322, allocations: 3.938 kB / 398.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004819/0.5327, allocations: 132.8 kB / 398.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.5327, allocations: 77.11 kB / 398.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.5346, allocations: 0.857 MB / 399.8 MB, free: 9.766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.5347, allocations: 28.52 kB / 399.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.535, allocations: 245.1 kB / 400.1 MB, free: 9.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.535, allocations: 14.94 kB / 400.1 MB, free: 9.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.535, allocations: 4 kB / 400.1 MB, free: 9.562 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5352, allocations: 326.3 kB / 400.4 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.5353, allocations: 26.44 kB / 400.4 MB, free: 9.223 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.5354, allocations: 47.52 kB / 400.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.5356, allocations: 43.59 kB / 400.5 MB, free: 9.152 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5356, allocations: 0 / 400.5 MB, free: 9.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003975/0.536, allocations: 131.4 kB / 400.6 MB, free: 9.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.877e-05/0.5361, allocations: 62.16 kB / 400.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5361, allocations: 7.984 kB / 400.7 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5361, allocations: 0 / 400.7 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.5363, allocations: 12 kB / 400.7 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.5363, allocations: 3.938 kB / 400.7 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.5366, allocations: 11.94 kB / 400.7 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.5366, allocations: 7.984 kB / 400.7 MB, free: 8.93 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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001164/0.5367, allocations: 119.7 kB / 400.9 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003685/0.5371, allocations: 120.2 kB / 401 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.5373, allocations: 51.44 kB / 401 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.5377, allocations: 146 kB / 401.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5378, allocations: 0 / 401.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.5378, allocations: 4 kB / 401.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5378, allocations: 3.938 kB / 401.2 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.5383, allocations: 340.5 kB / 401.5 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5383, allocations: 0 / 401.5 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.933e-05/0.5384, allocations: 11.94 kB / 401.5 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.5385, allocations: 0 / 401.5 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.5385, allocations: 4 kB / 401.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5385, allocations: 4 kB / 401.5 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5385, allocations: 0 / 401.5 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.5389, allocations: 180.2 kB / 401.7 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/0.5393, allocations: 185.5 kB / 401.9 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.5394, allocations: 4.094 kB / 401.9 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.5396, allocations: 15.92 kB / 401.9 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.5397, allocations: 4 kB / 401.9 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.5397, allocations: 7.938 kB / 401.9 MB, free: 7.758 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001288/0.541, allocations: 0.6749 MB / 402.6 MB, free: 7.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.541, allocations: 0 / 402.6 MB, free: 7.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000639/0.5417, allocations: 99.17 kB / 402.7 MB, free: 7.176 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001799/0.5435, allocations: 1.075 MB / 403.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000405/0.544, allocations: 190.3 kB / 404 MB, free: 5.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.544, allocations: 0 / 404 MB, free: 5.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.5441, allocations: 30.55 kB / 404 MB, free: 5.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.5447, allocations: 48.61 kB / 404 MB, free: 5.891 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.5471, allocations: 0.8678 MB / 404.9 MB, free: 5.055 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.5477, allocations: 0.8368 MB / 405.7 MB, free: 4.207 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.5481, allocations: 141.6 kB / 405.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5481, allocations: 0 / 405.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.699/3.247, allocations: 7.787 MB / 413.7 MB, free: 12.41 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat