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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.671/1.671, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08772/0.08772, allocations: 12.72 MB / 272.3 MB, free: 0.7539 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 346 MB, free: 2.285 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.513e-05/4.776e-05, allocations: 5.125 kB / 346 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.0076/0.007648, allocations: 4.481 MB / 350.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005693/0.01334, allocations: 2.329 MB / 352.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005287/0.01387, allocations: 11.88 kB / 352.8 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009311/0.0148, allocations: 230.3 kB / 353 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.01855, allocations: 1.177 MB / 354.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.01958, allocations: 331.1 kB / 354.5 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002056/0.02164, allocations: 1.147 MB / 355.7 MB, free: 8.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.02183, allocations: 37.95 kB / 355.7 MB, free: 8.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.02284, allocations: 0.5337 MB / 356.3 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.02352, allocations: 303 kB / 356.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.02363, allocations: 40 kB / 356.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008256/0.02446, allocations: 259.6 kB / 356.8 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.02463, allocations: 111.4 kB / 357 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.02506, allocations: 243.2 kB / 357.2 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.02679, allocations: 0.9033 MB / 358.1 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.0268, allocations: 3.984 kB / 358.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.0268, allocations: 0 / 358.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.02681, allocations: 0 / 358.1 MB, free: 6.117 MB / 282.7 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.004845/0.03166, allocations: 1.317 MB / 359.4 MB, free: 4.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.03171, allocations: 12.03 kB / 359.4 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006628/0.03238, allocations: 136.4 kB / 359.6 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.03364, allocations: 493.8 kB / 360 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.0337, allocations: 37.31 kB / 360.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.366e-05/0.03379, allocations: 40.38 kB / 360.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.03516, allocations: 0.7453 MB / 360.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.03518, allocations: 8.125 kB / 360.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/0.03525, allocations: 16.38 kB / 360.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.03527, allocations: 15.94 kB / 360.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008662/0.03614, allocations: 342.1 kB / 361.2 MB, free: 2.777 MB / 282.7 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.006124/0.04226, allocations: 4.113 MB / 365.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009049/0.04317, allocations: 279.8 kB / 365.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.04342, allocations: 88.17 kB / 365.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/0.04348, allocations: 12 kB / 365.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.04354, allocations: 41.39 kB / 365.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 3.507e-06/0.04354, allocations: 4 kB / 365.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001524/0.04506, allocations: 417.3 kB / 366.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.04513, allocations: 55.41 kB / 366.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.04647, allocations: 0.7366 MB / 367 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/0.04652, allocations: 33.7 kB / 367 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/0.04705, allocations: 427.3 kB / 367.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.04728, allocations: 143.1 kB / 367.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006103/0.04789, allocations: 288.5 kB / 367.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000547/0.04844, allocations: 0.6133 MB / 368.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007322/0.04917, allocations: 266.5 kB / 368.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.05017, allocations: 440.7 kB / 369.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.0516, allocations: 0.6095 MB / 369.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.05161, allocations: 0 / 369.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002604/0.05421, allocations: 0.9806 MB / 370.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.05424, allocations: 4 kB / 370.7 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.05425, allocations: 7.984 kB / 370.7 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.05457, allocations: 39.67 kB / 370.8 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.05596, allocations: 243.6 kB / 371 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.149e-05/0.05599, allocations: 11.94 kB / 371 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.05708, allocations: 75.62 kB / 371.1 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.05719, allocations: 39.98 kB / 371.1 MB, free: 8.566 MB / 298.7 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 (151): * Single equations (assignments): 150 * 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.0004413/0.05763, allocations: 244.3 kB / 371.4 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.05782, allocations: 67.62 kB / 371.4 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.05883, allocations: 342.5 kB / 371.8 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.05884, allocations: 0 / 371.8 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.05885, allocations: 7.984 kB / 371.8 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.05886, allocations: 4 kB / 371.8 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.06084, allocations: 0.9143 MB / 372.7 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.06084, allocations: 0 / 372.7 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.06119, allocations: 47.92 kB / 372.8 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.06142, allocations: 39.66 kB / 372.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.06146, allocations: 8 kB / 372.8 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.06146, allocations: 4.094 kB / 372.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.06146, allocations: 4 kB / 372.8 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.0625, allocations: 0.4906 MB / 373.3 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/0.06285, allocations: 103.5 kB / 373.4 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.06298, allocations: 15.94 kB / 373.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005783/0.06356, allocations: 12 kB / 373.4 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.06364, allocations: 27.89 kB / 373.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.06369, allocations: 12 kB / 373.5 MB, free: 6.113 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008364/0.06452, allocations: 454.7 kB / 373.9 MB, free: 5.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.06452, allocations: 4 kB / 373.9 MB, free: 5.664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001109/0.06563, allocations: 239.8 kB / 374.2 MB, free: 5.43 MB / 298.7 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.0003785/0.06601, allocations: 147.1 kB / 374.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.06766, allocations: 0.6159 MB / 374.9 MB, free: 4.656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.06766, allocations: 8.062 kB / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.06802, allocations: 132.4 kB / 375 MB, free: 4.512 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008285/0.06885, allocations: 80.84 kB / 375.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.07085, allocations: 0.849 MB / 376 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.07124, allocations: 247.5 kB / 376.2 MB, free: 3.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000463/0.07171, allocations: 93.03 kB / 376.3 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.07189, allocations: 48.5 kB / 376.4 MB, free: 3.129 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.07189, allocations: 0 / 376.4 MB, free: 3.129 MB / 298.7 MB Notification: Performance of Templates: time 0.02098/0.09287, allocations: 7.14 MB / 383.5 MB, free: 12.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0419620289467275]