Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.001316/0.001316, allocations: 105 kB / 20.49 MB, free: 1.457 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.001465/0.001465, allocations: 218.2 kB / 23.8 MB, free: 4.652 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.44/1.44, allocations: 230.6 MB / 257.6 MB, free: 8.031 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.03692/0.03692, allocations: 6.143 MB / 320.1 MB, free: 12.95 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.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 39.94 kB / 445.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.09142, allocations: 55.02 MB / 0.489 GB, free: 13.74 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004864/0.09628, allocations: 3.762 MB / 0.4927 GB, free: 9.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.09912, allocations: 2.003 MB / 0.4947 GB, free: 7.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.0993, allocations: 15.94 kB / 0.4947 GB, free: 7.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004924/0.09979, allocations: 222.6 kB / 0.4949 GB, free: 7.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007382/0.1005, allocations: 377.6 kB / 0.4953 GB, free: 7.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.103, allocations: 1.327 MB / 0.4966 GB, free: 6.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009195/0.104, allocations: 0.7697 MB / 0.4973 GB, free: 5.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.1043, allocations: 178 kB / 0.4975 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.1046, allocations: 330.7 kB / 0.4978 GB, free: 4.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.1051, allocations: 418.3 kB / 0.4982 GB, free: 4.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.936e-05/0.1052, allocations: 64 kB / 0.4983 GB, free: 4.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005232/0.1058, allocations: 299.8 kB / 0.4985 GB, free: 3.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.1059, allocations: 163.4 kB / 0.4987 GB, free: 3.824 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.1062, allocations: 378 kB / 0.4991 GB, free: 3.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.1073, allocations: 0.93 MB / 0.5 GB, free: 2.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1073, allocations: 0 / 0.5 GB, free: 2.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1073, allocations: 0 / 0.5 GB, free: 2.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.1073, allocations: 0 / 0.5 GB, free: 2.52 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.008571/0.1159, allocations: 2.08 MB / 0.502 GB, free: 412 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1159, allocations: 8.031 kB / 0.502 GB, free: 404 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.1161, allocations: 88.45 kB / 0.5021 GB, free: 316 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/0.1168, allocations: 424.3 kB / 0.5025 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.1168, allocations: 49.31 kB / 0.5025 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.1169, allocations: 60.38 kB / 0.5026 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.1183, allocations: 0.847 MB / 0.5034 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1183, allocations: 8.125 kB / 0.5034 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.1184, allocations: 23.94 kB / 0.5035 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1184, allocations: 12 kB / 0.5035 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.1197, allocations: 0.8122 MB / 0.5043 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004291/0.124, allocations: 2.616 MB / 0.5068 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.1256, allocations: 0.9728 MB / 0.5078 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008036/0.1264, allocations: 0.5143 MB / 0.5083 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.1265, allocations: 20.97 kB / 0.5083 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.1266, allocations: 55.5 kB / 0.5083 GB, free: 9.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 2.244e-06/0.1266, allocations: 4 kB / 0.5083 GB, free: 9.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.01526/0.1418, allocations: 3.846 MB / 0.5121 GB, free: 5.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/0.1419, allocations: 115.8 kB / 0.5122 GB, free: 5.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.1425, allocations: 429.7 kB / 0.5126 GB, free: 5.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.266e-05/0.1425, allocations: 49.7 kB / 0.5127 GB, free: 5.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.1427, allocations: 225.8 kB / 0.5129 GB, free: 5.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.143, allocations: 325.2 kB / 0.5132 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.1433, allocations: 182.6 kB / 0.5134 GB, free: 4.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1435, allocations: 366.8 kB / 0.5137 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008903/0.1444, allocations: 0.5408 MB / 0.5142 GB, free: 3.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009651/0.1454, allocations: 0.6302 MB / 0.5149 GB, free: 2.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.1473, allocations: 1.224 MB / 0.5161 GB, free: 1.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1473, allocations: 4 kB / 0.5161 GB, free: 1.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.1908/0.3381, allocations: 2.337 MB / 0.5183 GB, free: 29.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3381, allocations: 10.56 kB / 0.5184 GB, free: 29.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3381, allocations: 0.5156 kB / 0.5184 GB, free: 29.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00652/0.3447, allocations: 1.698 MB / 0.52 GB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.3453, allocations: 148.5 kB / 0.5202 GB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.3581, allocations: 7.231 MB / 0.5272 GB, free: 26.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.3589, allocations: 96.02 kB / 0.5273 GB, free: 26.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.3589, allocations: 37.88 kB / 0.5273 GB, free: 26.57 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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0002726/0.3592, allocations: 206.2 kB / 0.5275 GB, free: 26.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.3594, allocations: 70.25 kB / 0.5276 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006323/0.3657, allocations: 2.293 MB / 0.5298 GB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3657, allocations: 9.625 kB / 0.5299 GB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3657, allocations: 0 / 0.5299 GB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.3657, allocations: 6.672 kB / 0.5299 GB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00729/0.373, allocations: 3.261 MB / 0.533 GB, free: 24.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.373, allocations: 0 / 0.533 GB, free: 24.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.3734, allocations: 111.1 kB / 0.5332 GB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006555/0.3799, allocations: 1.497 MB / 0.5346 GB, free: 23.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.252e-05/0.38, allocations: 21.03 kB / 0.5346 GB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/0.392, allocations: 7.134 MB / 0.5416 GB, free: 19.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.392, allocations: 5.062 kB / 0.5416 GB, free: 19.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/0.3978, allocations: 2.244 MB / 0.5438 GB, free: 18.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.398, allocations: 82.41 kB / 0.5439 GB, free: 18.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.3981, allocations: 16.88 kB / 0.5439 GB, free: 18.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/0.3987, allocations: 57.5 kB / 0.5439 GB, free: 18.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.3989, allocations: 79.27 kB / 0.544 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/0.399, allocations: 28.56 kB / 0.5441 GB, free: 18.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003354/0.3993, allocations: 292.7 kB / 0.5443 GB, free: 18.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3993, allocations: 3.062 kB / 0.5443 GB, free: 18.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009917/0.4003, allocations: 332.8 kB / 0.5446 GB, free: 18.14 MB / 382.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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002224/0.4005, allocations: 148.4 kB / 0.5448 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003941/0.4045, allocations: 1.858 MB / 0.5466 GB, free: 17.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4045, allocations: 0 / 0.5466 GB, free: 17.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002874/0.4074, allocations: 1.235 MB / 0.5478 GB, free: 16.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.4079, allocations: 85.02 kB / 0.5479 GB, free: 16.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.41, allocations: 1.476 MB / 0.5493 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.4103, allocations: 0.9187 MB / 0.5502 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.4105, allocations: 68.94 kB / 0.5503 GB, free: 14.61 MB / 382.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4105, allocations: 3.469 kB / 0.5503 GB, free: 14.61 MB / 382.1 MB Notification: Performance of Templates: time 0.01413/0.4246, allocations: 14.12 MB / 0.5641 GB, free: 1.109 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.952893034787849] Failed to read output from testmodel.py, exit status != 0: 0.4315466999541968 0.447003689 0.336654954 Calling exit ...