Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.949/1.949, allocations: 209.4 MB / 216.9 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.528e-05, allocations: 6.109 kB / 267.6 MB, free: 5.332 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 48.69 MB / 316.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4102/0.517, allocations: 76.13 MB / 392.4 MB, free: 172 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.5173, allocations: 65.28 kB / 392.5 MB, free: 140 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01392/0.5313, allocations: 3.201 MB / 395.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5313, allocations: 0 / 395.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.5314, allocations: 0 / 395.7 MB, free: 13.46 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.0006592/0.532, allocations: 467.7 kB / 396.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.5321, allocations: 12.03 kB / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.5322, allocations: 11.84 kB / 396.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.5325, allocations: 202.7 kB / 396.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.5326, allocations: 4 kB / 396.4 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.5326, allocations: 11.19 kB / 396.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001285/0.5327, allocations: 30.73 kB / 396.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.5329, allocations: 60.06 kB / 396.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5329, allocations: 0 / 396.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.533, allocations: 0 / 396.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.533, allocations: 4 kB / 396.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.5336, allocations: 324.2 kB / 396.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.5339, allocations: 67.98 kB / 396.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.534, allocations: 23.36 kB / 396.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.5341, allocations: 0 / 396.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.5342, allocations: 68.52 kB / 397 MB, free: 12.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.5343, allocations: 0 / 397 MB, free: 12.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002992/0.5346, allocations: 92.55 kB / 397 MB, free: 12.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.5346, allocations: 55.36 kB / 397.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.5348, allocations: 147 kB / 397.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.5349, allocations: 29.7 kB / 397.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.535, allocations: 170 kB / 397.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.535, allocations: 14.31 kB / 397.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.535, allocations: 4.109 kB / 397.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5352, allocations: 322.6 kB / 397.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.5353, allocations: 23 kB / 397.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.775e-05/0.5354, allocations: 36.03 kB / 397.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-05/0.5355, allocations: 29.3 kB / 397.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5355, allocations: 0 / 397.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002904/0.5358, allocations: 106.3 kB / 398 MB, free: 11.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.5359, allocations: 40.03 kB / 398 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.5359, allocations: 80 / 398 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5359, allocations: 0 / 398 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.5361, allocations: 20.03 kB / 398 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.5361, allocations: 3.984 kB / 398 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.5362, allocations: 27.77 kB / 398.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.5363, allocations: 4 kB / 398.1 MB, free: 11.05 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 0.0001099/0.5364, allocations: 104.9 kB / 398.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001929/0.5366, allocations: 79.52 kB / 398.2 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.5366, allocations: 11.91 kB / 398.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.5369, allocations: 95.55 kB / 398.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5369, allocations: 0 / 398.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.5369, allocations: 3.953 kB / 398.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.5369, allocations: 0 / 398.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.5372, allocations: 179.7 kB / 398.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5372, allocations: 0 / 398.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.5373, allocations: 19.92 kB / 398.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.5374, allocations: 0 / 398.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.5374, allocations: 0 / 398.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5374, allocations: 0 / 398.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5374, allocations: 4 kB / 398.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.5377, allocations: 141.7 kB / 398.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.5378, allocations: 89.03 kB / 398.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.5379, allocations: 0 / 398.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.538, allocations: 8 kB / 398.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.5381, allocations: 3.984 kB / 398.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.5381, allocations: 7.188 kB / 398.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.5382, allocations: 121.8 kB / 398.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5383, allocations: 0 / 398.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003928/0.5387, allocations: 38.92 kB / 398.9 MB, free: 10.15 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.001417/0.5401, allocations: 0.8446 MB / 399.8 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.5405, allocations: 123.1 kB / 399.9 MB, free: 9.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5405, allocations: 0 / 399.9 MB, free: 9.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.5406, allocations: 26.25 kB / 399.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.541, allocations: 31.45 kB / 400 MB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008274/0.5419, allocations: 242 kB / 400.2 MB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.5423, allocations: 0.7119 MB / 400.9 MB, free: 8.176 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.5424, allocations: 34.92 kB / 401 MB, free: 8.156 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.5424, allocations: 0 / 401 MB, free: 8.156 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.903/3.445, allocations: 2.365 MB / 403.3 MB, free: 5.801 MB / 330.7 MB