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.006125/0.006125, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.443/1.443, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0008687/0.0008688, allocations: 102.8 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05295/0.05295, allocations: 14.17 MB / 332 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003445, allocations: 7.531 kB / 395.6 MB, free: 50.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 51.12 MB / 446.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.2171, allocations: 77.78 MB / 0.5122 GB, free: 7.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.2173, allocations: 67.97 kB / 0.5123 GB, free: 6.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006459/0.2238, allocations: 2.265 MB / 0.5145 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2238, allocations: 4 kB / 0.5145 GB, free: 4.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.2239, allocations: 4 kB / 0.5145 GB, free: 4.656 MB / 362.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.0005188/0.2244, allocations: 406.9 kB / 0.5149 GB, free: 4.211 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2244, allocations: 12.02 kB / 0.5149 GB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.2245, allocations: 15.81 kB / 0.5149 GB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.2249, allocations: 235.4 kB / 0.5151 GB, free: 3.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.2249, allocations: 11.95 kB / 0.5152 GB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.2249, allocations: 8 kB / 0.5152 GB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.2252, allocations: 112.2 kB / 0.5153 GB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2252, allocations: 7.938 kB / 0.5153 GB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2252, allocations: 8 kB / 0.5153 GB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2252, allocations: 4 kB / 0.5153 GB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.2254, allocations: 63.95 kB / 0.5153 GB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/0.2262, allocations: 0.6012 MB / 0.5159 GB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.2266, allocations: 133.8 kB / 0.5161 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.2266, allocations: 0 / 0.5161 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.2266, allocations: 30.56 kB / 0.5161 GB, free: 2.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.2267, allocations: 0 / 0.5161 GB, free: 2.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004272/0.2271, allocations: 133.8 kB / 0.5162 GB, free: 2.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.2272, allocations: 110.8 kB / 0.5163 GB, free: 2.555 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.2273, allocations: 134.1 kB / 0.5165 GB, free: 2.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.2273, allocations: 29.7 kB / 0.5165 GB, free: 2.375 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.2274, allocations: 112.1 kB / 0.5166 GB, free: 2.262 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.2274, allocations: 28.09 kB / 0.5166 GB, free: 2.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2275, allocations: 0 / 0.5166 GB, free: 2.234 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2276, allocations: 322.8 kB / 0.5169 GB, free: 1.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.74e-05/0.2277, allocations: 23.98 kB / 0.5169 GB, free: 1.887 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.2278, allocations: 77 kB / 0.517 GB, free: 1.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.228, allocations: 31.92 kB / 0.5171 GB, free: 1.762 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.228, allocations: 0 / 0.5171 GB, free: 1.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003879/0.2284, allocations: 146.4 kB / 0.5172 GB, free: 1.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.2284, allocations: 4 kB / 0.5172 GB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2284, allocations: 0 / 0.5172 GB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002401/0.2287, allocations: 32.83 kB / 0.5172 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.2288, allocations: 19.92 kB / 0.5172 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.23, allocations: 1.363 MB / 0.5186 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.571e-05/0.2301, allocations: 19.94 kB / 0.5186 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.2302, allocations: 4 kB / 0.5186 GB, free: 36 kB / 362.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 () * Number of clocked 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 0.2119/0.4421, allocations: 117.6 kB / 0.5187 GB, free: 82.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4422, allocations: 9.062 kB / 0.5187 GB, free: 82.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.4423, allocations: 18.3 kB / 0.5187 GB, free: 82.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4423, allocations: 1.5 kB / 0.5187 GB, free: 82.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4423, allocations: 0 / 0.5187 GB, free: 82.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4423, allocations: 4.938 kB / 0.5187 GB, free: 82.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.4427, allocations: 207.6 kB / 0.5189 GB, free: 82.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4427, allocations: 5.719 kB / 0.5189 GB, free: 82.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.4429, allocations: 12.47 kB / 0.519 GB, free: 82.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.4429, allocations: 5.062 kB / 0.519 GB, free: 82.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.4429, allocations: 8.078 kB / 0.519 GB, free: 82.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.4429, allocations: 1.812 kB / 0.519 GB, free: 82.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.4429, allocations: 5.406 kB / 0.519 GB, free: 82.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.4433, allocations: 400.2 kB / 0.5194 GB, free: 82.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.4434, allocations: 87.08 kB / 0.5194 GB, free: 82.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.4434, allocations: 8.219 kB / 0.5195 GB, free: 82.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.4436, allocations: 8.281 kB / 0.5195 GB, free: 82.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.4437, allocations: 10.41 kB / 0.5195 GB, free: 82.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.4437, allocations: 3.969 kB / 0.5195 GB, free: 82.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.235e-05/0.4438, allocations: 115.4 kB / 0.5196 GB, free: 82.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4438, allocations: 0.5312 kB / 0.5196 GB, free: 82.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.4441, allocations: 31.33 kB / 0.5196 GB, free: 82.02 MB / 362.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 () * Number of clocked 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 0.0001114/0.4442, allocations: 103.3 kB / 0.5197 GB, free: 81.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004948/0.4447, allocations: 202.1 kB / 0.5199 GB, free: 81.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4448, allocations: 4.219 kB / 0.5199 GB, free: 81.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.778e-05/0.4449, allocations: 33.94 kB / 0.5199 GB, free: 81.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.4452, allocations: 27.09 kB / 0.52 GB, free: 81.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.4457, allocations: 287.1 kB / 0.5202 GB, free: 81.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.4459, allocations: 0.7089 MB / 0.5209 GB, free: 80.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.842e-05/0.446, allocations: 10.78 kB / 0.5209 GB, free: 80.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.446, allocations: 16.72 kB / 0.521 GB, free: 80.92 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.446, allocations: 3.562 kB / 0.521 GB, free: 80.92 MB / 362.7 MB Notification: Performance of Templates: time 0.003814/0.4498, allocations: 1.116 MB / 0.5221 GB, free: 80.87 MB / 362.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)