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.001415/0.001415, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001608/0.001608, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 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.08192/0.08192, allocations: 16.94 MB / 329.4 MB, free: 2.391 MB / 254.1 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: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 63.91 kB / 460.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1313, allocations: 57.74 MB / 0.506 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.2425/0.3737, allocations: 24.77 MB / 0.5302 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01527/0.389, allocations: 7.698 MB / 0.5377 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005693/0.3947, allocations: 81.75 kB / 0.5378 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005709/0.4004, allocations: 1.019 MB / 0.5388 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01501/0.4154, allocations: 3.662 MB / 0.5423 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005243/0.4207, allocations: 1.389 MB / 0.5437 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01464/0.4353, allocations: 6.472 MB / 0.55 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.4367, allocations: 263.1 kB / 0.5503 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005405/0.4421, allocations: 2.237 MB / 0.5524 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005039/0.4471, allocations: 2.157 MB / 0.5546 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.4484, allocations: 258.5 kB / 0.5548 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004066/0.4524, allocations: 0.748 MB / 0.5555 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001344/0.4538, allocations: 0.66 MB / 0.5562 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005262/0.459, allocations: 1.723 MB / 0.5579 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.4705, allocations: 4.766 MB / 0.5625 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4705, allocations: 1.125 kB / 0.5625 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4705, allocations: 0 / 0.5625 GB, free: 14.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002122/0.4707, allocations: 0 / 0.5625 GB, free: 14.13 MB / 414.1 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.02584/0.4966, allocations: 6.019 MB / 0.5684 GB, free: 10.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.4966, allocations: 8.031 kB / 0.5684 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004321/0.5009, allocations: 0.5959 MB / 0.569 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00722/0.5082, allocations: 2.108 MB / 0.571 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.5084, allocations: 209.6 kB / 0.5712 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000802/0.5092, allocations: 268.4 kB / 0.5715 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008221/0.5175, allocations: 3.715 MB / 0.5751 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-05/0.5176, allocations: 19.81 kB / 0.5751 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000553/0.5181, allocations: 120 kB / 0.5753 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.585e-05/0.5182, allocations: 68 kB / 0.5753 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005047/0.5232, allocations: 2.505 MB / 0.5778 GB, free: 15.91 MB / 430.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.02741/0.5507, allocations: 17.71 MB / 0.5951 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004666/0.5553, allocations: 2.183 MB / 0.5972 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.557, allocations: 0.835 MB / 0.598 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.5572, allocations: 41.97 kB / 0.598 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.175e-05/0.5573, allocations: 69.62 kB / 0.5981 GB, free: 10.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 5.591e-06/0.5573, allocations: 0 / 0.5981 GB, free: 10.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02284/0.5801, allocations: 5.773 MB / 0.6038 GB, free: 4.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.5802, allocations: 81.34 kB / 0.6038 GB, free: 4.594 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006741/0.5869, allocations: 2.729 MB / 0.6065 GB, free: 1.848 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006858/0.5876, allocations: 77.7 kB / 0.6066 GB, free: 1.766 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001937/0.5896, allocations: 1.498 MB / 0.608 GB, free: 260 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001979/0.5916, allocations: 1.047 MB / 0.6091 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002677/0.5942, allocations: 1.425 MB / 0.6104 GB, free: 13.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5944, allocations: 305.1 kB / 0.6107 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003762/0.5981, allocations: 2.007 MB / 0.6127 GB, free: 11.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004453/0.6026, allocations: 2.646 MB / 0.6153 GB, free: 8.711 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006875/0.6095, allocations: 3.869 MB / 0.6191 GB, free: 4.711 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.286e-05/0.6095, allocations: 0 / 0.6191 GB, free: 4.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.01396/0.6235, allocations: 6.719 MB / 0.6256 GB, free: 13.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/0.6235, allocations: 8 kB / 0.6256 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/0.6235, allocations: 4 kB / 0.6256 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002801/0.6263, allocations: 0.9262 MB / 0.6265 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006785/0.6331, allocations: 1.521 MB / 0.628 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.6454, allocations: 6.486 MB / 0.6344 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007721/0.6531, allocations: 0.497 MB / 0.6348 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007992/0.6539, allocations: 244 kB / 0.6351 GB, free: 4.133 MB / 478.1 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.001875/0.6558, allocations: 0.6716 MB / 0.6357 GB, free: 3.453 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/0.6569, allocations: 337.9 kB / 0.636 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/0.6626, allocations: 2.645 MB / 0.6386 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-05/0.6627, allocations: 24 kB / 0.6387 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.6627, allocations: 0 / 0.6387 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/0.6627, allocations: 11.95 kB / 0.6387 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.6729, allocations: 4.52 MB / 0.6431 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6729, allocations: 0 / 0.6431 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.6743, allocations: 311.6 kB / 0.6434 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/0.6768, allocations: 0.7503 MB / 0.6441 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.6769, allocations: 40 kB / 0.6441 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.6883, allocations: 6.27 MB / 0.6503 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6884, allocations: 7.984 kB / 0.6503 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006563/0.6949, allocations: 2.724 MB / 0.6529 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002734/0.6976, allocations: 0.6223 MB / 0.6535 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008759/0.6985, allocations: 36 kB / 0.6536 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/0.7011, allocations: 107.9 kB / 0.6537 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/0.7015, allocations: 165.7 kB / 0.6538 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.7016, allocations: 75.97 kB / 0.6539 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002784/0.7044, allocations: 1.603 MB / 0.6555 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7044, allocations: 0 / 0.6555 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005046/0.7094, allocations: 1.613 MB / 0.6571 GB, free: 13.38 MB / 0.4981 GB 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.0006496/0.7101, allocations: 304.1 kB / 0.6573 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009315/0.7194, allocations: 4.264 MB / 0.6615 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.7194, allocations: 4 kB / 0.6615 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003039/0.7225, allocations: 1.382 MB / 0.6629 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.7252, allocations: 257.7 kB / 0.6631 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008551/0.7338, allocations: 4.622 MB / 0.6676 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.7351, allocations: 1.179 MB / 0.6688 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002462/0.7376, allocations: 0.5335 MB / 0.6693 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009691/0.7386, allocations: 239.4 kB / 0.6695 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.663e-06/0.7386, allocations: 0 / 0.6695 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.09545/0.834, allocations: 47.6 MB / 0.716 GB, free: 1.102 MB / 0.545 GB " [Timeout remaining time 659] 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: 7.624876313842833] Failed to read output from testmodel.py, exit status != 0: 0.846128785982728 0.86366588 0.38916518800000005 Calling exit ...