Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 108.2 kB / 20.37 MB, free: 1.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002741/0.002741, allocations: 200.8 kB / 23.66 MB, free: 5.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 252.4 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1843/0.1843, allocations: 38.51 MB / 346.1 MB, free: 2.234 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.88 kB / 484.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.329, allocations: 61.23 MB / 0.5327 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006312/0.3353, allocations: 7.735 MB / 0.5402 GB, free: 120 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00561/0.3409, allocations: 4.215 MB / 0.5443 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.3412, allocations: 17.19 kB / 0.5444 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.3438, allocations: 1.073 MB / 0.5454 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.346, allocations: 1.103 MB / 0.5465 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008155/0.3468, allocations: 308.6 kB / 0.5468 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.3484, allocations: 1.369 MB / 0.5481 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000581/0.349, allocations: 337.8 kB / 0.5484 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007373/0.3497, allocations: 0.5611 MB / 0.549 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008185/0.3506, allocations: 0.6526 MB / 0.5496 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-05/0.3506, allocations: 36.03 kB / 0.5497 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.3523, allocations: 1.021 MB / 0.5507 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.3526, allocations: 280.8 kB / 0.5509 GB, free: 8.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.3529, allocations: 243.5 kB / 0.5512 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.354, allocations: 0.824 MB / 0.552 GB, free: 7.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.354, allocations: 1.219 kB / 0.552 GB, free: 7.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.354, allocations: 0 / 0.552 GB, free: 7.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.354, allocations: 3.938 kB / 0.552 GB, free: 7.742 MB / 398.1 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.001211/0.3552, allocations: 0.8116 MB / 0.5528 GB, free: 7.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3553, allocations: 13.7 kB / 0.5528 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.3568, allocations: 137.4 kB / 0.5529 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.3574, allocations: 343.4 kB / 0.5532 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.3574, allocations: 25.06 kB / 0.5533 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.3574, allocations: 46.95 kB / 0.5533 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008576/0.3583, allocations: 0.582 MB / 0.5539 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3583, allocations: 5.906 kB / 0.5539 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.3584, allocations: 16.61 kB / 0.5539 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-05/0.3584, allocations: 41.5 kB / 0.5539 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/0.359, allocations: 384.7 kB / 0.5543 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.3617, allocations: 2.592 MB / 0.5568 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000664/0.3623, allocations: 411.8 kB / 0.5572 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.3626, allocations: 190.5 kB / 0.5574 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3626, allocations: 0 / 0.5574 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3627, allocations: 38.56 kB / 0.5574 GB, free: 2.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 1.392e-06/0.3627, allocations: 0 / 0.5574 GB, free: 2.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001718/0.3644, allocations: 0.7695 MB / 0.5582 GB, free: 2.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.3644, allocations: 115 kB / 0.5583 GB, free: 1.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.3648, allocations: 320.6 kB / 0.5586 GB, free: 1.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.3649, allocations: 33.7 kB / 0.5586 GB, free: 1.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.365, allocations: 256.3 kB / 0.5589 GB, free: 1.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3651, allocations: 115 kB / 0.559 GB, free: 1.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.3653, allocations: 82.09 kB / 0.5591 GB, free: 1.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3654, allocations: 342.8 kB / 0.5594 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.3657, allocations: 132.8 kB / 0.5595 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.366, allocations: 275.5 kB / 0.5598 GB, free: 260 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/0.3666, allocations: 456.1 kB / 0.5602 GB, free: 15.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.3666, allocations: 4 kB / 0.5602 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008829/0.3675, allocations: 0.5621 MB / 0.5608 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3675, allocations: 8 kB / 0.5608 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.3675, allocations: 4 kB / 0.5608 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/0.3678, allocations: 124.8 kB / 0.5609 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.3681, allocations: 80.16 kB / 0.561 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.371, allocations: 2.574 MB / 0.5635 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.3712, allocations: 51.61 kB / 0.5635 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3712, allocations: 12 kB / 0.5636 GB, free: 12.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002364/0.3715, allocations: 209.7 kB / 0.5638 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/0.3715, allocations: 35.77 kB / 0.5638 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.878e-05/0.3716, allocations: 47.95 kB / 0.5638 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3716, allocations: 4 kB / 0.5638 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3716, allocations: 0 / 0.5638 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3716, allocations: 11.92 kB / 0.5638 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.373, allocations: 0.9377 MB / 0.5648 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.373, allocations: 0 / 0.5648 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.3731, allocations: 31.98 kB / 0.5648 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/0.3734, allocations: 108.8 kB / 0.5649 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.3734, allocations: 8.062 kB / 0.5649 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/0.3761, allocations: 2.56 MB / 0.5674 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3761, allocations: 7.969 kB / 0.5674 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.3769, allocations: 0.6189 MB / 0.568 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3771, allocations: 124.8 kB / 0.5681 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.3771, allocations: 7.938 kB / 0.5681 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.3773, allocations: 12 kB / 0.5682 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.3773, allocations: 23.97 kB / 0.5682 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3773, allocations: 4 kB / 0.5682 GB, free: 7.145 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000264/0.3776, allocations: 227 kB / 0.5684 GB, free: 6.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3776, allocations: 0 / 0.5684 GB, free: 6.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007652/0.3784, allocations: 155.8 kB / 0.5685 GB, free: 6.773 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001292/0.3785, allocations: 111.1 kB / 0.5687 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008738/0.3794, allocations: 0.4991 MB / 0.5691 GB, free: 6.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3794, allocations: 320 / 0.5691 GB, free: 6.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004703/0.3799, allocations: 342.2 kB / 0.5695 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.3804, allocations: 72.62 kB / 0.5695 GB, free: 5.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3817, allocations: 0.8275 MB / 0.5703 GB, free: 4.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.3823, allocations: 0.8785 MB / 0.5712 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.3825, allocations: 74.84 kB / 0.5713 GB, free: 3.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.3825, allocations: 23.44 kB / 0.5713 GB, free: 3.859 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3825, allocations: 0 / 0.5713 GB, free: 3.859 MB / 414.1 MB Notification: Performance of Templates: time 0.00934/0.3919, allocations: 4.048 MB / 0.5753 GB, free: 15.8 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.224345989990979] Failed to read output from testmodel.py, exit status != 0: 0.4009374757297337 0.41538460199999994 0.058212511 Calling exit ...