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.001836/0.001836, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002396/0.002396, allocations: 222.7 kB / 22.26 MB, free: 5.215 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.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.977 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.08062/0.08062, allocations: 16.96 MB / 329.4 MB, free: 2.543 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.002112/0.002112, allocations: 75.89 kB / 460.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1138, allocations: 57.74 MB / 0.5061 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.2331/0.347, allocations: 28.85 MB / 0.5343 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.3628, allocations: 8.257 MB / 0.5423 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004264/0.3671, allocations: 77.66 kB / 0.5424 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004066/0.3711, allocations: 1.073 MB / 0.5435 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.3836, allocations: 3.712 MB / 0.5471 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004309/0.3879, allocations: 1.428 MB / 0.5485 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01132/0.3993, allocations: 6.491 MB / 0.5548 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.4004, allocations: 266.5 kB / 0.5551 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004737/0.4051, allocations: 2.232 MB / 0.5573 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005103/0.4102, allocations: 2.375 MB / 0.5596 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.4114, allocations: 255.7 kB / 0.5598 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003963/0.4153, allocations: 0.7637 MB / 0.5606 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.4166, allocations: 0.6607 MB / 0.5612 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005325/0.4219, allocations: 2.075 MB / 0.5632 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009704/0.4316, allocations: 4.733 MB / 0.5679 GB, free: 9.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4316, allocations: 0 / 0.5679 GB, free: 9.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4316, allocations: 0.8438 kB / 0.5679 GB, free: 9.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001402/0.4318, allocations: 0 / 0.5679 GB, free: 9.484 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.02362/0.4554, allocations: 6.02 MB / 0.5737 GB, free: 5.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4554, allocations: 8.031 kB / 0.5737 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003731/0.4592, allocations: 0.5959 MB / 0.5743 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006027/0.4652, allocations: 2.108 MB / 0.5764 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.4654, allocations: 205.6 kB / 0.5766 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006342/0.4661, allocations: 268.4 kB / 0.5768 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006357/0.4724, allocations: 3.184 MB / 0.5799 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.718e-05/0.4725, allocations: 19.81 kB / 0.58 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004072/0.4729, allocations: 120 kB / 0.5801 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.239e-05/0.473, allocations: 72 kB / 0.5801 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004787/0.4778, allocations: 2.54 MB / 0.5826 GB, free: 11.69 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.02749/0.5053, allocations: 20.44 MB / 0.6026 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004303/0.5096, allocations: 2.201 MB / 0.6047 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.5111, allocations: 0.831 MB / 0.6055 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.5112, allocations: 46.02 kB / 0.6056 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/0.5113, allocations: 68.56 kB / 0.6057 GB, free: 3.184 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 4.118e-06/0.5113, allocations: 0 / 0.6057 GB, free: 3.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02021/0.5315, allocations: 5.804 MB / 0.6113 GB, free: 13.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.5316, allocations: 77.41 kB / 0.6114 GB, free: 13.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006038/0.5376, allocations: 2.946 MB / 0.6143 GB, free: 10.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002701/0.5379, allocations: 85.64 kB / 0.6144 GB, free: 10.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001654/0.5395, allocations: 1.452 MB / 0.6158 GB, free: 8.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001509/0.5411, allocations: 1.058 MB / 0.6168 GB, free: 7.703 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004035/0.5451, allocations: 1.525 MB / 0.6183 GB, free: 6.164 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5452, allocations: 301.1 kB / 0.6186 GB, free: 5.867 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004318/0.5496, allocations: 2.078 MB / 0.6206 GB, free: 3.781 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004949/0.5545, allocations: 2.752 MB / 0.6233 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007106/0.5616, allocations: 3.983 MB / 0.6272 GB, free: 12.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.552e-05/0.5616, allocations: 0 / 0.6272 GB, free: 12.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01399/0.5756, allocations: 6.974 MB / 0.634 GB, free: 5.781 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.5757, allocations: 10.97 kB / 0.634 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.5757, allocations: 4.109 kB / 0.634 GB, free: 5.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/0.5784, allocations: 0.9456 MB / 0.6349 GB, free: 4.816 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005964/0.5844, allocations: 1.599 MB / 0.6365 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.5966, allocations: 6.868 MB / 0.6432 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006565/0.6032, allocations: 0.555 MB / 0.6437 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000943/0.6041, allocations: 260 kB / 0.644 GB, free: 11.41 MB / 494.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 (1034): * Single equations (assignments): 1032 * 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.002057/0.6062, allocations: 0.6818 MB / 0.6447 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/0.6074, allocations: 357.8 kB / 0.645 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/0.6133, allocations: 2.643 MB / 0.6476 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.6133, allocations: 27.98 kB / 0.6476 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6133, allocations: 4 kB / 0.6476 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-05/0.6133, allocations: 11.95 kB / 0.6476 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.6242, allocations: 5.483 MB / 0.653 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.6242, allocations: 3.938 kB / 0.653 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.6255, allocations: 315.7 kB / 0.6533 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002428/0.6279, allocations: 0.7424 MB / 0.654 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/0.628, allocations: 47.98 kB / 0.6541 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.6396, allocations: 6.659 MB / 0.6606 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6396, allocations: 0 / 0.6606 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006462/0.646, allocations: 2.741 MB / 0.6632 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002479/0.6485, allocations: 0.6456 MB / 0.6639 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/0.6496, allocations: 43.98 kB / 0.6639 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/0.6526, allocations: 103.9 kB / 0.664 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/0.6529, allocations: 177.5 kB / 0.6642 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/0.6531, allocations: 79.97 kB / 0.6643 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003632/0.6568, allocations: 1.766 MB / 0.666 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6568, allocations: 3.938 kB / 0.666 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005706/0.6625, allocations: 1.617 MB / 0.6676 GB, free: 2.992 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.0006691/0.6631, allocations: 296.1 kB / 0.6678 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009285/0.6724, allocations: 4.384 MB / 0.6721 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.6724, allocations: 0 / 0.6721 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002791/0.6752, allocations: 1.386 MB / 0.6735 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003588/0.6788, allocations: 268.4 kB / 0.6737 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009042/0.6879, allocations: 4.631 MB / 0.6783 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001866/0.6897, allocations: 1.734 MB / 0.68 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00224/0.692, allocations: 0.5505 MB / 0.6805 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008932/0.6929, allocations: 251.4 kB / 0.6807 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of SimCode: time 1.512e-06/0.6929, allocations: 0 / 0.6807 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of Templates: time 0.08845/0.7813, allocations: 48.71 MB / 0.7283 GB, free: 4.734 MB / 0.5606 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.303694342961535] Failed to read output from testmodel.py, exit status != 0: 0.7908921469934285 0.977845799 0.5434743839999999 Calling exit ...