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.001464/0.001464, allocations: 100.4 kB / 20.49 MB, free: 1.34 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.00163/0.00163, allocations: 201.5 kB / 23.77 MB, free: 4.508 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.394/1.394, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.03762/0.03762, allocations: 6.139 MB / 320.1 MB, free: 12.73 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.001543/0.001543, allocations: 55.92 kB / 445.7 MB, free: 4.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1033, allocations: 55.03 MB / 0.489 GB, free: 13.42 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.006625/0.11, allocations: 4.918 MB / 0.4938 GB, free: 8.488 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004299/0.1143, allocations: 2.295 MB / 0.496 GB, free: 6.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003921/0.1146, allocations: 20 kB / 0.4961 GB, free: 6.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000727/0.1154, allocations: 313.9 kB / 0.4964 GB, free: 5.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.1166, allocations: 0.5861 MB / 0.4969 GB, free: 5.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.1194, allocations: 1.35 MB / 0.4982 GB, free: 3.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.1209, allocations: 1.264 MB / 0.4995 GB, free: 2.641 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.1214, allocations: 257.6 kB / 0.4997 GB, free: 2.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005594/0.1219, allocations: 0.5409 MB / 0.5002 GB, free: 1.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007882/0.1227, allocations: 0.6143 MB / 0.5008 GB, free: 1.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.1229, allocations: 104 kB / 0.5009 GB, free: 1.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006973/0.1236, allocations: 339.7 kB / 0.5013 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.1238, allocations: 259 kB / 0.5015 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.1243, allocations: 0.4936 MB / 0.502 GB, free: 28 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.1259, allocations: 1.416 MB / 0.5034 GB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1259, allocations: 0 / 0.5034 GB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1259, allocations: 0 / 0.5034 GB, free: 14.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1259, allocations: 0 / 0.5034 GB, free: 14.61 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.01229/0.1382, allocations: 3.101 MB / 0.5064 GB, free: 11.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1383, allocations: 8.031 kB / 0.5064 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002968/0.1386, allocations: 140.1 kB / 0.5066 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.1397, allocations: 0.6156 MB / 0.5072 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/0.1397, allocations: 74.38 kB / 0.5072 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.1399, allocations: 96.38 kB / 0.5073 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.1425, allocations: 2.101 MB / 0.5094 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.1426, allocations: 0 / 0.5094 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.1427, allocations: 40 kB / 0.5094 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.1427, allocations: 20 kB / 0.5094 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.1447, allocations: 1.312 MB / 0.5107 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005894/0.1506, allocations: 2.988 MB / 0.5136 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.1532, allocations: 1.664 MB / 0.5153 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.1544, allocations: 0.8404 MB / 0.5161 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.1545, allocations: 25.3 kB / 0.5161 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/0.1546, allocations: 56.11 kB / 0.5161 GB, free: 1.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=147): time 3.808e-06/0.1546, allocations: 0 / 0.5161 GB, free: 1.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=147): time 0.2239/0.3785, allocations: 6.926 MB / 0.5229 GB, free: 29.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.3786, allocations: 127.2 kB / 0.523 GB, free: 29.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.3797, allocations: 0.6223 MB / 0.5236 GB, free: 29.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.3799, allocations: 63.05 kB / 0.5237 GB, free: 29.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.3801, allocations: 332.8 kB / 0.524 GB, free: 29.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.3805, allocations: 0.5116 MB / 0.5245 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/0.381, allocations: 274 kB / 0.5248 GB, free: 28.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.3811, allocations: 345 kB / 0.5251 GB, free: 28.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.3823, allocations: 0.8699 MB / 0.526 GB, free: 28.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.3837, allocations: 1.045 MB / 0.527 GB, free: 28.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/0.3863, allocations: 1.957 MB / 0.5289 GB, free: 27.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.3863, allocations: 3.938 kB / 0.5289 GB, free: 27.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009322/0.3956, allocations: 3.758 MB / 0.5326 GB, free: 25.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3956, allocations: 4.969 kB / 0.5326 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3956, allocations: 0 / 0.5326 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.4057, allocations: 3.55 MB / 0.536 GB, free: 25.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009247/0.4066, allocations: 225.7 kB / 0.5363 GB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01954/0.4261, allocations: 10.96 MB / 0.547 GB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.4272, allocations: 139 kB / 0.5471 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.4274, allocations: 62.88 kB / 0.5471 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.0004576/0.4279, allocations: 253.7 kB / 0.5474 GB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/0.4281, allocations: 111.3 kB / 0.5475 GB, free: 17.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008298/0.4364, allocations: 3.723 MB / 0.5511 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.4364, allocations: 16 kB / 0.5511 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4364, allocations: 3.938 kB / 0.5511 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.4364, allocations: 7.969 kB / 0.5512 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00943/0.4459, allocations: 4.761 MB / 0.5558 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4459, allocations: 3.984 kB / 0.5558 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.4464, allocations: 184.8 kB / 0.556 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008642/0.455, allocations: 2.716 MB / 0.5586 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.4551, allocations: 31.98 kB / 0.5587 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/0.4751, allocations: 10.77 MB / 0.5692 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4751, allocations: 0 / 0.5692 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.4853, allocations: 3.606 MB / 0.5727 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.4857, allocations: 122.9 kB / 0.5728 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.4859, allocations: 32 kB / 0.5729 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.487, allocations: 95.81 kB / 0.5729 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004464/0.4875, allocations: 134.3 kB / 0.5731 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/0.4876, allocations: 47.98 kB / 0.5731 GB, free: 7.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007187/0.4883, allocations: 427 kB / 0.5735 GB, free: 7 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4883, allocations: 0 / 0.5735 GB, free: 7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001717/0.4901, allocations: 0.5349 MB / 0.5741 GB, free: 6.465 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.0003819/0.4904, allocations: 151.7 kB / 0.5742 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007697/0.4981, allocations: 3.033 MB / 0.5772 GB, free: 3.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.4981, allocations: 4.656 kB / 0.5772 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00562/0.5038, allocations: 1.998 MB / 0.5791 GB, free: 1.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.5048, allocations: 142.9 kB / 0.5793 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.5093, allocations: 2.321 MB / 0.5815 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.5099, allocations: 499.6 kB / 0.582 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.5102, allocations: 103.4 kB / 0.5821 GB, free: 14.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5102, allocations: 0 / 0.5821 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Templates: time 0.03689/0.5471, allocations: 23.19 MB / 0.6047 GB, free: 6.992 MB / 430.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: 8.119587295223027] Failed to read output from testmodel.py, exit status != 0: 0.5553400148637593 0.57073794 0.44173195299999996 Calling exit ...