Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.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.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004149/0.004149, allocations: 100.6 kB / 15.73 MB, free: 6.02 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.001039/0.001039, allocations: 185.5 kB / 16.67 MB, free: 5.941 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.213/1.213, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07256/0.07256, allocations: 16.78 MB / 307.3 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 63.91 kB / 426.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08306/0.08415, allocations: 53.56 MB / 480.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.004564/0.08875, allocations: 4.546 MB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.09157, allocations: 2.349 MB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.09186, allocations: 11.94 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005721/0.09245, allocations: 238.6 kB / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.09467, allocations: 1.158 MB / 488.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007057/0.09539, allocations: 353.3 kB / 488.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.09647, allocations: 1.039 MB / 489.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.09663, allocations: 69.75 kB / 489.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.09698, allocations: 362.5 kB / 490.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.09737, allocations: 382.2 kB / 490.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.981e-05/0.09745, allocations: 44 kB / 490.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.09792, allocations: 243.8 kB / 490.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.669e-05/0.09803, allocations: 115.3 kB / 491 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.09832, allocations: 350.1 kB / 491.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009238/0.09925, allocations: 0.8678 MB / 492.2 MB, free: 8.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.09926, allocations: 0 / 492.2 MB, free: 8.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.09927, allocations: 4 kB / 492.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.09929, allocations: 0 / 492.2 MB, free: 8.945 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.002864/0.1022, allocations: 1.23 MB / 493.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.1022, allocations: 8.031 kB / 493.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.1025, allocations: 100.4 kB / 493.6 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.1032, allocations: 0.5146 MB / 494.1 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.1033, allocations: 29.38 kB / 494.1 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.1033, allocations: 44.31 kB / 494.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006429/0.104, allocations: 0.5193 MB / 494.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.104, allocations: 7.938 kB / 494.7 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.1041, allocations: 16 kB / 494.7 MB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.1041, allocations: 12 kB / 494.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.1046, allocations: 346.1 kB / 495 MB, free: 5.957 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.002915/0.1075, allocations: 3.409 MB / 498.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.108, allocations: 286.4 kB / 498.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.1082, allocations: 92.78 kB / 498.8 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.1082, allocations: 8 kB / 498.8 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1083, allocations: 38.55 kB / 498.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.332e-06/0.1083, allocations: 4 kB / 498.9 MB, free: 1.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009024/0.1092, allocations: 467.6 kB / 499.3 MB, free: 1.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.1092, allocations: 59.34 kB / 499.4 MB, free: 1.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.1098, allocations: 0.6199 MB / 500 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1099, allocations: 33.7 kB / 0.4883 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.1101, allocations: 324.7 kB / 0.4886 GB, free: 376 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.744e-05/0.1102, allocations: 127 kB / 0.4887 GB, free: 248 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.1104, allocations: 242.8 kB / 0.489 GB, free: 0 / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1106, allocations: 374.8 kB / 0.4893 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.111, allocations: 306.5 kB / 0.4896 GB, free: 15.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.1115, allocations: 414.5 kB / 0.49 GB, free: 14.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.1122, allocations: 0.5571 MB / 0.4906 GB, free: 14.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1123, allocations: 4 kB / 0.4906 GB, free: 14.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00135/0.1136, allocations: 0.9933 MB / 0.4915 GB, free: 13.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1136, allocations: 11.94 kB / 0.4915 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1136, allocations: 3.938 kB / 0.4916 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.1138, allocations: 36.83 kB / 0.4916 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/0.1148, allocations: 263.8 kB / 0.4918 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.1148, allocations: 4 kB / 0.4918 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/0.1154, allocations: 87.45 kB / 0.4919 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/0.1155, allocations: 36 kB / 0.492 GB, free: 12.89 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 (159): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.1157, allocations: 209.5 kB / 0.4922 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.525e-05/0.1158, allocations: 67.56 kB / 0.4922 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005669/0.1164, allocations: 329.2 kB / 0.4925 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1164, allocations: 4 kB / 0.4925 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1164, allocations: 3.984 kB / 0.4925 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1164, allocations: 3.984 kB / 0.4926 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009925/0.1174, allocations: 0.9385 MB / 0.4935 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1174, allocations: 4 kB / 0.4935 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.1176, allocations: 52.08 kB / 0.4935 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001428/0.1178, allocations: 40.77 kB / 0.4936 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1178, allocations: 0 / 0.4936 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.1178, allocations: 11.92 kB / 0.4936 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1178, allocations: 0 / 0.4936 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.1184, allocations: 422.4 kB / 0.494 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.1186, allocations: 192.5 kB / 0.4942 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.1186, allocations: 4 kB / 0.4942 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.1191, allocations: 19.98 kB / 0.4942 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.1191, allocations: 23.97 kB / 0.4942 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1191, allocations: 12 kB / 0.4942 GB, free: 10.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000412/0.1196, allocations: 406.8 kB / 0.4946 GB, free: 10.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1196, allocations: 0 / 0.4946 GB, free: 10.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005325/0.1201, allocations: 227.9 kB / 0.4948 GB, free: 9.816 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001914/0.1203, allocations: 159.1 kB / 0.495 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000877/0.1212, allocations: 0.7005 MB / 0.4957 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1212, allocations: 0 / 0.4957 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.1214, allocations: 197.9 kB / 0.4958 GB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.1219, allocations: 62.11 kB / 0.4959 GB, free: 8.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/0.1229, allocations: 0.8265 MB / 0.4967 GB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1232, allocations: 0.8399 MB / 0.4975 GB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002772/0.1235, allocations: 101.1 kB / 0.4976 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.1236, allocations: 51.36 kB / 0.4977 GB, free: 6.766 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1236, allocations: 0 / 0.4977 GB, free: 6.766 MB / 382.1 MB Notification: Performance of Templates: time 0.1709/0.2945, allocations: 6.938 MB / 0.5045 GB, free: 34.44 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1)