Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001765/0.001765, allocations: 120.5 kB / 18.41 MB, free: 4.633 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.00202/0.00202, allocations: 194.7 kB / 21.35 MB, free: 1.695 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.467/1.467, allocations: 222.9 MB / 247.1 MB, free: 4.207 MB / 190.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.2947/0.2947, allocations: 37.99 MB / 337.2 MB, free: 12.91 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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.81 kB / 467.5 MB, free: 27.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.101, allocations: 58.07 MB / 0.5133 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009516/0.1106, allocations: 7.424 MB / 0.5205 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006492/0.1171, allocations: 4.389 MB / 0.5248 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.1176, allocations: 12 kB / 0.5248 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.1202, allocations: 1.031 MB / 0.5258 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.1231, allocations: 1.199 MB / 0.527 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008954/0.1241, allocations: 319.1 kB / 0.5273 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001713/0.1258, allocations: 1.41 MB / 0.5287 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009536/0.1267, allocations: 0.6611 MB / 0.5293 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009342/0.1277, allocations: 0.6147 MB / 0.5299 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.1287, allocations: 0.6697 MB / 0.5306 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1288, allocations: 64 kB / 0.5306 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.1313, allocations: 1.337 MB / 0.532 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004901/0.1318, allocations: 475 kB / 0.5324 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005132/0.1323, allocations: 449.9 kB / 0.5328 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.1345, allocations: 1.452 MB / 0.5343 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1345, allocations: 0 / 0.5343 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.1345, allocations: 0 / 0.5343 GB, free: 4.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.1346, allocations: 3.938 kB / 0.5343 GB, free: 4.164 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00177/0.1363, allocations: 1.153 MB / 0.5354 GB, free: 2.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1364, allocations: 11.89 kB / 0.5354 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.1394, allocations: 399.9 kB / 0.5358 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.1402, allocations: 486.9 kB / 0.5362 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.1402, allocations: 54.36 kB / 0.5363 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.1404, allocations: 76.31 kB / 0.5364 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.1423, allocations: 1.172 MB / 0.5375 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.1423, allocations: 4 kB / 0.5375 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-05/0.1424, allocations: 31.97 kB / 0.5375 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.587e-05/0.1425, allocations: 69.97 kB / 0.5376 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.1445, allocations: 1.245 MB / 0.5388 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005457/0.15, allocations: 3.508 MB / 0.5423 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.1518, allocations: 1.065 MB / 0.5433 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009636/0.1528, allocations: 0.6565 MB / 0.5439 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.766e-05/0.1528, allocations: 20.97 kB / 0.544 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1529, allocations: 43.78 kB / 0.544 GB, free: 9.945 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.545e-06/0.1529, allocations: 0 / 0.544 GB, free: 9.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007105/0.16, allocations: 3.104 MB / 0.547 GB, free: 6.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.1601, allocations: 94.05 kB / 0.5471 GB, free: 6.703 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.1605, allocations: 361.6 kB / 0.5475 GB, free: 6.344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.1606, allocations: 41.7 kB / 0.5475 GB, free: 6.297 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.1609, allocations: 320.8 kB / 0.5478 GB, free: 5.977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.1611, allocations: 329.2 kB / 0.5481 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.1614, allocations: 158.6 kB / 0.5483 GB, free: 5.492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1616, allocations: 374.8 kB / 0.5486 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007139/0.1623, allocations: 469.7 kB / 0.5491 GB, free: 4.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/0.1632, allocations: 0.5657 MB / 0.5496 GB, free: 4.062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.1648, allocations: 1.113 MB / 0.5507 GB, free: 2.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1648, allocations: 0 / 0.5507 GB, free: 2.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002614/0.1675, allocations: 1.477 MB / 0.5522 GB, free: 1.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1675, allocations: 8 kB / 0.5522 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1675, allocations: 0 / 0.5522 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009908/0.1685, allocations: 334 kB / 0.5525 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/0.1692, allocations: 183.7 kB / 0.5527 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00583/0.1751, allocations: 4.193 MB / 0.5568 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.1756, allocations: 55.94 kB / 0.5568 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-05/0.1757, allocations: 31.98 kB / 0.5568 GB, free: 12.47 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004315/0.1762, allocations: 293.6 kB / 0.5571 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.1763, allocations: 63.62 kB / 0.5572 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.1792, allocations: 1.567 MB / 0.5587 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.1792, allocations: 12 kB / 0.5587 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1792, allocations: 4 kB / 0.5587 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.1792, allocations: 3.984 kB / 0.5587 GB, free: 10.51 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 postOpt removeSimpleEquations (simulation): time 0.005547/0.1848, allocations: 3.027 MB / 0.5617 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.036e-06/0.1848, allocations: 4.438 kB / 0.5617 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006771/0.1855, allocations: 175.7 kB / 0.5619 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008524/0.1864, allocations: 284.5 kB / 0.5621 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/0.1864, allocations: 27.94 kB / 0.5622 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005469/0.1919, allocations: 3.911 MB / 0.566 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.1919, allocations: 8 kB / 0.566 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.1946, allocations: 1.591 MB / 0.5675 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.1948, allocations: 156.6 kB / 0.5677 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/0.1949, allocations: 31.88 kB / 0.5677 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.1954, allocations: 39.91 kB / 0.5678 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.1955, allocations: 76.89 kB / 0.5678 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-05/0.1956, allocations: 39.98 kB / 0.5679 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003112/0.1959, allocations: 259.1 kB / 0.5681 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.023e-06/0.196, allocations: 0 / 0.5681 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009127/0.1969, allocations: 315.9 kB / 0.5684 GB, free: 236 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001769/0.1971, allocations: 119.1 kB / 0.5685 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.1994, allocations: 1.408 MB / 0.5699 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1994, allocations: 0 / 0.5699 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.2007, allocations: 0.8476 MB / 0.5707 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.2014, allocations: 107.6 kB / 0.5708 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.2043, allocations: 1.892 MB / 0.5727 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008115/0.2052, allocations: 1.072 MB / 0.5737 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.2054, allocations: 71.39 kB / 0.5738 GB, free: 10.57 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2054, allocations: 0 / 0.5738 GB, free: 10.57 MB / 446.1 MB Notification: Performance of Templates: time 0.2232/0.4286, allocations: 12.2 MB / 0.5857 GB, free: 63.95 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.389138330006972] Failed to read output from testmodel.py, exit status != 0: 0.43556260992772877 0.44850542400000004 0.311411899 Calling exit ...