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.006041/0.006041, allocations: 97.27 kB / 15.73 MB, free: 5.602 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.001446/0.001446, allocations: 193.4 kB / 16.68 MB, free: 5.523 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08641/0.08641, allocations: 16.68 MB / 307.2 MB, free: 14.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.89 kB / 426.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1146, allocations: 53.55 MB / 480 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.005637/0.1202, allocations: 4.596 MB / 484.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.1238, allocations: 2.501 MB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.124, allocations: 7.938 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.1246, allocations: 258.4 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.127, allocations: 1.169 MB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009332/0.1279, allocations: 475.8 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.1292, allocations: 1.043 MB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1293, allocations: 73.73 kB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.1297, allocations: 366.4 kB / 490.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/0.1302, allocations: 386.3 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.913e-05/0.1303, allocations: 47.94 kB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005602/0.1309, allocations: 303.7 kB / 491.2 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.131, allocations: 111.4 kB / 491.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.1313, allocations: 346.1 kB / 491.6 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.1324, allocations: 0.9145 MB / 492.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1324, allocations: 0 / 492.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1324, allocations: 0 / 492.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1325, allocations: 0 / 492.6 MB, free: 8.473 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.003358/0.1358, allocations: 1.273 MB / 493.8 MB, free: 7.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1359, allocations: 12.03 kB / 493.8 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/0.1362, allocations: 100.4 kB / 493.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000829/0.1371, allocations: 0.5224 MB / 494.5 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.1371, allocations: 33.31 kB / 494.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.1372, allocations: 44.38 kB / 494.5 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007298/0.1379, allocations: 0.5172 MB / 495.1 MB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1379, allocations: 3.938 kB / 495.1 MB, free: 5.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.138, allocations: 24 kB / 495.1 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.138, allocations: 12 kB / 495.1 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/0.1386, allocations: 382.1 kB / 495.5 MB, free: 5.391 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.003577/0.1422, allocations: 3.421 MB / 498.9 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/0.1428, allocations: 292.9 kB / 499.2 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.143, allocations: 109.4 kB / 499.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.143, allocations: 4.281 kB / 499.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1431, allocations: 38.84 kB / 499.3 MB, free: 1.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.1431, allocations: 0 / 499.3 MB, free: 1.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009956/0.1441, allocations: 0.5051 MB / 499.8 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.1441, allocations: 59.33 kB / 499.9 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000684/0.1448, allocations: 0.5963 MB / 0.4888 GB, free: 104 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.1449, allocations: 33.7 kB / 0.4888 GB, free: 64 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.1451, allocations: 320.8 kB / 0.4891 GB, free: 15.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.1453, allocations: 146.9 kB / 0.4892 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/0.1456, allocations: 250.8 kB / 0.4895 GB, free: 15.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1458, allocations: 378.8 kB / 0.4898 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.1463, allocations: 322.5 kB / 0.4901 GB, free: 14.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.1469, allocations: 438.5 kB / 0.4906 GB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008889/0.1478, allocations: 0.6039 MB / 0.4911 GB, free: 13.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1478, allocations: 0 / 0.4911 GB, free: 13.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001579/0.1494, allocations: 1.029 MB / 0.4922 GB, free: 12.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1495, allocations: 8 kB / 0.4922 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1495, allocations: 0 / 0.4922 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.1497, allocations: 40.72 kB / 0.4922 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009628/0.1506, allocations: 259.8 kB / 0.4924 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.1519, allocations: 1.438 MB / 0.4938 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/0.1526, allocations: 83.5 kB / 0.4939 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.1527, allocations: 43.98 kB / 0.494 GB, free: 10.55 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.0002558/0.153, allocations: 205.5 kB / 0.4942 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.1531, allocations: 59.62 kB / 0.4942 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006405/0.1537, allocations: 357 kB / 0.4946 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1537, allocations: 4 kB / 0.4946 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.1538, allocations: 0 / 0.4946 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1538, allocations: 3.938 kB / 0.4946 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.155, allocations: 0.9854 MB / 0.4955 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1551, allocations: 0 / 0.4955 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.1553, allocations: 56 kB / 0.4956 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.1554, allocations: 32.84 kB / 0.4956 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1554, allocations: 4 kB / 0.4956 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.1567, allocations: 1.426 MB / 0.497 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1567, allocations: 7.969 kB / 0.497 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006317/0.1573, allocations: 439.4 kB / 0.4974 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.1576, allocations: 192.5 kB / 0.4976 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/0.1577, allocations: 11.94 kB / 0.4976 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.1581, allocations: 19.98 kB / 0.4977 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.1581, allocations: 19.97 kB / 0.4977 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.1582, allocations: 15.98 kB / 0.4977 GB, free: 6.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005007/0.1587, allocations: 390.8 kB / 0.4981 GB, free: 6.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1587, allocations: 3.938 kB / 0.4981 GB, free: 6.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007007/0.1594, allocations: 251.9 kB / 0.4983 GB, free: 5.828 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.0002982/0.1597, allocations: 147.4 kB / 0.4984 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.161, allocations: 0.7832 MB / 0.4992 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.161, allocations: 0 / 0.4992 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.1614, allocations: 250.5 kB / 0.4995 GB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.162, allocations: 72.91 kB / 0.4995 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1635, allocations: 0.8574 MB / 0.5004 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.164, allocations: 0.8484 MB / 0.5012 GB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003249/0.1644, allocations: 97.17 kB / 0.5013 GB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.1645, allocations: 43.44 kB / 0.5013 GB, free: 2.648 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1645, allocations: 0 / 0.5013 GB, free: 2.648 MB / 382.1 MB Notification: Performance of Templates: time 0.2353/0.3998, allocations: 7.391 MB / 0.5085 GB, free: 33.51 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1)