Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.524/2.524, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.066e-05/4.071e-05, allocations: 7.234 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.6121, allocations: 87.99 MB / 498.3 MB, free: 76 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.6124, allocations: 63.97 kB / 498.4 MB, free: 12 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04967/0.6621, allocations: 9.373 MB / 0.4959 GB, free: 6.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6621, allocations: 0 / 0.4959 GB, free: 6.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.701e-05/0.6622, allocations: 11.94 kB / 0.4959 GB, free: 6.613 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002795/0.665, allocations: 0.954 MB / 0.4968 GB, free: 5.613 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.665, allocations: 12.03 kB / 0.4968 GB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.6652, allocations: 70.53 kB / 0.4969 GB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.6653, allocations: 51.25 kB / 0.4969 GB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007471/0.6661, allocations: 359.6 kB / 0.4973 GB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.6661, allocations: 24.52 kB / 0.4973 GB, free: 5.055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.6663, allocations: 39.91 kB / 0.4974 GB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.6677, allocations: 0.6369 MB / 0.498 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.6678, allocations: 11.91 kB / 0.498 GB, free: 4.355 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-05/0.6679, allocations: 15.94 kB / 0.498 GB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.6679, allocations: 4 kB / 0.498 GB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.6697, allocations: 0.6997 MB / 0.4987 GB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00418/0.6739, allocations: 1.634 MB / 0.5003 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.6755, allocations: 0.7599 MB / 0.501 GB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.6767, allocations: 0.5583 MB / 0.5016 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007891/0.6775, allocations: 314.5 kB / 0.5019 GB, free: 260 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.6775, allocations: 39.03 kB / 0.5019 GB, free: 212 kB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.406e-06/0.6776, allocations: 4 kB / 0.5019 GB, free: 208 kB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.002609/0.6802, allocations: 1.08 MB / 0.503 GB, free: 15.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.6803, allocations: 89.09 kB / 0.5031 GB, free: 15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/0.6809, allocations: 347.3 kB / 0.5034 GB, free: 14.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-05/0.681, allocations: 33.7 kB / 0.5034 GB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.6811, allocations: 145.7 kB / 0.5036 GB, free: 14.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/0.6815, allocations: 354.7 kB / 0.5039 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.6816, allocations: 12 kB / 0.5039 GB, free: 14.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.6818, allocations: 386.8 kB / 0.5043 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.6831, allocations: 0.5843 MB / 0.5048 GB, free: 13.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.6845, allocations: 0.6783 MB / 0.5055 GB, free: 12.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.6862, allocations: 0.7228 MB / 0.5062 GB, free: 11.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.6863, allocations: 0 / 0.5062 GB, free: 11.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003608/0.6899, allocations: 1.677 MB / 0.5079 GB, free: 10.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.69, allocations: 8 kB / 0.5079 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.733e-05/0.69, allocations: 7.984 kB / 0.5079 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.69, allocations: 8 kB / 0.5079 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.6917, allocations: 167.8 kB / 0.508 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.6917, allocations: 4 kB / 0.508 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.6924, allocations: 122.4 kB / 0.5082 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.803e-05/0.6925, allocations: 23.94 kB / 0.5082 GB, free: 9.715 MB / 426.7 MB Warning: Assuming fixed start value for the following 36 variables: padeDelay1.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelayOld1.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelay2.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelayOld2.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004813/0.693, allocations: 224.8 kB / 0.5084 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.6931, allocations: 47.3 kB / 0.5084 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/0.6966, allocations: 1.747 MB / 0.5101 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.6967, allocations: 8 kB / 0.5102 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6967, allocations: 4 kB / 0.5102 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.6967, allocations: 0 / 0.5102 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004329/0.701, allocations: 1.782 MB / 0.5119 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.7011, allocations: 0 / 0.5119 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/0.703, allocations: 123.9 kB / 0.512 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.7031, allocations: 4 kB / 0.512 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.7032, allocations: 35.97 kB / 0.5121 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.7033, allocations: 0 / 0.5121 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.7033, allocations: 4 kB / 0.5121 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.7064, allocations: 1.389 MB / 0.5134 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.7067, allocations: 176.1 kB / 0.5136 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.7069, allocations: 31.98 kB / 0.5136 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006821/0.7076, allocations: 19.98 kB / 0.5136 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.7078, allocations: 35.94 kB / 0.5137 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.7079, allocations: 19.95 kB / 0.5137 GB, free: 3.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007068/0.7086, allocations: 357.5 kB / 0.514 GB, free: 3.488 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7086, allocations: 8 kB / 0.514 GB, free: 3.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001305/0.7099, allocations: 275.8 kB / 0.5143 GB, free: 3.211 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 40 (padeDelayOld2.x[1],padeDelayOld2.x[2],padeDelayOld2.x[3],padeDelayOld2.x[4],padeDelayOld2.x[5],padeDelayOld2.x[6],padeDelayOld2.x[7],padeDelayOld2.x[8],padeDelayOld2.x[9],padeDelayOld2.x[10],padeDelay2.x[1],padeDelay2.x[2],padeDelay2.x[3],padeDelay2.x[4],padeDelay2.x[5],padeDelay2.x[6],padeDelay2.x[7],padeDelay2.x[8],padeDelay2.x[9],padeDelay2.x[10],padeDelayOld1.x[1],padeDelayOld1.x[2],padeDelayOld1.x[3],padeDelayOld1.x[4],padeDelayOld1.x[5],padeDelayOld1.x[6],padeDelayOld1.x[7],padeDelayOld1.x[8],padeDelayOld1.x[9],padeDelayOld1.x[10],padeDelay1.x[1],padeDelay1.x[2],padeDelay1.x[3],padeDelay1.x[4],padeDelay1.x[5],padeDelay1.x[6],padeDelay1.x[7],padeDelay1.x[8],padeDelay1.x[9],padeDelay1.x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.004075/0.714, allocations: 2.16 MB / 0.5164 GB, free: 1.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003233/0.7173, allocations: 1.525 MB / 0.5179 GB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.7173, allocations: 0 / 0.5179 GB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.7184, allocations: 419.7 kB / 0.5183 GB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.7191, allocations: 54.56 kB / 0.5183 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/0.724, allocations: 2.081 MB / 0.5204 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/0.7249, allocations: 0.9382 MB / 0.5213 GB, free: 11.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007797/0.7257, allocations: 175.1 kB / 0.5215 GB, free: 11.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/0.7262, allocations: 203.4 kB / 0.5217 GB, free: 11.55 MB / 442.7 MB Notification: Performance of SimCode: time 1.422e-06/0.7262, allocations: 0 / 0.5217 GB, free: 11.55 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05038/0.7766, allocations: 14.03 MB / 0.5354 GB, free: 13.63 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003346/0.7771, allocations: 141.9 kB / 0.5355 GB, free: 13.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.767/3.544, allocations: 0 / 0.5355 GB, free: 13.4 MB / 458.7 MB