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.001252/0.001252, allocations: 107.7 kB / 16.41 MB, free: 6.441 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.001325/0.001325, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0744/0.0744, allocations: 16.78 MB / 308 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 60.09 kB / 427.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1152, allocations: 53.57 MB / 480.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.006493/0.1217, allocations: 4.585 MB / 485.4 MB, free: 364 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.1259, allocations: 2.512 MB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005705/0.1265, allocations: 11.94 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008386/0.1274, allocations: 254.5 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.1305, allocations: 1.2 MB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.1316, allocations: 480.9 kB / 489.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.1334, allocations: 1.042 MB / 490.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.1337, allocations: 73.73 kB / 491 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007459/0.1345, allocations: 374.4 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007482/0.1352, allocations: 382.3 kB / 491.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.1354, allocations: 40 kB / 491.7 MB, free: 10 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008697/0.1363, allocations: 307.7 kB / 492 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.1364, allocations: 119.4 kB / 492.2 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005362/0.137, allocations: 342.1 kB / 492.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.1385, allocations: 0.9073 MB / 493.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1385, allocations: 0 / 493.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1385, allocations: 0 / 493.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.317e-05/0.1385, allocations: 3.984 kB / 493.4 MB, free: 8.332 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.004284/0.1428, allocations: 1.255 MB / 494.7 MB, free: 7.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.1429, allocations: 11.97 kB / 494.7 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004805/0.1434, allocations: 96.06 kB / 494.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.1445, allocations: 0.5103 MB / 495.3 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.1446, allocations: 29.38 kB / 495.3 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.1446, allocations: 44.38 kB / 495.3 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007899/0.1454, allocations: 0.527 MB / 495.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1455, allocations: 4 kB / 495.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.1455, allocations: 16 kB / 495.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1455, allocations: 12 kB / 495.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.1462, allocations: 382.1 kB / 496.3 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.003792/0.15, allocations: 3.417 MB / 499.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/0.1506, allocations: 304.8 kB / 500 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.1508, allocations: 109.4 kB / 0.4884 GB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.1508, allocations: 8.266 kB / 0.4884 GB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1509, allocations: 42.84 kB / 0.4884 GB, free: 1.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.684e-06/0.1509, allocations: 0 / 0.4884 GB, free: 1.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.000985/0.1519, allocations: 0.497 MB / 0.4889 GB, free: 0.668 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1519, allocations: 59.34 kB / 0.489 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/0.1526, allocations: 0.5963 MB / 0.4895 GB, free: 15.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.1527, allocations: 29.7 kB / 0.4896 GB, free: 15.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.1529, allocations: 316 kB / 0.4899 GB, free: 15.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.153, allocations: 134.3 kB / 0.49 GB, free: 15.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.1533, allocations: 254.5 kB / 0.4902 GB, free: 15.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1535, allocations: 382.8 kB / 0.4906 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.154, allocations: 322.5 kB / 0.4909 GB, free: 14.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.1546, allocations: 434.5 kB / 0.4913 GB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008041/0.1554, allocations: 0.6039 MB / 0.4919 GB, free: 13.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1554, allocations: 4 kB / 0.4919 GB, free: 13.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001464/0.1569, allocations: 1.016 MB / 0.4929 GB, free: 12.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1569, allocations: 8 kB / 0.4929 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1569, allocations: 0 / 0.4929 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/0.1572, allocations: 44.77 kB / 0.493 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/0.1582, allocations: 259.8 kB / 0.4932 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.1593, allocations: 1.437 MB / 0.4946 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007599/0.1601, allocations: 79.27 kB / 0.4947 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.1602, allocations: 40 kB / 0.4947 GB, free: 10.47 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.0002776/0.1605, allocations: 205.5 kB / 0.4949 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1606, allocations: 63.25 kB / 0.495 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006084/0.1612, allocations: 349 kB / 0.4953 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1612, allocations: 4 kB / 0.4953 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1612, allocations: 0 / 0.4953 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.1612, allocations: 7.922 kB / 0.4953 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.1624, allocations: 0.9815 MB / 0.4963 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1625, allocations: 0 / 0.4963 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.1627, allocations: 56.02 kB / 0.4963 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.1628, allocations: 32.83 kB / 0.4964 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1628, allocations: 4 kB / 0.4964 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.1639, allocations: 1.434 MB / 0.4978 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1639, allocations: 3.938 kB / 0.4978 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.1645, allocations: 439.1 kB / 0.4982 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.1647, allocations: 184.2 kB / 0.4984 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.1648, allocations: 15.92 kB / 0.4984 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.1652, allocations: 19.98 kB / 0.4984 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.1653, allocations: 23.97 kB / 0.4984 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.1653, allocations: 12 kB / 0.4984 GB, free: 6.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004761/0.1658, allocations: 394.8 kB / 0.4988 GB, free: 5.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1658, allocations: 0 / 0.4988 GB, free: 5.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006815/0.1665, allocations: 247.8 kB / 0.4991 GB, free: 5.75 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.000273/0.1668, allocations: 155.4 kB / 0.4992 GB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.1679, allocations: 0.7793 MB / 0.5 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.168, allocations: 0 / 0.5 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.1683, allocations: 246.5 kB / 0.5002 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.1688, allocations: 70.14 kB / 0.5003 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1702, allocations: 0.876 MB / 0.5011 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.1707, allocations: 0.8445 MB / 0.502 GB, free: 2.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.1708, allocations: 51.42 kB / 0.502 GB, free: 2.633 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1708, allocations: 0 / 0.502 GB, free: 2.633 MB / 382.1 MB Notification: Performance of Templates: time 0.2562/0.427, allocations: 10.33 MB / 0.5121 GB, free: 32.27 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)