Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_PadeDelay1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.489e-05, allocations: 4 kB / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3899, allocations: 54.85 MB / 354.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.5395, allocations: 81.37 MB / 435.7 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.5398, allocations: 59.92 kB / 435.8 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04823/0.5881, allocations: 9.202 MB / 445 MB, free: 7.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5881, allocations: 0 / 445 MB, free: 7.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.112e-05/0.5882, allocations: 8 kB / 445 MB, free: 7.574 MB / 378.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.002864/0.591, allocations: 0.9516 MB / 445.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.5911, allocations: 12.02 kB / 445.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.5913, allocations: 59.2 kB / 446 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007603/0.5921, allocations: 359.5 kB / 446.3 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.5921, allocations: 8 kB / 446.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.5923, allocations: 35.89 kB / 446.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00171/0.594, allocations: 0.6773 MB / 447.1 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.5954, allocations: 0.6117 MB / 447.7 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-05/0.5954, allocations: 11.91 kB / 447.7 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.5955, allocations: 7.938 kB / 447.7 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.5955, allocations: 8 kB / 447.7 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.5996, allocations: 1.555 MB / 449.3 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.6011, allocations: 0.7331 MB / 450 MB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.6022, allocations: 0.5427 MB / 450.5 MB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007568/0.603, allocations: 310.5 kB / 450.8 MB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.603, allocations: 43.03 kB / 450.9 MB, free: 1.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.935e-06/0.6031, allocations: 0 / 450.9 MB, free: 1.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.002539/0.6056, allocations: 1.064 MB / 451.9 MB, free: 380 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.6057, allocations: 89.06 kB / 452 MB, free: 272 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.6063, allocations: 326.1 kB / 452.4 MB, free: 15.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-05/0.6064, allocations: 29.7 kB / 452.4 MB, free: 15.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.6065, allocations: 137.8 kB / 452.5 MB, free: 15.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000401/0.6069, allocations: 358.7 kB / 452.9 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.607, allocations: 7.938 kB / 452.9 MB, free: 15.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.6072, allocations: 382.8 kB / 453.2 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.6084, allocations: 0.5765 MB / 453.8 MB, free: 14.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.6098, allocations: 0.6666 MB / 454.5 MB, free: 13.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.6116, allocations: 0.7237 MB / 455.2 MB, free: 13.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6116, allocations: 0 / 455.2 MB, free: 13.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00356/0.6152, allocations: 1.633 MB / 456.8 MB, free: 11.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.6153, allocations: 8 kB / 456.9 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/0.6153, allocations: 8 kB / 456.9 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.6153, allocations: 4 kB / 456.9 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.617, allocations: 171.7 kB / 457 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.617, allocations: 4 kB / 457 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/0.6176, allocations: 110.3 kB / 457.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-05/0.6178, allocations: 24 kB / 457.2 MB, free: 11.07 MB / 394.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.0004302/0.6182, allocations: 198 kB / 457.4 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002515/0.6207, allocations: 1.066 MB / 458.4 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.6209, allocations: 43.34 kB / 458.5 MB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/0.6242, allocations: 1.711 MB / 460.2 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.6242, allocations: 4 kB / 460.2 MB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.6242, allocations: 3.953 kB / 460.2 MB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.6243, allocations: 11.97 kB / 460.2 MB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003996/0.6283, allocations: 1.697 MB / 461.9 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.6283, allocations: 0 / 461.9 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/0.6302, allocations: 127.7 kB / 462 MB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.6302, allocations: 4 kB / 462 MB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.6303, allocations: 31.97 kB / 462.1 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.6304, allocations: 0 / 462.1 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.6304, allocations: 4 kB / 462.1 MB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.6332, allocations: 1.355 MB / 463.4 MB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.6334, allocations: 160.2 kB / 463.6 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.6337, allocations: 23.97 kB / 463.6 MB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/0.6343, allocations: 15.98 kB / 463.6 MB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.6345, allocations: 35.89 kB / 463.6 MB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.985e-05/0.6345, allocations: 19.98 kB / 463.7 MB, free: 4.336 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006303/0.6352, allocations: 338.9 kB / 464 MB, free: 4.004 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6352, allocations: 0 / 464 MB, free: 4.004 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001284/0.6365, allocations: 255.8 kB / 464.2 MB, free: 3.754 MB / 394.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.00403/0.6405, allocations: 2.125 MB / 466.4 MB, free: 1.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003018/0.6436, allocations: 1.506 MB / 467.9 MB, free: 68 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6436, allocations: 0 / 467.9 MB, free: 68 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.6447, allocations: 419.7 kB / 468.3 MB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.6453, allocations: 42 kB / 468.3 MB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.65, allocations: 2.026 MB / 470.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007781/0.6508, allocations: 0.9419 MB / 471.3 MB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007695/0.6516, allocations: 179.1 kB / 471.5 MB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000582/0.6522, allocations: 191.4 kB / 471.7 MB, free: 12.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/0.6522, allocations: 0 / 471.7 MB, free: 12.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06197/0.7142, allocations: 13.53 MB / 485.2 MB, free: 14.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/0.7145, allocations: 113.8 kB / 485.3 MB, free: 14.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/3.689, allocations: 4 kB / 485.3 MB, free: 14.52 MB / 426.7 MB