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.001507/0.001507, allocations: 102 kB / 16.27 MB, free: 5.902 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.001658/0.001658, allocations: 188.7 kB / 17.2 MB, free: 5.535 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.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07637/0.07637, allocations: 16.77 MB / 307.8 MB, free: 14.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 64.14 kB / 372.4 MB, free: 48.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1278, allocations: 53.59 MB / 426 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.004533/0.1324, allocations: 4.536 MB / 430.5 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002932/0.1353, allocations: 2.357 MB / 432.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.1357, allocations: 7.938 kB / 432.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005545/0.1363, allocations: 242.6 kB / 433.1 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.1383, allocations: 1.159 MB / 434.3 MB, free: 4.355 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.139, allocations: 352.7 kB / 434.6 MB, free: 4.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008544/0.1398, allocations: 1.031 MB / 435.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.14, allocations: 73.73 kB / 435.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.1403, allocations: 358.5 kB / 436.1 MB, free: 2.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.1406, allocations: 378.3 kB / 436.4 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.456e-05/0.1407, allocations: 44 kB / 436.5 MB, free: 2.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.1412, allocations: 255.8 kB / 436.7 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.1413, allocations: 107.4 kB / 436.8 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.1415, allocations: 350.1 kB / 437.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006895/0.1422, allocations: 0.8425 MB / 438 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1422, allocations: 4 kB / 438 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1422, allocations: 0 / 438 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1422, allocations: 0 / 438 MB, free: 0.5977 MB / 302.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.003022/0.1452, allocations: 1.216 MB / 439.2 MB, free: 15.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1453, allocations: 8.031 kB / 439.3 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003664/0.1457, allocations: 92.08 kB / 439.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007728/0.1465, allocations: 0.4985 MB / 439.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.1465, allocations: 33.38 kB / 439.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.1466, allocations: 40.38 kB / 439.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.1473, allocations: 0.5192 MB / 440.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1473, allocations: 0 / 440.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.1474, allocations: 20 kB / 440.5 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.1474, allocations: 12 kB / 440.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.148, allocations: 350.1 kB / 440.8 MB, free: 13.65 MB / 318.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.00384/0.1518, allocations: 3.412 MB / 444.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/0.1524, allocations: 288.1 kB / 444.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.1526, allocations: 96.84 kB / 444.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.1527, allocations: 7.984 kB / 444.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1527, allocations: 34.56 kB / 444.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.184e-06/0.1527, allocations: 0 / 444.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001043/0.1538, allocations: 479.2 kB / 445.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.1538, allocations: 55.41 kB / 445.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007726/0.1546, allocations: 0.6081 MB / 445.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.1546, allocations: 29.7 kB / 445.8 MB, free: 8.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.1549, allocations: 327.9 kB / 446.1 MB, free: 8.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.155, allocations: 122.5 kB / 446.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.1554, allocations: 238.6 kB / 446.5 MB, free: 7.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1556, allocations: 382.8 kB / 446.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.156, allocations: 306.5 kB / 447.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.1566, allocations: 410.5 kB / 447.5 MB, free: 6.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008211/0.1575, allocations: 0.561 MB / 448.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1575, allocations: 3.938 kB / 448.1 MB, free: 6.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001608/0.1591, allocations: 0.989 MB / 449.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1591, allocations: 4 kB / 449.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.1591, allocations: 4 kB / 449.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.1594, allocations: 44.95 kB / 449.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/0.1603, allocations: 255.6 kB / 449.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.1603, allocations: 8 kB / 449.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000779/0.1611, allocations: 83.2 kB / 449.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.1612, allocations: 43.94 kB / 449.5 MB, free: 4.594 MB / 318.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.0003096/0.1615, allocations: 201.6 kB / 449.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.1617, allocations: 63.28 kB / 449.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.1623, allocations: 321.2 kB / 450.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1623, allocations: 4 kB / 450.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1624, allocations: 0 / 450.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1624, allocations: 3.984 kB / 450.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.1637, allocations: 0.9514 MB / 451.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1637, allocations: 0 / 451.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.164, allocations: 51.91 kB / 451.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.1641, allocations: 32.94 kB / 451.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.1642, allocations: 15.98 kB / 451.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1642, allocations: 3.938 kB / 451.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.1642, allocations: 4 kB / 451.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.1649, allocations: 414.6 kB / 451.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.1651, allocations: 188.2 kB / 451.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.67e-05/0.1652, allocations: 4 kB / 451.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.1656, allocations: 19.98 kB / 451.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1657, allocations: 27.91 kB / 451.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.1657, allocations: 8 kB / 451.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005276/0.1663, allocations: 402.8 kB / 452.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1663, allocations: 0 / 452.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007526/0.167, allocations: 243.8 kB / 452.4 MB, free: 1.523 MB / 318.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.0003158/0.1674, allocations: 143.2 kB / 452.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.1686, allocations: 0.7163 MB / 453.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1686, allocations: 4.062 kB / 453.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.1688, allocations: 197.8 kB / 453.5 MB, free: 432 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/0.1694, allocations: 66.11 kB / 453.6 MB, free: 364 kB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1709, allocations: 0.8409 MB / 454.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.1714, allocations: 0.8476 MB / 455.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.1716, allocations: 51.44 kB / 455.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1716, allocations: 0 / 455.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of Templates: time 0.01513/0.1867, allocations: 10.03 MB / 465.3 MB, free: 4.496 MB / 334.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)