Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.001304/0.001304, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001395/0.001395, allocations: 224.1 kB / 23.03 MB, free: 4.625 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04145/0.04145, allocations: 6.136 MB / 319.3 MB, free: 12.74 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 51.92 kB / 444.9 MB, free: 4.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1459, allocations: 55.02 MB / 500 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.007986/0.1539, allocations: 4.925 MB / 0.493 GB, free: 8.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005513/0.1594, allocations: 2.299 MB / 0.4953 GB, free: 6.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.1608, allocations: 16 kB / 0.4953 GB, free: 6.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.1623, allocations: 313.9 kB / 0.4956 GB, free: 5.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.1651, allocations: 0.5938 MB / 0.4962 GB, free: 5.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003948/0.169, allocations: 1.345 MB / 0.4975 GB, free: 3.914 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003575/0.1726, allocations: 1.264 MB / 0.4987 GB, free: 2.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.1736, allocations: 261.5 kB / 0.499 GB, free: 2.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.1752, allocations: 0.5487 MB / 0.4995 GB, free: 1.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.1768, allocations: 0.5988 MB / 0.5001 GB, free: 1.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004435/0.1772, allocations: 104 kB / 0.5002 GB, free: 1.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.1788, allocations: 339.7 kB / 0.5005 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005123/0.1793, allocations: 259 kB / 0.5008 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.1807, allocations: 0.4975 MB / 0.5013 GB, free: 32 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.1843, allocations: 1.42 MB / 0.5026 GB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1843, allocations: 0 / 0.5026 GB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1843, allocations: 4 kB / 0.5026 GB, free: 14.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.785e-05/0.1843, allocations: 0 / 0.5026 GB, free: 14.6 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01429/0.1986, allocations: 3.108 MB / 0.5057 GB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.1987, allocations: 8.031 kB / 0.5057 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/0.199, allocations: 140.1 kB / 0.5058 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.2002, allocations: 0.6078 MB / 0.5064 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.2003, allocations: 70.38 kB / 0.5065 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.2005, allocations: 96.38 kB / 0.5066 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/0.2036, allocations: 2.101 MB / 0.5086 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.2037, allocations: 4 kB / 0.5086 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.2038, allocations: 40 kB / 0.5087 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.2038, allocations: 20 kB / 0.5087 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.206, allocations: 1.316 MB / 0.51 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007247/0.2133, allocations: 2.976 MB / 0.5129 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.2162, allocations: 1.679 MB / 0.5145 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.2176, allocations: 0.8365 MB / 0.5153 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.2177, allocations: 33.28 kB / 0.5154 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.062e-05/0.2178, allocations: 56.11 kB / 0.5154 GB, free: 1.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=147): time 4.017e-06/0.2178, allocations: 0 / 0.5154 GB, free: 1.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=147): time 0.3668/0.5846, allocations: 6.928 MB / 0.5222 GB, free: 29.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.5848, allocations: 119.9 kB / 0.5223 GB, free: 29.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.5861, allocations: 0.6254 MB / 0.5229 GB, free: 29.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003512/0.5865, allocations: 61.89 kB / 0.523 GB, free: 29.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.5868, allocations: 329.5 kB / 0.5233 GB, free: 29.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005615/0.5873, allocations: 0.5103 MB / 0.5238 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/0.588, allocations: 274.1 kB / 0.524 GB, free: 28.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5881, allocations: 346.1 kB / 0.5244 GB, free: 28.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.5898, allocations: 0.8743 MB / 0.5252 GB, free: 28.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.5917, allocations: 1.039 MB / 0.5262 GB, free: 28.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.5955, allocations: 1.962 MB / 0.5282 GB, free: 27.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.5955, allocations: 0 / 0.5282 GB, free: 27.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01225/0.6077, allocations: 3.758 MB / 0.5318 GB, free: 25.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.6078, allocations: 4.688 kB / 0.5318 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.6078, allocations: 0 / 0.5318 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.012/0.6198, allocations: 3.553 MB / 0.5353 GB, free: 25.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.6211, allocations: 225.4 kB / 0.5355 GB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02236/0.6435, allocations: 10.95 MB / 0.5462 GB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.6449, allocations: 142 kB / 0.5463 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.645, allocations: 51.98 kB / 0.5464 GB, free: 18.13 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (135): * Single equations (assignments): 134 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0005618/0.6456, allocations: 257.7 kB / 0.5466 GB, free: 17.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.6459, allocations: 115.3 kB / 0.5468 GB, free: 17.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008796/0.6547, allocations: 3.72 MB / 0.5504 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.6547, allocations: 16 kB / 0.5504 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6547, allocations: 7.875 kB / 0.5504 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/0.6547, allocations: 7.969 kB / 0.5504 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.6653, allocations: 4.766 MB / 0.5551 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.6653, allocations: 0 / 0.5551 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.6659, allocations: 171.8 kB / 0.5552 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009321/0.6752, allocations: 2.731 MB / 0.5579 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/0.6755, allocations: 32 kB / 0.5579 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0211/0.6966, allocations: 10.77 MB / 0.5684 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6966, allocations: 4 kB / 0.5684 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.7072, allocations: 3.599 MB / 0.572 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000487/0.7077, allocations: 134.8 kB / 0.5721 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.708, allocations: 28 kB / 0.5721 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.7092, allocations: 87.22 kB / 0.5722 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006307/0.7098, allocations: 138.3 kB / 0.5723 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.7099, allocations: 52 kB / 0.5724 GB, free: 7.402 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007481/0.7107, allocations: 427 kB / 0.5728 GB, free: 6.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7107, allocations: 0 / 0.5728 GB, free: 6.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002071/0.7128, allocations: 0.531 MB / 0.5733 GB, free: 6.453 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (106): * Single equations (assignments): 105 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004083/0.7132, allocations: 160.8 kB / 0.5735 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008357/0.7215, allocations: 3.03 MB / 0.5764 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.7215, allocations: 0.6562 kB / 0.5764 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006098/0.7276, allocations: 1.999 MB / 0.5784 GB, free: 1.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.7287, allocations: 144.7 kB / 0.5785 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.734, allocations: 2.305 MB / 0.5808 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.7347, allocations: 492.5 kB / 0.5812 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005912/0.7353, allocations: 147.5 kB / 0.5814 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.7355, allocations: 91.41 kB / 0.5815 GB, free: 14.04 MB / 414.1 MB Notification: Performance of SimCode: time 2.034e-06/0.7355, allocations: 0 / 0.5815 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Templates: time 0.06506/0.8006, allocations: 37.04 MB / 0.6176 GB, free: 9.27 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5926872957497835] Failed to read output from testmodel.py, exit status != 0: 0.8108945488929749 0.8277955889999999 0.639816457 Calling exit ...