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.003846/0.003846, allocations: 98.64 kB / 15.73 MB, free: 5.605 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.000981/0.000981, allocations: 192.4 kB / 16.67 MB, free: 5.527 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.202/1.202, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0717/0.0717, allocations: 16.77 MB / 307.3 MB, free: 14.38 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 67.89 kB / 426.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0786/0.07964, allocations: 53.55 MB / 480.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.004615/0.08429, allocations: 4.607 MB / 484.7 MB, free: 340 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.08755, allocations: 2.501 MB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.08778, allocations: 15.94 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.08831, allocations: 254.5 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.09037, allocations: 1.157 MB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/0.09119, allocations: 477.8 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009681/0.09217, allocations: 1.05 MB / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.09232, allocations: 73.75 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.09265, allocations: 370.4 kB / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.09305, allocations: 378.3 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.952e-05/0.09313, allocations: 44 kB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004836/0.09362, allocations: 299.7 kB / 491.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-05/0.09372, allocations: 115.4 kB / 491.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.09402, allocations: 346.1 kB / 491.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008917/0.09492, allocations: 0.9184 MB / 492.7 MB, free: 8.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.09493, allocations: 0 / 492.7 MB, free: 8.355 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09494, allocations: 4 kB / 492.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.09495, allocations: 0 / 492.7 MB, free: 8.352 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.003034/0.09799, allocations: 1.273 MB / 494 MB, free: 7.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.09803, allocations: 12.03 kB / 494 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.09835, allocations: 100.4 kB / 494.1 MB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007413/0.0991, allocations: 0.5146 MB / 494.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.09914, allocations: 29.38 kB / 494.6 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.0992, allocations: 44.38 kB / 494.7 MB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006298/0.09983, allocations: 0.527 MB / 495.2 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.09985, allocations: 0 / 495.2 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.09989, allocations: 20 kB / 495.2 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.09992, allocations: 12 kB / 495.2 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.1004, allocations: 374.1 kB / 495.6 MB, free: 5.285 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.003041/0.1035, allocations: 3.429 MB / 499 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/0.1041, allocations: 300.8 kB / 499.3 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.1042, allocations: 109.4 kB / 499.4 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.1043, allocations: 4.281 kB / 499.4 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.1043, allocations: 38.84 kB / 499.4 MB, free: 1.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.382e-06/0.1043, allocations: 0 / 499.4 MB, free: 1.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.000885/0.1052, allocations: 0.5012 MB / 499.9 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1052, allocations: 55.34 kB / 0.4883 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.1059, allocations: 0.6003 MB / 0.4889 GB, free: 15.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.1059, allocations: 29.7 kB / 0.4889 GB, free: 15.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.1061, allocations: 320.8 kB / 0.4892 GB, free: 15.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.1063, allocations: 154.8 kB / 0.4894 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.1066, allocations: 246.8 kB / 0.4896 GB, free: 15.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1067, allocations: 382.8 kB / 0.49 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.1072, allocations: 318.5 kB / 0.4903 GB, free: 14.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.1077, allocations: 430.5 kB / 0.4907 GB, free: 14.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.1085, allocations: 0.6078 MB / 0.4913 GB, free: 13.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1085, allocations: 0 / 0.4913 GB, free: 13.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001428/0.1099, allocations: 1.028 MB / 0.4923 GB, free: 12.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1099, allocations: 12.12 kB / 0.4923 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1099, allocations: 0 / 0.4923 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.1101, allocations: 40.77 kB / 0.4923 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/0.111, allocations: 263.6 kB / 0.4926 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.112, allocations: 1.426 MB / 0.494 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/0.1127, allocations: 87.48 kB / 0.494 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.1128, allocations: 44.11 kB / 0.4941 GB, free: 10.44 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.0002205/0.113, allocations: 209.5 kB / 0.4943 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/0.1131, allocations: 59.62 kB / 0.4943 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005668/0.1137, allocations: 345 kB / 0.4947 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1137, allocations: 4 kB / 0.4947 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1137, allocations: 3.984 kB / 0.4947 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1137, allocations: 3.938 kB / 0.4947 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.1148, allocations: 0.9854 MB / 0.4956 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1148, allocations: 4 kB / 0.4956 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.115, allocations: 59.89 kB / 0.4957 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.1151, allocations: 28.84 kB / 0.4957 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.1152, allocations: 4 kB / 0.4957 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009001/0.1161, allocations: 1.43 MB / 0.4971 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1161, allocations: 11.97 kB / 0.4971 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.1166, allocations: 435.3 kB / 0.4976 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.1168, allocations: 192.5 kB / 0.4977 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.1169, allocations: 16 kB / 0.4978 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.1173, allocations: 19.98 kB / 0.4978 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.1173, allocations: 19.97 kB / 0.4978 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.1174, allocations: 16 kB / 0.4978 GB, free: 6.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004259/0.1178, allocations: 390.8 kB / 0.4982 GB, free: 5.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.1178, allocations: 0 / 0.4982 GB, free: 5.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005878/0.1184, allocations: 251.8 kB / 0.4984 GB, free: 5.711 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.000204/0.1186, allocations: 151.4 kB / 0.4986 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1197, allocations: 0.7793 MB / 0.4993 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1197, allocations: 4.25 kB / 0.4993 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.12, allocations: 250.5 kB / 0.4996 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.1205, allocations: 62.28 kB / 0.4996 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1216, allocations: 0.8607 MB / 0.5005 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.122, allocations: 0.8445 MB / 0.5013 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003008/0.1223, allocations: 101.2 kB / 0.5014 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.1224, allocations: 47.42 kB / 0.5014 GB, free: 2.523 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1224, allocations: 0 / 0.5014 GB, free: 2.523 MB / 382.1 MB Notification: Performance of Templates: time 0.1706/0.2931, allocations: 7.381 MB / 0.5086 GB, free: 33.32 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)