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.001574/0.001574, allocations: 112.7 kB / 17.85 MB, free: 5.219 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.001767/0.001767, allocations: 187.7 kB / 20.79 MB, free: 2.285 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.536/1.536, allocations: 225.6 MB / 249.2 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] 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.05329/0.05329, allocations: 8.227 MB / 312.3 MB, free: 2.051 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.00193/0.00193, allocations: 67.83 kB / 435.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2496, allocations: 54.36 MB / 489.5 MB, free: 27.64 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.005031/0.2546, allocations: 5.928 MB / 495.4 MB, free: 22.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.2583, allocations: 2.354 MB / 497.8 MB, free: 21.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.2586, allocations: 17.03 kB / 497.8 MB, free: 21.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.2592, allocations: 315.4 kB / 498.1 MB, free: 20.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009574/0.2602, allocations: 0.6051 MB / 498.7 MB, free: 20.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.2624, allocations: 1.462 MB / 0.4885 GB, free: 19.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.2636, allocations: 1.306 MB / 0.4897 GB, free: 18.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.2639, allocations: 286.8 kB / 0.49 GB, free: 18.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000494/0.2644, allocations: 0.5421 MB / 0.4905 GB, free: 17.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006557/0.2651, allocations: 0.6969 MB / 0.4912 GB, free: 17.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.2653, allocations: 102.9 kB / 0.4913 GB, free: 17.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006118/0.2659, allocations: 350.2 kB / 0.4917 GB, free: 17.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.266, allocations: 262.7 kB / 0.4919 GB, free: 17.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004511/0.2665, allocations: 0.6075 MB / 0.4925 GB, free: 16.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.2678, allocations: 1.42 MB / 0.4939 GB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2678, allocations: 1.125 kB / 0.4939 GB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2678, allocations: 0 / 0.4939 GB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.2678, allocations: 0 / 0.4939 GB, free: 15.7 MB / 366.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.01149/0.2793, allocations: 3.19 MB / 0.497 GB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2793, allocations: 18.33 kB / 0.497 GB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002648/0.2796, allocations: 142.9 kB / 0.4972 GB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000872/0.2805, allocations: 0.6854 MB / 0.4978 GB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.2805, allocations: 73.53 kB / 0.4979 GB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.2807, allocations: 96.12 kB / 0.498 GB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.2825, allocations: 1.341 MB / 0.4993 GB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.2825, allocations: 5.359 kB / 0.4993 GB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.635e-05/0.2826, allocations: 37.84 kB / 0.4993 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.2826, allocations: 23.94 kB / 0.4994 GB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.2843, allocations: 1.279 MB / 0.5006 GB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005519/0.2898, allocations: 5.219 MB / 0.5057 GB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.292, allocations: 2.933 MB / 0.5086 GB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009422/0.293, allocations: 0.8293 MB / 0.5094 GB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.2931, allocations: 33.27 kB / 0.5094 GB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.2931, allocations: 60.05 kB / 0.5095 GB, free: 3.352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 2.835e-06/0.2931, allocations: 0 / 0.5095 GB, free: 3.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.02553/0.3187, allocations: 6.987 MB / 0.5163 GB, free: 12.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/0.3188, allocations: 124.1 kB / 0.5164 GB, free: 12.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009772/0.3197, allocations: 0.641 MB / 0.517 GB, free: 11.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.3199, allocations: 57.7 kB / 0.5171 GB, free: 11.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.3202, allocations: 338.8 kB / 0.5174 GB, free: 11.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/0.3207, allocations: 0.5111 MB / 0.5179 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004815/0.3212, allocations: 275.6 kB / 0.5182 GB, free: 10.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3213, allocations: 349.9 kB / 0.5185 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.3227, allocations: 0.8552 MB / 0.5193 GB, free: 9.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.3241, allocations: 0.9729 MB / 0.5203 GB, free: 8.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/0.3271, allocations: 1.943 MB / 0.5222 GB, free: 6.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3271, allocations: 0 / 0.5222 GB, free: 6.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009847/0.3369, allocations: 3.737 MB / 0.5258 GB, free: 2.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.3369, allocations: 4 kB / 0.5258 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.337, allocations: 4 kB / 0.5258 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/0.3481, allocations: 3.934 MB / 0.5297 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009132/0.349, allocations: 223.7 kB / 0.5299 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/0.3713, allocations: 11.45 MB / 0.5411 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.3726, allocations: 146.9 kB / 0.5412 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.3727, allocations: 55.98 kB / 0.5413 GB, free: 2.527 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.0005025/0.3732, allocations: 257.7 kB / 0.5415 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.3735, allocations: 111.3 kB / 0.5416 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009993/0.3835, allocations: 3.707 MB / 0.5453 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.3835, allocations: 19.94 kB / 0.5453 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3835, allocations: 7.875 kB / 0.5453 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.3835, allocations: 7.969 kB / 0.5453 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.3951, allocations: 5.223 MB / 0.5504 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.3951, allocations: 0 / 0.5504 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005696/0.3957, allocations: 175.7 kB / 0.5506 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009896/0.4056, allocations: 2.727 MB / 0.5532 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.4057, allocations: 32 kB / 0.5532 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/0.4271, allocations: 11.26 MB / 0.5642 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4271, allocations: 4 kB / 0.5642 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009512/0.4366, allocations: 3.579 MB / 0.5677 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.4369, allocations: 208 kB / 0.5679 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.4371, allocations: 27.94 kB / 0.568 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009156/0.438, allocations: 91.92 kB / 0.5681 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/0.4383, allocations: 118.4 kB / 0.5682 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.4384, allocations: 55.98 kB / 0.5682 GB, free: 6.648 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005895/0.439, allocations: 431 kB / 0.5686 GB, free: 6.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.439, allocations: 0 / 0.5686 GB, free: 6.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001392/0.4404, allocations: 0.5427 MB / 0.5692 GB, free: 5.688 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.0003025/0.4407, allocations: 159.7 kB / 0.5693 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006896/0.4476, allocations: 2.999 MB / 0.5722 GB, free: 2.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.4476, allocations: 4.656 kB / 0.5722 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005035/0.4527, allocations: 1.984 MB / 0.5742 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008235/0.4535, allocations: 144.7 kB / 0.5743 GB, free: 376 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.4572, allocations: 2.24 MB / 0.5765 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.4579, allocations: 1.092 MB / 0.5776 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.4581, allocations: 91.41 kB / 0.5777 GB, free: 12.89 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4581, allocations: 4 kB / 0.5777 GB, free: 12.89 MB / 446.1 MB Notification: Performance of Templates: time 0.03026/0.4884, allocations: 22.83 MB / 0.6 GB, free: 6.086 MB / 462.1 MB " [Timeout remaining time 660] 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.495159903002786] Failed to read output from testmodel.py, exit status != 0: 0.4961380050081061 0.682921633 0.412709165 Calling exit ...