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.001507/0.001507, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001646/0.001646, allocations: 165.4 kB / 22.46 MB, free: 5.359 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.354/1.354, allocations: 177.1 MB / 202.8 MB, free: 9.207 MB / 190.1 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.07428/0.07428, allocations: 12.53 MB / 271.7 MB, free: 4.625 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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 3.938 kB / 402.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.179e-05, allocations: 4.812 kB / 402.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.02556/0.02558, allocations: 24.79 MB / 427.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.03871, allocations: 7.71 MB / 435.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.04143, allocations: 83.44 kB / 435.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003209/0.04464, allocations: 1.028 MB / 436.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.0549, allocations: 3.751 MB / 440.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003649/0.05855, allocations: 1.389 MB / 441.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00918/0.06773, allocations: 7.041 MB / 448.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000847/0.06857, allocations: 257.3 kB / 448.9 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1549/0.2235, allocations: 3.168 MB / 452 MB, free: 19.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005951/0.2294, allocations: 1.917 MB / 454 MB, free: 19.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.2305, allocations: 254.6 kB / 454.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.2333, allocations: 0.748 MB / 455 MB, free: 19.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005474/0.2338, allocations: 0.6773 MB / 455.6 MB, free: 19.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002831/0.2367, allocations: 1.479 MB / 457.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006174/0.2428, allocations: 4.694 MB / 461.8 MB, free: 18.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2428, allocations: 0 / 461.8 MB, free: 18.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2428, allocations: 3 kB / 461.8 MB, free: 18.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001249/0.243, allocations: 1.094 kB / 461.8 MB, free: 18.77 MB / 366.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.02117/0.2641, allocations: 5.963 MB / 467.8 MB, free: 17.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2642, allocations: 11.16 kB / 467.8 MB, free: 17.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/0.2665, allocations: 0.544 MB / 468.3 MB, free: 16.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0041/0.2706, allocations: 2.104 MB / 470.4 MB, free: 16.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.2708, allocations: 209.5 kB / 470.6 MB, free: 16.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/0.271, allocations: 265.1 kB / 470.9 MB, free: 16.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/0.2746, allocations: 3.708 MB / 474.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/0.2746, allocations: 22.72 kB / 474.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.2748, allocations: 123.7 kB / 474.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.2749, allocations: 72.75 kB / 474.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/0.278, allocations: 2.5 MB / 477.3 MB, free: 13.25 MB / 366.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.01734/0.2953, allocations: 17.63 MB / 494.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/0.2989, allocations: 2.206 MB / 497.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.3001, allocations: 0.8305 MB / 498 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.3002, allocations: 39.73 kB / 498 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.3003, allocations: 72.58 kB / 498.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=252): time 5.049e-06/0.3003, allocations: 0 / 498.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.02219/0.3225, allocations: 5.767 MB / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.3226, allocations: 84.86 kB / 0.4921 GB, free: 7.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004661/0.3272, allocations: 2.732 MB / 0.4948 GB, free: 4.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003516/0.3276, allocations: 77.7 kB / 0.4949 GB, free: 4.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.329, allocations: 1.487 MB / 0.4963 GB, free: 3.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001371/0.3304, allocations: 1.032 MB / 0.4973 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002262/0.3327, allocations: 1.409 MB / 0.4987 GB, free: 0.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3328, allocations: 313.1 kB / 0.499 GB, free: 368 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003474/0.3363, allocations: 1.996 MB / 0.501 GB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004097/0.3404, allocations: 2.657 MB / 0.5036 GB, free: 11.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006177/0.3466, allocations: 3.86 MB / 0.5073 GB, free: 7.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/0.3466, allocations: 4 kB / 0.5073 GB, free: 7.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.01196/0.3585, allocations: 6.729 MB / 0.5139 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.3586, allocations: 7.281 kB / 0.5139 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.3586, allocations: 8 kB / 0.5139 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002691/0.3613, allocations: 0.9184 MB / 0.5148 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005663/0.3669, allocations: 1.531 MB / 0.5163 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.3778, allocations: 6.48 MB / 0.5226 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/0.3834, allocations: 0.497 MB / 0.5231 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004694/0.3839, allocations: 253 kB / 0.5234 GB, free: 7.262 MB / 414.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.001329/0.3852, allocations: 0.669 MB / 0.524 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006195/0.3858, allocations: 333.9 kB / 0.5243 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005317/0.3911, allocations: 2.643 MB / 0.5269 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.3911, allocations: 24 kB / 0.5269 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3912, allocations: 0 / 0.5269 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/0.3912, allocations: 15.89 kB / 0.5269 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008238/0.3994, allocations: 4.517 MB / 0.5314 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.3994, allocations: 4 kB / 0.5314 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.4007, allocations: 314 kB / 0.5317 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/0.4032, allocations: 0.739 MB / 0.5324 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.4033, allocations: 44 kB / 0.5324 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.4139, allocations: 6.278 MB / 0.5386 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4139, allocations: 0 / 0.5386 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006029/0.42, allocations: 2.721 MB / 0.5412 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/0.4218, allocations: 0.6158 MB / 0.5418 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/0.4223, allocations: 47.94 kB / 0.5419 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002346/0.4247, allocations: 103.8 kB / 0.542 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/0.425, allocations: 168.9 kB / 0.5421 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/0.4251, allocations: 79.97 kB / 0.5422 GB, free: 4.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002413/0.4275, allocations: 1.603 MB / 0.5438 GB, free: 2.434 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4275, allocations: 0 / 0.5438 GB, free: 2.434 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003577/0.4311, allocations: 1.609 MB / 0.5453 GB, free: 0.8242 MB / 430.1 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.0005416/0.4317, allocations: 302 kB / 0.5456 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007685/0.4394, allocations: 4.255 MB / 0.5498 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.4394, allocations: 4 kB / 0.5498 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002611/0.442, allocations: 1.376 MB / 0.5511 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.4444, allocations: 258.8 kB / 0.5514 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/0.452, allocations: 4.606 MB / 0.5559 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.4533, allocations: 1.176 MB / 0.557 GB, free: 4.941 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00211/0.4554, allocations: 0.5296 MB / 0.5575 GB, free: 4.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007594/0.4561, allocations: 248.5 kB / 0.5578 GB, free: 4.168 MB / 446.1 MB Notification: Performance of SimCode: time 1.442e-06/0.4561, allocations: 0 / 0.5578 GB, free: 4.168 MB / 446.1 MB Notification: Performance of Templates: time 0.07802/0.5342, allocations: 43.16 MB / 0.5999 GB, free: 9.488 MB / 494.1 MB " [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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.43111914396286] Failed to read output from testmodel.py, exit status != 0: 0.5428827367722988 0.5563394939999999 0.310382767 Calling exit ...