Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.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.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 96.27 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 179.8 kB / 16.58 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.062/0.062, allocations: 14.15 MB / 285.2 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.0005333/0.0005334, allocations: 19.94 kB / 348.8 MB, free: 17.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 51.12 MB / 399.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002371/0.124, allocations: 1.492 MB / 401.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004289/0.1245, allocations: 155.5 kB / 401.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1247, allocations: 3.938 kB / 401.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.1247, allocations: 11.92 kB / 401.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.125, allocations: 31.89 kB / 401.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.1251, allocations: 39.95 kB / 401.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.1254, allocations: 79.78 kB / 401.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.1255, allocations: 41.39 kB / 401.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.931e-05/0.1256, allocations: 35.84 kB / 401.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1257, allocations: 35.78 kB / 401.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1258, allocations: 3.938 kB / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.805e-05/0.1258, allocations: 4 kB / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.1258, allocations: 19.86 kB / 401.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.1259, allocations: 45.64 kB / 401.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.126, allocations: 67.86 kB / 401.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.126, allocations: 0 / 401.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.126, allocations: 0 / 401.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.126, allocations: 3.938 kB / 401.9 MB, free: 12.66 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005877/0.1266, allocations: 399.1 kB / 402.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1267, allocations: 12.02 kB / 402.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.1267, allocations: 19.81 kB / 402.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.127, allocations: 210.8 kB / 402.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.1271, allocations: 8.141 kB / 402.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.1271, allocations: 12 kB / 402.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.1274, allocations: 131.2 kB / 402.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1274, allocations: 4 kB / 402.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.1275, allocations: 8 kB / 402.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1275, allocations: 0 / 402.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.1277, allocations: 71.89 kB / 402.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008108/0.1285, allocations: 0.5952 MB / 403.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1288, allocations: 111.9 kB / 403.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1289, allocations: 4.109 kB / 403.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1289, allocations: 42.5 kB / 403.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.1289, allocations: 0 / 403.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004132/0.1293, allocations: 129.6 kB / 403.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.1294, allocations: 106.8 kB / 403.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1295, allocations: 150.3 kB / 403.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1296, allocations: 25.7 kB / 404 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.1297, allocations: 124 kB / 404.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.1297, allocations: 27.64 kB / 404.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.1297, allocations: 0 / 404.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1299, allocations: 314.8 kB / 404.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.13, allocations: 31.97 kB / 404.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1301, allocations: 77.88 kB / 404.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.762e-05/0.1302, allocations: 27.98 kB / 404.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1302, allocations: 4 kB / 404.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002515/0.1305, allocations: 125.5 kB / 404.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1305, allocations: 4 kB / 404.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1305, allocations: 4 kB / 404.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1305, allocations: 3.953 kB / 404.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1307, allocations: 27.92 kB / 404.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1307, allocations: 8.156 kB / 404.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.1308, allocations: 15.83 kB / 404.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1308, allocations: 4 kB / 404.7 MB, free: 9.562 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001104/0.1309, allocations: 121.8 kB / 404.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.131, allocations: 7.906 kB / 404.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.131, allocations: 20.3 kB / 404.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.131, allocations: 3.953 kB / 404.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.131, allocations: 4 kB / 404.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1311, allocations: 7.938 kB / 404.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.1313, allocations: 205.6 kB / 405.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1313, allocations: 0 / 405.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.1314, allocations: 19.92 kB / 405.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1314, allocations: 0 / 405.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1315, allocations: 4 kB / 405.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1315, allocations: 0 / 405.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1315, allocations: 3.953 kB / 405.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.1329, allocations: 1.247 MB / 406.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.133, allocations: 93 kB / 406.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.133, allocations: 4.188 kB / 406.5 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.1331, allocations: 8 kB / 406.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.1332, allocations: 3.984 kB / 406.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.1332, allocations: 8 kB / 406.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.966e-05/0.1333, allocations: 111.2 kB / 406.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1333, allocations: 0 / 406.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000354/0.1336, allocations: 23.91 kB / 406.6 MB, free: 7.445 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.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.79e-05/0.1338, allocations: 99.12 kB / 406.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.134, allocations: 75.84 kB / 406.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.134, allocations: 0 / 406.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/0.1341, allocations: 35.91 kB / 406.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1344, allocations: 32.41 kB / 406.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.135, allocations: 398.3 kB / 407.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1353, allocations: 0.7128 MB / 408 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.833e-05/0.1354, allocations: 8.562 kB / 408 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.1355, allocations: 15.44 kB / 408 MB, free: 6 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1355, allocations: 0 / 408 MB, free: 6 MB / 302.1 MB Notification: Performance of Templates: time 0.003279/0.1388, allocations: 0.888 MB / 408.9 MB, free: 5.117 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) Environment - environmentSimulation: