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.001315/0.001315, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001549/0.001549, allocations: 220.9 kB / 23.03 MB, free: 5.016 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.03995/0.03995, allocations: 6.15 MB / 319.4 MB, free: 12.8 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.001625/0.001625, allocations: 51.92 kB / 444.9 MB, free: 4.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1154, allocations: 55.03 MB / 500 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.005058/0.1204, allocations: 3.253 MB / 0.4914 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.1236, allocations: 1.929 MB / 0.4933 GB, free: 8.324 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.1238, allocations: 8 kB / 0.4933 GB, free: 8.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.1243, allocations: 234.5 kB / 0.4935 GB, free: 8.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007917/0.1251, allocations: 373.6 kB / 0.4939 GB, free: 7.719 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.1276, allocations: 1.219 MB / 0.4951 GB, free: 6.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009553/0.1286, allocations: 0.7619 MB / 0.4958 GB, free: 5.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.1289, allocations: 166 kB / 0.496 GB, free: 5.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.1293, allocations: 326.7 kB / 0.4963 GB, free: 5.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005203/0.1298, allocations: 378.2 kB / 0.4966 GB, free: 4.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.1299, allocations: 64 kB / 0.4967 GB, free: 4.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/0.1305, allocations: 283.8 kB / 0.497 GB, free: 4.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.1306, allocations: 159.3 kB / 0.4971 GB, free: 4.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.131, allocations: 310.5 kB / 0.4974 GB, free: 4.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.1323, allocations: 0.934 MB / 0.4983 GB, free: 3.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1323, allocations: 0 / 0.4983 GB, free: 3.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1323, allocations: 0 / 0.4983 GB, free: 3.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.1323, allocations: 0 / 0.4983 GB, free: 3.137 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.0085/0.1408, allocations: 2.076 MB / 0.5004 GB, free: 1.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1408, allocations: 8.031 kB / 0.5004 GB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.141, allocations: 92.45 kB / 0.5005 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007226/0.1417, allocations: 424.1 kB / 0.5009 GB, free: 496 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.1418, allocations: 49.38 kB / 0.5009 GB, free: 448 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.1419, allocations: 64.36 kB / 0.501 GB, free: 384 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.1436, allocations: 1.278 MB / 0.5022 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1436, allocations: 192 / 0.5022 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.1437, allocations: 27.94 kB / 0.5023 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1437, allocations: 12 kB / 0.5023 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.145, allocations: 0.8005 MB / 0.503 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004155/0.1492, allocations: 1.888 MB / 0.5049 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.151, allocations: 0.965 MB / 0.5058 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008316/0.1518, allocations: 0.5153 MB / 0.5063 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.1519, allocations: 17 kB / 0.5063 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.152, allocations: 51.5 kB / 0.5064 GB, free: 10.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 2.274e-06/0.152, allocations: 0 / 0.5064 GB, free: 10.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.0151/0.1671, allocations: 3.846 MB / 0.5102 GB, free: 6.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.1671, allocations: 111.8 kB / 0.5103 GB, free: 6.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006414/0.1678, allocations: 429.7 kB / 0.5107 GB, free: 6.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.1679, allocations: 49.7 kB / 0.5107 GB, free: 6.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.1682, allocations: 237.8 kB / 0.5109 GB, free: 5.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.1685, allocations: 317.2 kB / 0.5112 GB, free: 5.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.1689, allocations: 178.6 kB / 0.5114 GB, free: 5.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002708/0.1692, allocations: 378.7 kB / 0.5118 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009681/0.1701, allocations: 0.5408 MB / 0.5123 GB, free: 4.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.1713, allocations: 0.6765 MB / 0.513 GB, free: 3.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.1734, allocations: 1.224 MB / 0.5142 GB, free: 2.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1734, allocations: 0 / 0.5142 GB, free: 2.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006566/0.18, allocations: 2.347 MB / 0.5165 GB, free: 256 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.18, allocations: 4 kB / 0.5165 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.18, allocations: 7.938 kB / 0.5165 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2434/0.4234, allocations: 1.685 MB / 0.5181 GB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006323/0.424, allocations: 146 kB / 0.5183 GB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.4369, allocations: 6.997 MB / 0.5251 GB, free: 27.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008169/0.4377, allocations: 93.08 kB / 0.5252 GB, free: 27.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-05/0.4378, allocations: 32.44 kB / 0.5252 GB, free: 27.42 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.0003004/0.4381, allocations: 210.6 kB / 0.5254 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.4382, allocations: 66.86 kB / 0.5255 GB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006076/0.4443, allocations: 2.29 MB / 0.5277 GB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.4443, allocations: 11.12 kB / 0.5277 GB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4443, allocations: 1.188 kB / 0.5277 GB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.4443, allocations: 5.109 kB / 0.5277 GB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007358/0.4517, allocations: 2.974 MB / 0.5306 GB, free: 25.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.4517, allocations: 1.656 kB / 0.5306 GB, free: 25.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.4521, allocations: 110.2 kB / 0.5307 GB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006413/0.4585, allocations: 1.496 MB / 0.5322 GB, free: 24.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.4586, allocations: 19.55 kB / 0.5322 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/0.4712, allocations: 6.896 MB / 0.5389 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4712, allocations: 4 kB / 0.539 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005937/0.4771, allocations: 2.244 MB / 0.5411 GB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.4773, allocations: 84.8 kB / 0.5412 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.4774, allocations: 16.72 kB / 0.5412 GB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.478, allocations: 60.83 kB / 0.5413 GB, free: 19.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.4783, allocations: 81 kB / 0.5414 GB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.865e-05/0.4784, allocations: 32.64 kB / 0.5414 GB, free: 19.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003426/0.4787, allocations: 294.4 kB / 0.5417 GB, free: 19.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4787, allocations: 0 / 0.5417 GB, free: 19.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001021/0.4797, allocations: 335.9 kB / 0.542 GB, free: 19.43 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.0002194/0.48, allocations: 142.7 kB / 0.5421 GB, free: 19.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004202/0.4842, allocations: 1.86 MB / 0.544 GB, free: 18.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.4842, allocations: 3.781 kB / 0.544 GB, free: 18.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002937/0.4871, allocations: 1.225 MB / 0.5452 GB, free: 18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.4877, allocations: 86.83 kB / 0.5452 GB, free: 17.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.4896, allocations: 1.454 MB / 0.5467 GB, free: 17.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.4898, allocations: 320.2 kB / 0.547 GB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002613/0.4901, allocations: 89.75 kB / 0.5471 GB, free: 17.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.4902, allocations: 62.53 kB / 0.5471 GB, free: 17.04 MB / 382.1 MB Notification: Performance of SimCode: time 5.72e-07/0.4902, allocations: 3.281 kB / 0.5471 GB, free: 17.04 MB / 382.1 MB Notification: Performance of Templates: time 0.02644/0.5167, allocations: 22.72 MB / 0.5693 GB, free: 10.84 MB / 398.1 MB " [Timeout remaining time 659] 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: 5.880231479182839] Failed to read output from testmodel.py, exit status != 0: 0.5248495358973742 0.540311882 0.40495360900000005 Calling exit ...