Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.047/2.047, allocations: 209.4 MB / 216.9 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.009e-05, allocations: 6.109 kB / 267.6 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 48.7 MB / 316.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.406/0.5168, allocations: 76.12 MB / 392.4 MB, free: 224 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.5171, allocations: 71.08 kB / 392.5 MB, free: 184 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.5311, allocations: 3.197 MB / 395.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5311, allocations: 0 / 395.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.5312, allocations: 4 kB / 395.7 MB, free: 13.5 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006486/0.5318, allocations: 468.2 kB / 396.2 MB, free: 13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.5319, allocations: 8.031 kB / 396.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.5319, allocations: 11.91 kB / 396.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.5323, allocations: 209.8 kB / 396.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5323, allocations: 0 / 396.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.5323, allocations: 7.938 kB / 396.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001295/0.5325, allocations: 27.25 kB / 396.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.5326, allocations: 63.36 kB / 396.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.5327, allocations: 4 kB / 396.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.5327, allocations: 0 / 396.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5327, allocations: 0 / 396.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.5334, allocations: 327.2 kB / 396.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.5337, allocations: 69.67 kB / 396.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.081e-05/0.5337, allocations: 27.66 kB / 396.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.5338, allocations: 0 / 396.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.534, allocations: 70.83 kB / 397 MB, free: 12.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.534, allocations: 0 / 397 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002718/0.5343, allocations: 89.28 kB / 397.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.5343, allocations: 59.36 kB / 397.1 MB, free: 12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.5345, allocations: 146.1 kB / 397.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.5345, allocations: 25.7 kB / 397.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.5346, allocations: 165.7 kB / 397.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.5347, allocations: 23.11 kB / 397.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.5347, allocations: 0 / 397.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5348, allocations: 318.5 kB / 397.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-05/0.5349, allocations: 29.98 kB / 397.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.535, allocations: 39.91 kB / 397.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.995e-05/0.5351, allocations: 24.86 kB / 397.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5351, allocations: 4 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002684/0.5354, allocations: 104 kB / 398 MB, free: 11.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.5355, allocations: 36.05 kB / 398 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5355, allocations: 0 / 398 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5355, allocations: 0 / 398 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.5357, allocations: 15.98 kB / 398 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5357, allocations: 8.031 kB / 398 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.5358, allocations: 15.8 kB / 398 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.5358, allocations: 7.984 kB / 398.1 MB, free: 11.1 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.499e-05/0.5359, allocations: 111.8 kB / 398.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001826/0.5361, allocations: 74.78 kB / 398.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.5362, allocations: 7.906 kB / 398.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.5364, allocations: 91.97 kB / 398.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.5365, allocations: 3.938 kB / 398.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5365, allocations: 11.89 kB / 398.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.5365, allocations: 0 / 398.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.5367, allocations: 176 kB / 398.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5367, allocations: 0 / 398.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.5369, allocations: 19.23 kB / 398.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5369, allocations: 4 kB / 398.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.5369, allocations: 0 / 398.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5369, allocations: 0 / 398.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5369, allocations: 0 / 398.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.5373, allocations: 143.8 kB / 398.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.5373, allocations: 85.05 kB / 398.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.5374, allocations: 3.984 kB / 398.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.5375, allocations: 4 kB / 398.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.5376, allocations: 14.92 kB / 398.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.5376, allocations: 4 kB / 398.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.5377, allocations: 112.3 kB / 398.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5377, allocations: 64 / 398.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003691/0.5381, allocations: 35.94 kB / 398.9 MB, free: 10.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (8): * Single equations (assignments): 7 * 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.001261/0.5394, allocations: 0.8525 MB / 399.8 MB, free: 9.387 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.5396, allocations: 123.6 kB / 399.9 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5397, allocations: 4 kB / 399.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.492e-05/0.5397, allocations: 26.06 kB / 399.9 MB, free: 9.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.5401, allocations: 19.61 kB / 400 MB, free: 9.234 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/0.5408, allocations: 249.3 kB / 400.2 MB, free: 8.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.5412, allocations: 0.7079 MB / 400.9 MB, free: 8.227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/0.5413, allocations: 38.55 kB / 400.9 MB, free: 8.203 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5413, allocations: 0 / 400.9 MB, free: 8.203 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.737/3.278, allocations: 2.369 MB / 403.3 MB, free: 5.844 MB / 330.7 MB