Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadLag.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.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.2 MB / 218.5 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008022/0.0008022, allocations: 94.31 kB / 266.6 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05738/0.05738, allocations: 14.01 MB / 328.7 MB, free: 11.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.774e-05, allocations: 0 / 389.1 MB, free: 66.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06403/0.06407, allocations: 51.11 MB / 440.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2678/0.3319, allocations: 77.69 MB / 0.5058 GB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001615/0.3322, allocations: 61.67 kB / 0.5058 GB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005739/0.3379, allocations: 2.269 MB / 0.5081 GB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3379, allocations: 0 / 0.5081 GB, free: 11.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.3379, allocations: 3.781 kB / 0.5081 GB, free: 11.34 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002992/0.3383, allocations: 392.2 kB / 0.5084 GB, free: 10.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3383, allocations: 7.625 kB / 0.5084 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.3383, allocations: 11.47 kB / 0.5085 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.3387, allocations: 240.8 kB / 0.5087 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3387, allocations: 11.73 kB / 0.5087 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.3387, allocations: 13.67 kB / 0.5087 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3389, allocations: 107.5 kB / 0.5088 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3389, allocations: 0 / 0.5088 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3389, allocations: 3.906 kB / 0.5088 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3389, allocations: 4 kB / 0.5088 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.774e-05/0.339, allocations: 46.27 kB / 0.5089 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.3396, allocations: 0.5989 MB / 0.5094 GB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.3399, allocations: 117.2 kB / 0.5096 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.3399, allocations: 37.95 kB / 0.5096 GB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.34, allocations: 3.875 kB / 0.5096 GB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.168e-05/0.34, allocations: 34.44 kB / 0.5096 GB, free: 9.949 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.34, allocations: 0 / 0.5096 GB, free: 9.949 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002059/0.3402, allocations: 84.03 kB / 0.5097 GB, free: 9.902 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.3402, allocations: 114.8 kB / 0.5098 GB, free: 9.766 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/0.3403, allocations: 140 kB / 0.51 GB, free: 9.664 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.3403, allocations: 25.7 kB / 0.51 GB, free: 9.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.3404, allocations: 115.1 kB / 0.5101 GB, free: 9.535 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.3404, allocations: 22.88 kB / 0.5101 GB, free: 9.523 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.3404, allocations: 0.875 kB / 0.5101 GB, free: 9.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.3405, allocations: 322.3 kB / 0.5104 GB, free: 9.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/0.3405, allocations: 15.38 kB / 0.5104 GB, free: 9.207 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.474e-05/0.3405, allocations: 56.39 kB / 0.5105 GB, free: 9.152 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.3406, allocations: 24.16 kB / 0.5105 GB, free: 9.148 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3406, allocations: 0 / 0.5105 GB, free: 9.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000227/0.3408, allocations: 128.1 kB / 0.5106 GB, free: 9.078 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3409, allocations: 7.688 kB / 0.5106 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3409, allocations: 4.375 kB / 0.5106 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.3411, allocations: 35.86 kB / 0.5107 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.3411, allocations: 19.33 kB / 0.5107 GB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007517/0.3419, allocations: 1.358 MB / 0.512 GB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.342, allocations: 11.72 kB / 0.512 GB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.342, allocations: 11.78 kB / 0.512 GB, free: 7.734 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.3421, allocations: 112.6 kB / 0.5122 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.3422, allocations: 11.59 kB / 0.5122 GB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.3422, allocations: 15.62 kB / 0.5122 GB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3422, allocations: 0 / 0.5122 GB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.3422, allocations: 0 / 0.5122 GB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3422, allocations: 0 / 0.5122 GB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.3425, allocations: 211.5 kB / 0.5124 GB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3425, allocations: 0 / 0.5124 GB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.3426, allocations: 19.2 kB / 0.5124 GB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3426, allocations: 4.031 kB / 0.5124 GB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3426, allocations: 4 kB / 0.5124 GB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3426, allocations: 3.938 kB / 0.5124 GB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3426, allocations: 0 / 0.5124 GB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.3428, allocations: 382 kB / 0.5128 GB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.3428, allocations: 88.67 kB / 0.5129 GB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3429, allocations: 7.672 kB / 0.5129 GB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.343, allocations: 7.406 kB / 0.5129 GB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.3431, allocations: 7.828 kB / 0.5129 GB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.3431, allocations: 3.953 kB / 0.5129 GB, free: 6.938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.657e-05/0.3432, allocations: 114.1 kB / 0.513 GB, free: 6.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3432, allocations: 8 kB / 0.513 GB, free: 6.852 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003038/0.3435, allocations: 22.62 kB / 0.513 GB, free: 6.852 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (leadLag.firstOrder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 8.62e-05/0.3436, allocations: 98.28 kB / 0.5131 GB, free: 6.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.3439, allocations: 187.6 kB / 0.5133 GB, free: 6.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3439, allocations: 0 / 0.5133 GB, free: 6.633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.3439, allocations: 27.03 kB / 0.5133 GB, free: 6.629 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.3442, allocations: 22.73 kB / 0.5133 GB, free: 6.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.3446, allocations: 166.1 kB / 0.5135 GB, free: 6.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.3447, allocations: 0.7075 MB / 0.5142 GB, free: 5.785 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.645e-05/0.3448, allocations: 12.22 kB / 0.5142 GB, free: 5.777 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.3448, allocations: 15.27 kB / 0.5142 GB, free: 5.766 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3448, allocations: 0 / 0.5142 GB, free: 5.766 MB / 330.7 MB Notification: Performance of Templates: time 0.002963/0.3478, allocations: 1.121 MB / 0.5153 GB, free: 5.223 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1)