Running command: translateModel(ModelicaTest.Blocks.PadeDelay1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1.y|padeDelayOld1.y|padeDelay2.y|padeDelayOld2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay1") Notification: Performance of loadModel(ModelicaTest): time 2.539/2.539, allocations: 270 MB / 283.6 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.697e-05, allocations: 4 kB / 348.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4269, allocations: 61.87 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.564, allocations: 87.99 MB / 498.3 MB, free: 2.582 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.5642, allocations: 59.98 kB / 498.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04347/0.6077, allocations: 9.37 MB / 0.4958 GB, free: 9.125 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.452e-06/0.6078, allocations: 3.938 kB / 0.4958 GB, free: 9.121 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.332e-05/0.6078, allocations: 8 kB / 0.4958 GB, free: 9.113 MB / 426.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.002229/0.6101, allocations: 0.9574 MB / 0.4967 GB, free: 8.113 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.6101, allocations: 8.031 kB / 0.4967 GB, free: 8.105 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.6103, allocations: 51.25 kB / 0.4968 GB, free: 8.055 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.611, allocations: 347.8 kB / 0.4971 GB, free: 7.676 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.611, allocations: 16.56 kB / 0.4971 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.6112, allocations: 51.75 kB / 0.4972 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.6126, allocations: 0.6447 MB / 0.4978 GB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.6126, allocations: 11.84 kB / 0.4978 GB, free: 6.941 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.551e-05/0.6127, allocations: 12 kB / 0.4978 GB, free: 6.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.6127, allocations: 4 kB / 0.4979 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.6142, allocations: 0.6958 MB / 0.4985 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003643/0.6179, allocations: 1.634 MB / 0.5001 GB, free: 4.535 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.6194, allocations: 0.763 MB / 0.5009 GB, free: 3.758 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.6204, allocations: 0.5583 MB / 0.5014 GB, free: 3.188 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007077/0.6212, allocations: 306.5 kB / 0.5017 GB, free: 2.852 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.6212, allocations: 35.03 kB / 0.5017 GB, free: 2.809 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 3.85e-06/0.6212, allocations: 4 kB / 0.5017 GB, free: 2.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.002324/0.6236, allocations: 1.089 MB / 0.5028 GB, free: 1.711 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.6237, allocations: 85.11 kB / 0.5029 GB, free: 1.609 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005732/0.6243, allocations: 347.3 kB / 0.5032 GB, free: 1.258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.932e-05/0.6244, allocations: 33.7 kB / 0.5033 GB, free: 1.219 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.6245, allocations: 153.8 kB / 0.5034 GB, free: 1.062 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003996/0.6249, allocations: 350.7 kB / 0.5037 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.625, allocations: 12 kB / 0.5037 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002501/0.6253, allocations: 378.8 kB / 0.5041 GB, free: 332 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.6264, allocations: 0.5843 MB / 0.5047 GB, free: 15.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.6277, allocations: 0.6822 MB / 0.5053 GB, free: 15.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.6294, allocations: 0.7228 MB / 0.506 GB, free: 14.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.6294, allocations: 0 / 0.506 GB, free: 14.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003296/0.6327, allocations: 1.685 MB / 0.5077 GB, free: 12.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.6328, allocations: 8 kB / 0.5077 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/0.6328, allocations: 7.984 kB / 0.5077 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.6328, allocations: 4 kB / 0.5077 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.6339, allocations: 171.8 kB / 0.5079 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.634, allocations: 4 kB / 0.5079 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.6345, allocations: 126.3 kB / 0.508 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/0.6346, allocations: 20 kB / 0.508 GB, free: 12.3 MB / 442.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.0003907/0.635, allocations: 228.6 kB / 0.5082 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.6352, allocations: 51.28 kB / 0.5083 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/0.6382, allocations: 1.748 MB / 0.51 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.6382, allocations: 8 kB / 0.51 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6383, allocations: 0 / 0.51 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.6383, allocations: 3.984 kB / 0.51 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/0.6419, allocations: 1.777 MB / 0.5117 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.558e-06/0.6419, allocations: 0 / 0.5117 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.6431, allocations: 119.9 kB / 0.5119 GB, free: 8.188 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.6431, allocations: 4 kB / 0.5119 GB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.6433, allocations: 39.97 kB / 0.5119 GB, free: 8.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.6433, allocations: 0 / 0.5119 GB, free: 8.145 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6433, allocations: 0 / 0.5119 GB, free: 8.145 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.646, allocations: 1.387 MB / 0.5133 GB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.6462, allocations: 176.1 kB / 0.5134 GB, free: 6.547 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.6464, allocations: 23.98 kB / 0.5134 GB, free: 6.523 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.6469, allocations: 31.97 kB / 0.5135 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.6471, allocations: 31.95 kB / 0.5135 GB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/0.6471, allocations: 12 kB / 0.5135 GB, free: 6.449 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006271/0.6478, allocations: 365.5 kB / 0.5139 GB, free: 6.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.15e-07/0.6478, allocations: 0 / 0.5139 GB, free: 6.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001087/0.6489, allocations: 279.8 kB / 0.5141 GB, free: 5.816 MB / 442.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.0007312/0.6496, allocations: 270.1 kB / 0.5144 GB, free: 5.547 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002779/0.6524, allocations: 1.521 MB / 0.5159 GB, free: 4.004 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6525, allocations: 0 / 0.5159 GB, free: 4.004 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000874/0.6533, allocations: 435.1 kB / 0.5163 GB, free: 3.582 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.654, allocations: 50.02 kB / 0.5163 GB, free: 3.535 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.6572, allocations: 1.763 MB / 0.5181 GB, free: 1.734 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008289/0.6581, allocations: 0.9382 MB / 0.519 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006353/0.6588, allocations: 175.2 kB / 0.5191 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.659, allocations: 31.44 kB / 0.5192 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of SimCode: time 1.668e-06/0.6591, allocations: 8 kB / 0.5192 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of Templates: time 0.3026/0.9616, allocations: 7.548 MB / 0.5266 GB, free: 111.6 MB / 442.7 MB