Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDeadBand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 170.4 kB / 7.646 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.3 MB / 213.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007506/0.0007504, allocations: 86.7 kB / 261.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05275/0.05275, allocations: 14.02 MB / 323.4 MB, free: 13.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.815e-05, allocations: 4 kB / 380.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2382, allocations: 51.11 MB / 431.8 MB, free: 16.22 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09916/0.3375, allocations: 75.98 MB / 0.4959 GB, free: 4.141 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.3377, allocations: 63.97 kB / 0.4959 GB, free: 4.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00193/0.3397, allocations: 0.6967 MB / 0.4966 GB, free: 3.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3397, allocations: 0 / 0.4966 GB, free: 3.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.3397, allocations: 4 kB / 0.4966 GB, free: 3.375 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002953/0.34, allocations: 322.5 kB / 0.4969 GB, free: 3.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3401, allocations: 8.031 kB / 0.4969 GB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3401, allocations: 8 kB / 0.497 GB, free: 3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.3403, allocations: 171 kB / 0.4971 GB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.3403, allocations: 4 kB / 0.4971 GB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.3403, allocations: 3.953 kB / 0.4971 GB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.22e-05/0.3404, allocations: 15.94 kB / 0.4971 GB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.3405, allocations: 60.25 kB / 0.4972 GB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.3405, allocations: 0 / 0.4972 GB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3405, allocations: 0 / 0.4972 GB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3406, allocations: 4 kB / 0.4972 GB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.3409, allocations: 317.5 kB / 0.4975 GB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.341, allocations: 49.2 kB / 0.4975 GB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.341, allocations: 25.78 kB / 0.4976 GB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.341, allocations: 0 / 0.4976 GB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.3411, allocations: 34.56 kB / 0.4976 GB, free: 2.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.3411, allocations: 0 / 0.4976 GB, free: 2.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001639/0.3412, allocations: 45.64 kB / 0.4977 GB, free: 2.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.3413, allocations: 110.8 kB / 0.4978 GB, free: 2.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.3414, allocations: 89.06 kB / 0.4978 GB, free: 1.922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3414, allocations: 29.7 kB / 0.4979 GB, free: 1.887 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.3415, allocations: 80.14 kB / 0.4979 GB, free: 1.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.3415, allocations: 15.84 kB / 0.498 GB, free: 1.789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.3415, allocations: 3.938 kB / 0.498 GB, free: 1.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.3416, allocations: 310.8 kB / 0.4983 GB, free: 1.473 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.3416, allocations: 8 kB / 0.4983 GB, free: 1.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.814e-05/0.3416, allocations: 26.5 kB / 0.4983 GB, free: 1.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.229e-05/0.3417, allocations: 12.03 kB / 0.4983 GB, free: 1.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3417, allocations: 0 / 0.4983 GB, free: 1.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.033e-05/0.3418, allocations: 57.55 kB / 0.4984 GB, free: 1.355 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.648e-05/0.3419, allocations: 178 kB / 0.4985 GB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3419, allocations: 4.062 kB / 0.4985 GB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3419, allocations: 4 kB / 0.4985 GB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.342, allocations: 19.92 kB / 0.4986 GB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.342, allocations: 0 / 0.4986 GB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.3421, allocations: 8 kB / 0.4986 GB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.3421, allocations: 0 / 0.4986 GB, free: 1.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.47e-06/0.3421, allocations: 4 kB / 0.4986 GB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.699e-05/0.3421, allocations: 19.98 kB / 0.4986 GB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3422, allocations: 3.953 kB / 0.4986 GB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-06/0.3422, allocations: 0 / 0.4986 GB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.875e-05/0.3422, allocations: 4 kB / 0.4986 GB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3422, allocations: 7.922 kB / 0.4986 GB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.3423, allocations: 4 kB / 0.4986 GB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.3423, allocations: 8 kB / 0.4986 GB, free: 1.082 MB / 346.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 7.599e-05/0.3423, allocations: 105 kB / 0.4987 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.3424, allocations: 64 / 0.4987 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.3424, allocations: 19.66 kB / 0.4987 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3424, allocations: 0 / 0.4987 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3424, allocations: 0 / 0.4987 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3424, allocations: 0 / 0.4987 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.3426, allocations: 142.2 kB / 0.4989 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3426, allocations: 3.984 kB / 0.4989 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.3427, allocations: 8 kB / 0.4989 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3427, allocations: 0 / 0.4989 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.3427, allocations: 4 kB / 0.4989 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3427, allocations: 4 kB / 0.4989 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.3428, allocations: 3.953 kB / 0.4989 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.3429, allocations: 239.1 kB / 0.4991 GB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.343, allocations: 81.09 kB / 0.4992 GB, free: 412 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.343, allocations: 4 kB / 0.4992 GB, free: 408 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3431, allocations: 15.95 kB / 0.4992 GB, free: 392 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.3432, allocations: 12.02 kB / 0.4992 GB, free: 380 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3432, allocations: 0 / 0.4992 GB, free: 380 kB / 346.7 MB Notification: Performance of sorting global known variables: time 4.126e-05/0.3433, allocations: 83.22 kB / 0.4993 GB, free: 296 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3433, allocations: 0 / 0.4993 GB, free: 296 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002809/0.3435, allocations: 11.94 kB / 0.4993 GB, free: 284 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001038/0.3437, allocations: 91.25 kB / 0.4994 GB, free: 184 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.3438, allocations: 39.92 kB / 0.4994 GB, free: 144 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3438, allocations: 0 / 0.4994 GB, free: 144 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.15e-05/0.3438, allocations: 4 kB / 0.4994 GB, free: 140 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.344, allocations: 8 kB / 0.4995 GB, free: 132 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.3442, allocations: 64.86 kB / 0.4995 GB, free: 40 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3445, allocations: 0.6845 MB / 0.5002 GB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.3446, allocations: 8.359 kB / 0.5002 GB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.3446, allocations: 11.44 kB / 0.5002 GB, free: 15.31 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3446, allocations: 0 / 0.5002 GB, free: 15.31 MB / 362.7 MB Notification: Performance of Templates: time 0.002159/0.3468, allocations: 0.4918 MB / 0.5007 GB, free: 14.82 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1)