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.009156/0.009156, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001403/0.001403, allocations: 206.2 kB / 16.68 MB, free: 5.973 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2442/0.2442, allocations: 16.78 MB / 307.3 MB, free: 14.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 61.55 kB / 426.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1343, allocations: 53.57 MB / 480.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.005223/0.1396, allocations: 4.558 MB / 484.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.1428, allocations: 2.345 MB / 487 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.1431, allocations: 11.69 kB / 487.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.1437, allocations: 251.3 kB / 487.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.1458, allocations: 1.18 MB / 488.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/0.1465, allocations: 351.5 kB / 488.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.1476, allocations: 1.032 MB / 489.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.1478, allocations: 75.66 kB / 489.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/0.1482, allocations: 372.8 kB / 490.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.1485, allocations: 378.3 kB / 490.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.811e-05/0.1486, allocations: 43.94 kB / 490.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004493/0.149, allocations: 247.8 kB / 491 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.079e-05/0.1491, allocations: 115.4 kB / 491.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.1493, allocations: 342.1 kB / 491.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007972/0.1501, allocations: 0.8716 MB / 492.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1502, allocations: 0 / 492.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1502, allocations: 0 / 492.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1502, allocations: 0 / 492.3 MB, free: 0.6289 MB / 350.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.002909/0.1531, allocations: 1.238 MB / 493.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.1532, allocations: 12.03 kB / 493.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.1535, allocations: 96.48 kB / 493.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008815/0.1544, allocations: 0.5107 MB / 494.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.1544, allocations: 29.38 kB / 494.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.1545, allocations: 44.38 kB / 494.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.1552, allocations: 0.5153 MB / 494.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1552, allocations: 0 / 494.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.1553, allocations: 23.94 kB / 494.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.1553, allocations: 12 kB / 494.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005161/0.1558, allocations: 354.1 kB / 495.1 MB, free: 13.63 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.003469/0.1593, allocations: 3.409 MB / 498.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.1598, allocations: 283.2 kB / 498.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.16, allocations: 104.8 kB / 498.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.16, allocations: 0 / 498.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1601, allocations: 34.56 kB / 498.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.132e-06/0.1601, allocations: 0 / 498.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009857/0.1611, allocations: 483.6 kB / 499.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1611, allocations: 55.41 kB / 499.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.1618, allocations: 0.6121 MB / 0.4883 GB, free: 8.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.1619, allocations: 29.7 kB / 0.4884 GB, free: 8.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.1621, allocations: 332.7 kB / 0.4887 GB, free: 8.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.1622, allocations: 123.1 kB / 0.4888 GB, free: 7.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.1625, allocations: 242.8 kB / 0.489 GB, free: 7.676 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1627, allocations: 386.8 kB / 0.4894 GB, free: 7.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000457/0.1632, allocations: 298.5 kB / 0.4897 GB, free: 6.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.1637, allocations: 410.5 kB / 0.4901 GB, free: 6.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.1645, allocations: 0.5649 MB / 0.4906 GB, free: 6.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1645, allocations: 3.984 kB / 0.4906 GB, free: 6.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001447/0.1659, allocations: 0.9933 MB / 0.4916 GB, free: 5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.166, allocations: 4 kB / 0.4916 GB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.166, allocations: 4 kB / 0.4916 GB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/0.1662, allocations: 44.95 kB / 0.4917 GB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008623/0.1671, allocations: 255.6 kB / 0.4919 GB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.1671, allocations: 11.94 kB / 0.4919 GB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000683/0.1678, allocations: 79.5 kB / 0.492 GB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.1679, allocations: 40 kB / 0.492 GB, free: 4.566 MB / 366.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.0002459/0.1681, allocations: 201.6 kB / 0.4922 GB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1683, allocations: 71.45 kB / 0.4923 GB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000589/0.1689, allocations: 329.3 kB / 0.4926 GB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1689, allocations: 4 kB / 0.4926 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1689, allocations: 0 / 0.4926 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1689, allocations: 0 / 0.4926 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.1701, allocations: 0.9478 MB / 0.4935 GB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1701, allocations: 0 / 0.4935 GB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.1703, allocations: 47.92 kB / 0.4936 GB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001471/0.1705, allocations: 36.83 kB / 0.4936 GB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.1705, allocations: 8 kB / 0.4936 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1705, allocations: 8.031 kB / 0.4936 GB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1705, allocations: 4 kB / 0.4936 GB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.1711, allocations: 414.5 kB / 0.494 GB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.1714, allocations: 192.5 kB / 0.4942 GB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.128e-05/0.1714, allocations: 8 kB / 0.4942 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.1718, allocations: 23.97 kB / 0.4942 GB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.1719, allocations: 19.98 kB / 0.4943 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.1719, allocations: 15.98 kB / 0.4943 GB, free: 2.117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004661/0.1724, allocations: 402.8 kB / 0.4947 GB, free: 1.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1724, allocations: 0 / 0.4947 GB, free: 1.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006486/0.1731, allocations: 235.9 kB / 0.4949 GB, free: 1.492 MB / 366.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.000247/0.1733, allocations: 155.1 kB / 0.495 GB, free: 1.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.1744, allocations: 0.7083 MB / 0.4957 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1744, allocations: 0 / 0.4957 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.1746, allocations: 198 kB / 0.4959 GB, free: 400 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.1751, allocations: 69.66 kB / 0.496 GB, free: 332 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1763, allocations: 0.8144 MB / 0.4968 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.1768, allocations: 0.844 MB / 0.4976 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.1771, allocations: 101.1 kB / 0.4977 GB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1772, allocations: 55.38 kB / 0.4977 GB, free: 14.44 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1772, allocations: 0 / 0.4977 GB, free: 14.44 MB / 382.1 MB Notification: Performance of Templates: time 0.01227/0.1895, allocations: 6.942 MB / 0.5045 GB, free: 7.512 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)