Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.035/2.035, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.622e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 48.71 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5319, allocations: 76.1 MB / 392.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.5323, allocations: 69.91 kB / 392.5 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01383/0.5461, allocations: 3.191 MB / 395.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5462, allocations: 4 kB / 395.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.5462, allocations: 5.422 kB / 395.7 MB, free: 13.81 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.00064/0.5469, allocations: 469.1 kB / 396.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.5469, allocations: 8.031 kB / 396.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.547, allocations: 11.91 kB / 396.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.5473, allocations: 202.7 kB / 396.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.5473, allocations: 0 / 396.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.5474, allocations: 11.88 kB / 396.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001272/0.5475, allocations: 27.62 kB / 396.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.5477, allocations: 61.42 kB / 396.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5477, allocations: 0 / 396.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.5477, allocations: 0 / 396.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.5477, allocations: 3.984 kB / 396.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00061/0.5483, allocations: 329.3 kB / 396.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.5486, allocations: 63.44 kB / 396.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/0.5487, allocations: 28.66 kB / 396.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.5487, allocations: 0 / 396.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.5489, allocations: 75.81 kB / 396.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.5489, allocations: 3.938 kB / 396.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002624/0.5492, allocations: 80.81 kB / 397 MB, free: 12.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.5493, allocations: 59.3 kB / 397.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.5495, allocations: 145 kB / 397.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.5495, allocations: 29.64 kB / 397.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.5496, allocations: 172 kB / 397.4 MB, free: 12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.5496, allocations: 18.94 kB / 397.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.5497, allocations: 4 kB / 397.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5498, allocations: 314.8 kB / 397.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.5499, allocations: 26.11 kB / 397.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-05/0.55, allocations: 35.72 kB / 397.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.18e-05/0.5501, allocations: 30.03 kB / 397.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5501, allocations: 0 / 397.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002749/0.5504, allocations: 109.5 kB / 397.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.5504, allocations: 37.73 kB / 398 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5505, allocations: 3.984 kB / 398 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5505, allocations: 0 / 398 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.5506, allocations: 12 kB / 398 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.5507, allocations: 4 kB / 398 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.5508, allocations: 19.78 kB / 398 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.5508, allocations: 7.938 kB / 398 MB, free: 11.41 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.058e-05/0.5509, allocations: 108.9 kB / 398.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001854/0.5511, allocations: 80.22 kB / 398.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.5511, allocations: 7.906 kB / 398.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.5514, allocations: 97.52 kB / 398.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5514, allocations: 0 / 398.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5514, allocations: 3.953 kB / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5515, allocations: 0 / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.5517, allocations: 172.3 kB / 398.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5517, allocations: 0 / 398.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.5518, allocations: 15.92 kB / 398.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.5519, allocations: 4 kB / 398.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.5519, allocations: 4 kB / 398.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5519, allocations: 0 / 398.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5519, allocations: 0 / 398.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.5522, allocations: 144.2 kB / 398.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.5523, allocations: 92.91 kB / 398.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.5524, allocations: 192 / 398.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.5525, allocations: 4 kB / 398.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.5525, allocations: 15.98 kB / 398.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.5525, allocations: 4 kB / 398.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.5527, allocations: 112.8 kB / 398.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5527, allocations: 3.938 kB / 398.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.5531, allocations: 35.92 kB / 398.9 MB, free: 10.51 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.001268/0.5543, allocations: 0.8517 MB / 399.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.5546, allocations: 118.9 kB / 399.9 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.5546, allocations: 0 / 399.9 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.5547, allocations: 30.81 kB / 399.9 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.555, allocations: 27.33 kB / 399.9 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007101/0.5558, allocations: 250.5 kB / 400.2 MB, free: 9.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.5561, allocations: 0.7041 MB / 400.9 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.88e-05/0.5562, allocations: 31.38 kB / 400.9 MB, free: 8.523 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5562, allocations: 0 / 400.9 MB, free: 8.523 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.797/3.354, allocations: 2.373 MB / 403.3 MB, free: 6.16 MB / 330.7 MB