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.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.001246/0.001246, allocations: 107.1 kB / 17.8 MB, free: 5.254 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.001206/0.001206, allocations: 187.8 kB / 20.74 MB, free: 2.32 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.333/1.333, allocations: 222.9 MB / 246.4 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1448/0.1448, allocations: 8.084 MB / 306.7 MB, free: 2.676 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(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.001832/0.001832, allocations: 67.89 kB / 423.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2045, allocations: 51.52 MB / 475.4 MB, free: 22.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004389/0.2089, allocations: 5.912 MB / 481.3 MB, free: 17.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.2117, allocations: 2.338 MB / 483.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.212, allocations: 21.91 kB / 483.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.2125, allocations: 315.2 kB / 484 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009486/0.2135, allocations: 0.601 MB / 484.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.216, allocations: 1.445 MB / 486 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.2174, allocations: 1.314 MB / 487.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.2179, allocations: 412.1 kB / 487.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004342/0.2184, allocations: 0.5446 MB / 488.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005999/0.219, allocations: 0.6933 MB / 489 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.2191, allocations: 103 kB / 489.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000633/0.2198, allocations: 346.2 kB / 489.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.2199, allocations: 265.5 kB / 489.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003848/0.2203, allocations: 0.6081 MB / 490.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.2215, allocations: 1.421 MB / 491.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2215, allocations: 0 / 491.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2215, allocations: 1.781 kB / 491.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.2215, allocations: 0 / 491.7 MB, free: 10.12 MB / 350.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.01105/0.2326, allocations: 3.194 MB / 494.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2326, allocations: 12.92 kB / 494.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.2329, allocations: 142.7 kB / 495.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007931/0.2337, allocations: 0.6816 MB / 495.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.2337, allocations: 69.16 kB / 495.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.2339, allocations: 96.84 kB / 495.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.2355, allocations: 1.348 MB / 497.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.2355, allocations: 4 kB / 497.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.2356, allocations: 36 kB / 497.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2356, allocations: 20 kB / 497.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.237, allocations: 1.281 MB / 498.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004971/0.242, allocations: 5.223 MB / 0.492 GB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.2452, allocations: 3.112 MB / 0.495 GB, free: 12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.2466, allocations: 0.9771 MB / 0.496 GB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.2468, allocations: 33.27 kB / 0.496 GB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.2468, allocations: 60.05 kB / 0.4961 GB, free: 10.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 2.835e-06/0.2468, allocations: 0 / 0.4961 GB, free: 10.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.02706/0.2739, allocations: 7.073 MB / 0.503 GB, free: 3.812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.274, allocations: 120.1 kB / 0.5031 GB, free: 3.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009342/0.2749, allocations: 0.641 MB / 0.5037 GB, free: 3.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.2751, allocations: 61.7 kB / 0.5038 GB, free: 2.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.2754, allocations: 338.8 kB / 0.5041 GB, free: 2.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004647/0.2759, allocations: 0.515 MB / 0.5046 GB, free: 2.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004846/0.2764, allocations: 271.6 kB / 0.5049 GB, free: 1.828 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2765, allocations: 349.9 kB / 0.5052 GB, free: 1.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.2779, allocations: 0.8552 MB / 0.5061 GB, free: 0.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.2794, allocations: 0.9806 MB / 0.507 GB, free: 15.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00293/0.2823, allocations: 1.943 MB / 0.5089 GB, free: 13.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.2823, allocations: 4 kB / 0.5089 GB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009972/0.2923, allocations: 3.823 MB / 0.5126 GB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.2924, allocations: 4 kB / 0.5126 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.2924, allocations: 0 / 0.5126 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01116/0.3035, allocations: 3.938 MB / 0.5165 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009133/0.3045, allocations: 223.7 kB / 0.5167 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02318/0.3277, allocations: 11.47 MB / 0.5279 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.329, allocations: 142.9 kB / 0.528 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.3292, allocations: 55.98 kB / 0.5281 GB, free: 9.91 MB / 398.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.0005184/0.3297, allocations: 257.7 kB / 0.5283 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.33, allocations: 111.3 kB / 0.5284 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00998/0.34, allocations: 3.793 MB / 0.5322 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.34, allocations: 19.94 kB / 0.5322 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.34, allocations: 3.938 kB / 0.5322 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.3401, allocations: 7.969 kB / 0.5322 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.3522, allocations: 5.316 MB / 0.5374 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.3522, allocations: 0 / 0.5374 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.3528, allocations: 175.7 kB / 0.5375 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01012/0.363, allocations: 2.731 MB / 0.5402 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.3632, allocations: 32 kB / 0.5402 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02257/0.3858, allocations: 11.26 MB / 0.5512 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3858, allocations: 0 / 0.5512 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.3959, allocations: 3.669 MB / 0.5548 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/0.3963, allocations: 212 kB / 0.555 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.3965, allocations: 35.94 kB / 0.5551 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.3977, allocations: 83.92 kB / 0.5551 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004038/0.3981, allocations: 122.4 kB / 0.5552 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.3982, allocations: 47.98 kB / 0.5553 GB, free: 13.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006726/0.3989, allocations: 443 kB / 0.5557 GB, free: 13.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3989, allocations: 0 / 0.5557 GB, free: 13.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001593/0.4005, allocations: 0.5388 MB / 0.5562 GB, free: 12.8 MB / 430.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.0003366/0.4009, allocations: 163.7 kB / 0.5564 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007422/0.4083, allocations: 3.185 MB / 0.5595 GB, free: 9.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/0.4083, allocations: 0.6562 kB / 0.5595 GB, free: 9.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005491/0.4138, allocations: 2.127 MB / 0.5616 GB, free: 7.289 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.4149, allocations: 146.9 kB / 0.5617 GB, free: 7.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.4191, allocations: 2.237 MB / 0.5639 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008/0.4199, allocations: 1.092 MB / 0.565 GB, free: 3.762 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.4202, allocations: 95.41 kB / 0.5651 GB, free: 3.668 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4203, allocations: 0 / 0.5651 GB, free: 3.668 MB / 430.1 MB Notification: Performance of Templates: time 0.1994/0.6197, allocations: 22.7 MB / 0.5872 GB, free: 104.4 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: 7.9452583740931] Failed to read output from testmodel.py, exit status != 0: 0.6262552968692034 0.635439232 0.412017708 Calling exit ...