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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06237/0.06237, allocations: 14.15 MB / 284.5 MB, free: 7.152 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005448/0.0005449, allocations: 19.94 kB / 348.1 MB, free: 17.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09322, allocations: 51.12 MB / 399.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.001955/0.09521, allocations: 1.472 MB / 400.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000349/0.09558, allocations: 143.6 kB / 400.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.09573, allocations: 0 / 400.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.09577, allocations: 11.86 kB / 400.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.09598, allocations: 43.86 kB / 400.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.083e-05/0.09608, allocations: 27.97 kB / 400.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.09626, allocations: 79.84 kB / 401 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.0964, allocations: 37.45 kB / 401.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.239e-05/0.09647, allocations: 39.78 kB / 401.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.09658, allocations: 43.77 kB / 401.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.0966, allocations: 0 / 401.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.09663, allocations: 8 kB / 401.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.09666, allocations: 11.92 kB / 401.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.0967, allocations: 41.64 kB / 401.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.675e-05/0.0968, allocations: 71.86 kB / 401.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.09681, allocations: 0 / 401.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.09682, allocations: 0 / 401.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.09683, allocations: 3.938 kB / 401.3 MB, free: 12.71 MB / 302.1 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.0005371/0.09737, allocations: 411 kB / 401.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.09741, allocations: 12.02 kB / 401.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.09747, allocations: 15.81 kB / 401.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.09773, allocations: 215.3 kB / 401.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.09775, allocations: 7.984 kB / 401.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.09779, allocations: 15.95 kB / 401.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.09806, allocations: 120.2 kB / 402.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.09808, allocations: 0 / 402.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.0981, allocations: 4 kB / 402.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.09811, allocations: 0 / 402.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.09831, allocations: 63.91 kB / 402.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.09896, allocations: 445.3 kB / 402.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.09934, allocations: 127.8 kB / 402.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.09937, allocations: 4.125 kB / 402.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.0994, allocations: 38.56 kB / 402.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.09941, allocations: 0 / 402.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004035/0.09982, allocations: 133.5 kB / 402.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.09988, allocations: 102.8 kB / 403 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1, allocations: 147 kB / 403.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1, allocations: 29.7 kB / 403.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.1001, allocations: 124.1 kB / 403.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.1002, allocations: 19.64 kB / 403.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.1002, allocations: 8 kB / 403.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1003, allocations: 318.8 kB / 403.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.1004, allocations: 27.92 kB / 403.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1005, allocations: 65.12 kB / 403.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.1006, allocations: 40.3 kB / 403.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1006, allocations: 0 / 403.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003587/0.101, allocations: 142.3 kB / 403.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.101, allocations: 7.984 kB / 403.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.101, allocations: 4 kB / 403.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.1012, allocations: 36.83 kB / 403.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1014, allocations: 20.08 kB / 403.9 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.1025, allocations: 1.355 MB / 405.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.1026, allocations: 27.95 kB / 405.3 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1026, allocations: 0 / 405.3 MB, free: 8.254 MB / 302.1 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.0001053/0.1027, allocations: 129.7 kB / 405.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.1028, allocations: 11.81 kB / 405.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.1028, allocations: 16.3 kB / 405.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1028, allocations: 0 / 405.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1028, allocations: 0 / 405.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1028, allocations: 4 kB / 405.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.103, allocations: 213.8 kB / 405.7 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.103, allocations: 0 / 405.7 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.1032, allocations: 19.92 kB / 405.7 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1032, allocations: 0 / 405.7 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1032, allocations: 8 kB / 405.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1032, allocations: 0 / 405.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1032, allocations: 0 / 405.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.1036, allocations: 264.4 kB / 406 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.1037, allocations: 89.05 kB / 406 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1037, allocations: 4.125 kB / 406.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1038, allocations: 11.98 kB / 406.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.1039, allocations: 8.266 kB / 406.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1039, allocations: 8 kB / 406.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.066e-05/0.104, allocations: 120.5 kB / 406.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.104, allocations: 0 / 406.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1043, allocations: 23.84 kB / 406.2 MB, free: 7.227 MB / 302.1 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 9.009e-05/0.1044, allocations: 107.2 kB / 406.3 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.1048, allocations: 194.7 kB / 406.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1049, allocations: 0 / 406.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.105, allocations: 36.23 kB / 406.5 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1052, allocations: 23.98 kB / 406.6 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.1058, allocations: 287.6 kB / 406.9 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1061, allocations: 0.7128 MB / 407.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.392e-05/0.1062, allocations: 12.55 kB / 407.6 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.1062, allocations: 11.44 kB / 407.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1062, allocations: 0 / 407.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of Templates: time 0.003784/0.11, allocations: 1.115 MB / 408.7 MB, free: 4.664 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: