Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.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.0006981/0.0006981, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0007291/0.0007291, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 0.8327/0.8327, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.04942/0.04942, allocations: 12.52 MB / 271.7 MB, free: 1.129 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.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 402.8 MB, free: 9.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.954e-05, allocations: 2.281 kB / 402.8 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.1435/0.1435, allocations: 24.79 MB / 427.6 MB, free: 8.469 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009705/0.1532, allocations: 7.713 MB / 435.3 MB, free: 3.094 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/0.156, allocations: 77.19 kB / 435.4 MB, free: 3.059 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.1579, allocations: 1.03 MB / 436.4 MB, free: 2.562 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006334/0.1643, allocations: 3.751 MB / 440.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.1664, allocations: 1.388 MB / 441.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006638/0.173, allocations: 7.041 MB / 448.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009475/0.1739, allocations: 260 kB / 448.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004975/0.1789, allocations: 3.174 MB / 452 MB, free: 8.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00254/0.1815, allocations: 1.919 MB / 454 MB, free: 6.672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006063/0.1821, allocations: 256 kB / 454.2 MB, free: 6.422 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.1837, allocations: 0.7493 MB / 455 MB, free: 5.672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.1841, allocations: 0.6723 MB / 455.6 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.1855, allocations: 1.48 MB / 457.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004094/0.1896, allocations: 4.685 MB / 461.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1896, allocations: 0 / 461.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1896, allocations: 4 kB / 461.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.193e-05/0.1896, allocations: 4 kB / 461.8 MB, free: 14.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 664 * Number of variables: 664 Notification: Performance of Generate backend data structure: time 0.01019/0.1998, allocations: 5.962 MB / 467.8 MB, free: 8.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1999, allocations: 8.031 kB / 467.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.201, allocations: 0.5451 MB / 468.3 MB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.2034, allocations: 2.108 MB / 470.4 MB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.761e-05/0.2035, allocations: 205.6 kB / 470.6 MB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.2037, allocations: 272.4 kB / 470.9 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.2068, allocations: 3.712 MB / 474.6 MB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/0.2068, allocations: 27.69 kB / 474.6 MB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.207, allocations: 120 kB / 474.8 MB, free: 1.137 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/0.207, allocations: 68 kB / 474.8 MB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.2095, allocations: 2.502 MB / 477.3 MB, free: 14.55 MB / 378.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.0122/0.2217, allocations: 17.64 MB / 495 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.224, allocations: 2.189 MB / 497.2 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008455/0.2248, allocations: 0.8383 MB / 498 MB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.048e-05/0.2249, allocations: 37.97 kB / 498 MB, free: 9.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.225, allocations: 64.56 kB / 498.1 MB, free: 9.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=252): time 4.699e-06/0.225, allocations: 0 / 498.1 MB, free: 9.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.01116/0.2361, allocations: 5.78 MB / 0.4921 GB, free: 3.375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.2362, allocations: 85.34 kB / 0.4921 GB, free: 3.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.2384, allocations: 2.729 MB / 0.4948 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.393e-05/0.2385, allocations: 77.7 kB / 0.4949 GB, free: 464 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009556/0.2395, allocations: 1.494 MB / 0.4963 GB, free: 14.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006227/0.2401, allocations: 1.027 MB / 0.4973 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001227/0.2413, allocations: 1.413 MB / 0.4987 GB, free: 12.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.2414, allocations: 309.1 kB / 0.499 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/0.2434, allocations: 2.003 MB / 0.501 GB, free: 10.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/0.2461, allocations: 2.646 MB / 0.5036 GB, free: 7.434 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003675/0.2498, allocations: 3.869 MB / 0.5073 GB, free: 3.434 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.2498, allocations: 4 kB / 0.5073 GB, free: 3.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.007091/0.2569, allocations: 6.723 MB / 0.5139 GB, free: 12.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.2569, allocations: 8 kB / 0.5139 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.257, allocations: 4 kB / 0.5139 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.2584, allocations: 0.9223 MB / 0.5148 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/0.2612, allocations: 1.528 MB / 0.5163 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006659/0.2679, allocations: 6.494 MB / 0.5227 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/0.2713, allocations: 0.4892 MB / 0.5231 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/0.2715, allocations: 252 kB / 0.5234 GB, free: 2.828 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 7 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (982): * Single equations (assignments): 980 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,56)} Notification: Performance of prepare postOptimizeDAE: time 0.00114/0.2727, allocations: 0.6618 MB / 0.524 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/0.2731, allocations: 345.8 kB / 0.5244 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/0.2761, allocations: 2.641 MB / 0.5269 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.2761, allocations: 24 kB / 0.527 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2761, allocations: 3.938 kB / 0.527 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.2761, allocations: 15.95 kB / 0.527 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/0.2812, allocations: 4.512 MB / 0.5314 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.2812, allocations: 0 / 0.5314 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006415/0.2819, allocations: 311.6 kB / 0.5317 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/0.2831, allocations: 0.7347 MB / 0.5324 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-05/0.2832, allocations: 47.98 kB / 0.5324 GB, free: 9.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006106/0.2893, allocations: 6.274 MB / 0.5386 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2893, allocations: 0 / 0.5386 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/0.2924, allocations: 2.721 MB / 0.5412 GB, free: 324 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009732/0.2933, allocations: 0.6184 MB / 0.5418 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.2936, allocations: 40 kB / 0.5419 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.2946, allocations: 111.8 kB / 0.542 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.2948, allocations: 165.7 kB / 0.5421 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/0.2949, allocations: 79.97 kB / 0.5422 GB, free: 15.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001421/0.2963, allocations: 1.599 MB / 0.5438 GB, free: 13.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2963, allocations: 0 / 0.5438 GB, free: 13.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002431/0.2987, allocations: 1.609 MB / 0.5453 GB, free: 12.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (188): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,56)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003574/0.2991, allocations: 300 kB / 0.5456 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004277/0.3033, allocations: 4.26 MB / 0.5498 GB, free: 7.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3033, allocations: 4 kB / 0.5498 GB, free: 7.516 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.3047, allocations: 1.378 MB / 0.5511 GB, free: 6.117 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.3058, allocations: 253.6 kB / 0.5514 GB, free: 5.871 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/0.3104, allocations: 4.604 MB / 0.5559 GB, free: 1.234 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007336/0.3111, allocations: 1.172 MB / 0.557 GB, free: 28 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001105/0.3122, allocations: 0.5413 MB / 0.5575 GB, free: 15.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/0.3127, allocations: 240.5 kB / 0.5578 GB, free: 15.25 MB / 474.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3127, allocations: 0 / 0.5578 GB, free: 15.25 MB / 474.7 MB Notification: Performance of Templates: time 0.1671/0.4797, allocations: 43.17 MB / 0.5999 GB, free: 163.1 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 4.017565350979567] Failed to read output from testmodel.py, exit status != 0: 0.48511090129613876 0.491792145 0.300770009 Calling exit ...