Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01483/0.01483, allocations: 173.9 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.07/2.07, allocations: 194.5 MB / 210.3 MB, free: 7.797 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002021/0.002022, allocations: 108.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2665/0.2665, allocations: 40.02 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006303/0.0006304, allocations: 10.41 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1049, allocations: 54.87 MB / 461.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.2565, allocations: 81.86 MB / 0.5303 GB, free: 1.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.2568, allocations: 63.97 kB / 0.5303 GB, free: 1.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3665/0.6233, allocations: 9.395 MB / 0.5395 GB, free: 81.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.6234, allocations: 0 / 0.5395 GB, free: 81.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.301e-05/0.6234, allocations: 13.62 kB / 0.5395 GB, free: 81.7 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001921/0.6253, allocations: 0.6914 MB / 0.5402 GB, free: 81.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.6254, allocations: 12.23 kB / 0.5402 GB, free: 81.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.05e-05/0.6255, allocations: 54.39 kB / 0.5403 GB, free: 81.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.578e-05/0.6256, allocations: 31.28 kB / 0.5403 GB, free: 81.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.6262, allocations: 295.4 kB / 0.5406 GB, free: 80.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.6262, allocations: 13.28 kB / 0.5406 GB, free: 80.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-05/0.6263, allocations: 21.84 kB / 0.5406 GB, free: 80.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.627, allocations: 278.2 kB / 0.5409 GB, free: 80.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6271, allocations: 0 / 0.5409 GB, free: 80.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.6271, allocations: 9.078 kB / 0.5409 GB, free: 80.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.6271, allocations: 4.125 kB / 0.5409 GB, free: 80.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006993/0.6279, allocations: 237.1 kB / 0.5411 GB, free: 80.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.6299, allocations: 0.7654 MB / 0.5419 GB, free: 80.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.6307, allocations: 292.1 kB / 0.5421 GB, free: 80.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.274e-05/0.6308, allocations: 5.062 kB / 0.5421 GB, free: 80.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.6308, allocations: 38.44 kB / 0.5422 GB, free: 79.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.785e-06/0.6308, allocations: 0 / 0.5422 GB, free: 79.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.00174/0.6326, allocations: 0.5438 MB / 0.5427 GB, free: 79.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.6326, allocations: 83.8 kB / 0.5428 GB, free: 79.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.6331, allocations: 318.9 kB / 0.5431 GB, free: 79.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/0.6332, allocations: 33.27 kB / 0.5431 GB, free: 79.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.6333, allocations: 142.8 kB / 0.5433 GB, free: 79.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.6335, allocations: 96.19 kB / 0.5433 GB, free: 79.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.6335, allocations: 9.344 kB / 0.5434 GB, free: 79.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.6336, allocations: 351.8 kB / 0.5437 GB, free: 79.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007004/0.6343, allocations: 289.2 kB / 0.544 GB, free: 79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007648/0.6351, allocations: 335.8 kB / 0.5443 GB, free: 78.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.636, allocations: 333.9 kB / 0.5446 GB, free: 78.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.636, allocations: 0 / 0.5446 GB, free: 78.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001781/0.6378, allocations: 0.7605 MB / 0.5453 GB, free: 78.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.6378, allocations: 8.453 kB / 0.5454 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/0.6379, allocations: 9.781 kB / 0.5454 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.6379, allocations: 2.531 kB / 0.5454 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000919/0.6389, allocations: 93.94 kB / 0.5455 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.6389, allocations: 2.406 kB / 0.5455 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.6393, allocations: 67.27 kB / 0.5455 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.6393, allocations: 8.812 kB / 0.5455 GB, free: 78.27 MB / 378.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * 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.0003701/0.6397, allocations: 195.5 kB / 0.5457 GB, free: 78.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.6398, allocations: 29.69 kB / 0.5457 GB, free: 78.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.64, allocations: 33.88 kB / 0.5458 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.64, allocations: 3.125 kB / 0.5458 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.64, allocations: 1.156 kB / 0.5458 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.64, allocations: 3.984 kB / 0.5458 GB, free: 78.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.6406, allocations: 346 kB / 0.5461 GB, free: 77.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6406, allocations: 1.219 kB / 0.5461 GB, free: 77.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000744/0.6413, allocations: 53.09 kB / 0.5462 GB, free: 77.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.6414, allocations: 1.531 kB / 0.5462 GB, free: 77.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.6414, allocations: 10.12 kB / 0.5462 GB, free: 77.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.6414, allocations: 5.484 kB / 0.5462 GB, free: 77.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6414, allocations: 1.531 kB / 0.5462 GB, free: 77.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.6431, allocations: 0.7828 MB / 0.5469 GB, free: 77.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.6432, allocations: 105.5 kB / 0.5471 GB, free: 77.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-05/0.6433, allocations: 14.36 kB / 0.5471 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.6437, allocations: 15.09 kB / 0.5471 GB, free: 77.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.6438, allocations: 19.19 kB / 0.5471 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.6439, allocations: 6.125 kB / 0.5471 GB, free: 77.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003369/0.6442, allocations: 218.5 kB / 0.5473 GB, free: 76.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6442, allocations: 0 / 0.5473 GB, free: 76.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001338/0.6456, allocations: 267.1 kB / 0.5476 GB, free: 76.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.003082/0.6487, allocations: 1.574 MB / 0.5491 GB, free: 75.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.6504, allocations: 0.7422 MB / 0.5498 GB, free: 75.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.6505, allocations: 0 / 0.5498 GB, free: 75.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005729/0.6511, allocations: 198.2 kB / 0.55 GB, free: 75.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.6517, allocations: 37.67 kB / 0.5501 GB, free: 75.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.6545, allocations: 1.603 MB / 0.5516 GB, free: 73.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.6549, allocations: 0.8088 MB / 0.5524 GB, free: 73.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003184/0.6553, allocations: 75.67 kB / 0.5525 GB, free: 73.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.6555, allocations: 94.88 kB / 0.5526 GB, free: 73.08 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6555, allocations: 3.938 kB / 0.5526 GB, free: 73.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04562/0.7012, allocations: 9.292 MB / 0.5616 GB, free: 64.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/0.7015, allocations: 161.1 kB / 0.5618 GB, free: 63.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.854/3.556, allocations: 0 / 0.5618 GB, free: 63.81 MB / 378.7 MB