Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006775/0.006775, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001246/0.001246, allocations: 198.6 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0715/0.0715, allocations: 16.78 MB / 307.3 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 67.89 kB / 426.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1064, allocations: 53.55 MB / 480.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.004945/0.1114, allocations: 4.6 MB / 484.7 MB, free: 356 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.1145, allocations: 2.501 MB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.1148, allocations: 15.88 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.1153, allocations: 258.5 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.1174, allocations: 1.196 MB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008037/0.1182, allocations: 480.1 kB / 489.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009875/0.1192, allocations: 1.05 MB / 490.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1194, allocations: 65.75 kB / 490.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.1197, allocations: 378.4 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/0.1201, allocations: 382.3 kB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.265e-05/0.1202, allocations: 44 kB / 491.1 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004799/0.1207, allocations: 291.7 kB / 491.3 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.1208, allocations: 115.4 kB / 491.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.1211, allocations: 350.1 kB / 491.8 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009252/0.122, allocations: 0.9222 MB / 492.7 MB, free: 8.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.122, allocations: 0 / 492.7 MB, free: 8.324 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.122, allocations: 4 kB / 492.7 MB, free: 8.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.122, allocations: 0 / 492.7 MB, free: 8.32 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003132/0.1252, allocations: 1.266 MB / 494 MB, free: 7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1252, allocations: 12.03 kB / 494 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.1256, allocations: 100.4 kB / 494.1 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000747/0.1263, allocations: 0.5224 MB / 494.6 MB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1264, allocations: 33.38 kB / 494.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.1264, allocations: 40.38 kB / 494.7 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/0.1271, allocations: 0.5209 MB / 495.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1271, allocations: 3.938 kB / 495.2 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.1271, allocations: 20 kB / 495.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.1271, allocations: 15.98 kB / 495.3 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.1277, allocations: 370.1 kB / 495.6 MB, free: 5.258 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003193/0.1309, allocations: 3.433 MB / 499.1 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.1314, allocations: 296.9 kB / 499.3 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.1316, allocations: 109.3 kB / 499.4 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.1317, allocations: 8.266 kB / 499.5 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1317, allocations: 42.84 kB / 499.5 MB, free: 1.156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.1317, allocations: 0 / 499.5 MB, free: 1.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.000901/0.1326, allocations: 0.4934 MB / 500 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.1326, allocations: 59.34 kB / 0.4883 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.1333, allocations: 0.5963 MB / 0.4889 GB, free: 15.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.1333, allocations: 33.7 kB / 0.4889 GB, free: 15.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.1335, allocations: 324.8 kB / 0.4893 GB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.1336, allocations: 146.9 kB / 0.4894 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.1339, allocations: 242.8 kB / 0.4896 GB, free: 15.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.134, allocations: 386.7 kB / 0.49 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.1345, allocations: 322.5 kB / 0.4903 GB, free: 14.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.135, allocations: 430.5 kB / 0.4907 GB, free: 14.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007548/0.1358, allocations: 0.6116 MB / 0.4913 GB, free: 13.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1358, allocations: 0 / 0.4913 GB, free: 13.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001399/0.1372, allocations: 1.033 MB / 0.4923 GB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1372, allocations: 4 kB / 0.4923 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1372, allocations: 4 kB / 0.4923 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.1374, allocations: 32.78 kB / 0.4924 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/0.1383, allocations: 263.6 kB / 0.4926 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.1394, allocations: 1.434 MB / 0.494 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000724/0.1401, allocations: 87.48 kB / 0.4941 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.1402, allocations: 48.14 kB / 0.4941 GB, free: 10.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (load.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.1405, allocations: 205.5 kB / 0.4943 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.1406, allocations: 59.62 kB / 0.4944 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000595/0.1412, allocations: 348.9 kB / 0.4947 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1412, allocations: 4 kB / 0.4947 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1412, allocations: 0 / 0.4947 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.1412, allocations: 3.938 kB / 0.4947 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.1423, allocations: 0.9855 MB / 0.4957 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1423, allocations: 7.984 kB / 0.4957 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.1425, allocations: 47.92 kB / 0.4957 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.1426, allocations: 32.84 kB / 0.4958 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.1426, allocations: 4 kB / 0.4958 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009796/0.1436, allocations: 1.426 MB / 0.4972 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.1437, allocations: 7.969 kB / 0.4972 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.1442, allocations: 439.3 kB / 0.4976 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.1445, allocations: 192.6 kB / 0.4978 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.064e-05/0.1446, allocations: 16 kB / 0.4978 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.145, allocations: 19.98 kB / 0.4978 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.145, allocations: 19.91 kB / 0.4978 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.1451, allocations: 27.92 kB / 0.4979 GB, free: 6.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000424/0.1455, allocations: 386.8 kB / 0.4982 GB, free: 5.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1455, allocations: 0 / 0.4982 GB, free: 5.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006667/0.1462, allocations: 247.9 kB / 0.4985 GB, free: 5.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002415/0.1464, allocations: 155.3 kB / 0.4986 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.1476, allocations: 0.7834 MB / 0.4994 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.1476, allocations: 4.062 kB / 0.4994 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.1479, allocations: 242.5 kB / 0.4996 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.1484, allocations: 66.27 kB / 0.4997 GB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.1497, allocations: 0.8573 MB / 0.5005 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1501, allocations: 0.8483 MB / 0.5013 GB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002813/0.1504, allocations: 97.17 kB / 0.5014 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.1505, allocations: 51.44 kB / 0.5015 GB, free: 2.488 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1505, allocations: 0 / 0.5015 GB, free: 2.488 MB / 382.1 MB Notification: Performance of Templates: time 0.2271/0.3776, allocations: 7.369 MB / 0.5087 GB, free: 33.36 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1)