Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.00107/0.00107, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004077/0.004077, allocations: 159.7 kB / 24.69 MB, free: 8.898 MB / 18.57 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 0.8833/0.8833, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2368/0.2368, allocations: 29.41 MB / 290.8 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.313e-05, allocations: 8.047 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006624/0.006657, allocations: 7.087 MB / 438.6 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004431/0.01109, allocations: 3.863 MB / 442.4 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.01155, allocations: 15.94 kB / 442.5 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.01304, allocations: 1.03 MB / 443.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1879/0.201, allocations: 1.13 MB / 444.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.2017, allocations: 313 kB / 444.9 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.2028, allocations: 1.395 MB / 446.3 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005857/0.2034, allocations: 394.6 kB / 446.7 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008191/0.2042, allocations: 0.7319 MB / 447.4 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.2048, allocations: 0.5949 MB / 448 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.2048, allocations: 41.69 kB / 448.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.2058, allocations: 0.7983 MB / 448.9 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.206, allocations: 306.4 kB / 449.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2062, allocations: 176.4 kB / 449.3 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007963/0.207, allocations: 0.8425 MB / 450.2 MB, free: 43.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.207, allocations: 0 / 450.2 MB, free: 43.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.207, allocations: 0 / 450.2 MB, free: 43.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.207, allocations: 2.031 kB / 450.2 MB, free: 43.51 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0007331/0.2077, allocations: 0.7409 MB / 450.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2077, allocations: 13.55 kB / 450.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007816/0.2085, allocations: 135.7 kB / 451.1 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.2089, allocations: 275.4 kB / 451.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2089, allocations: 30.83 kB / 451.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.2089, allocations: 43.38 kB / 451.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.2094, allocations: 0.582 MB / 452 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.2094, allocations: 3.656 kB / 452 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.2094, allocations: 23.12 kB / 452 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.2095, allocations: 37.41 kB / 452.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.2098, allocations: 385.9 kB / 452.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.2111, allocations: 2.39 MB / 454.8 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.2115, allocations: 414 kB / 455.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.2116, allocations: 190.9 kB / 455.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.2116, allocations: 3.188 kB / 455.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.2117, allocations: 42.8 kB / 455.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.186e-06/0.2117, allocations: 0 / 455.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009528/0.2126, allocations: 0.676 MB / 456.1 MB, free: 40.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.2126, allocations: 112.5 kB / 456.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.2128, allocations: 306.7 kB / 456.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.2128, allocations: 32.67 kB / 456.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.2129, allocations: 251.4 kB / 456.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.213, allocations: 123.4 kB / 456.9 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.213, allocations: 89.62 kB / 457 MB, free: 40.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.2131, allocations: 342.9 kB / 457.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.2132, allocations: 129 kB / 457.5 MB, free: 39.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.2133, allocations: 283 kB / 457.8 MB, free: 39.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.2136, allocations: 459.2 kB / 458.2 MB, free: 39.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2136, allocations: 2.938 kB / 458.2 MB, free: 39.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004562/0.2141, allocations: 0.5501 MB / 458.8 MB, free: 38.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2141, allocations: 9.719 kB / 458.8 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2141, allocations: 3.125 kB / 458.8 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.2143, allocations: 124.6 kB / 458.9 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2145, allocations: 77.83 kB / 459 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.2158, allocations: 2.35 MB / 461.3 MB, free: 37.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.2159, allocations: 45.58 kB / 461.4 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.2159, allocations: 15.41 kB / 461.4 MB, free: 37.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.2161, allocations: 205.2 kB / 461.6 MB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.2161, allocations: 39.36 kB / 461.6 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.2162, allocations: 43.8 kB / 461.7 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2162, allocations: 3.125 kB / 461.7 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.2162, allocations: 6.312 kB / 461.7 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2162, allocations: 3 kB / 461.7 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006394/0.2168, allocations: 0.8258 MB / 462.5 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2168, allocations: 3.156 kB / 462.5 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.952e-05/0.2169, allocations: 37.14 kB / 462.5 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/0.217, allocations: 110.8 kB / 462.6 MB, free: 36.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.217, allocations: 15.19 kB / 462.7 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.2182, allocations: 2.337 MB / 465 MB, free: 34.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2182, allocations: 0 / 465 MB, free: 34.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.2186, allocations: 0.6282 MB / 465.6 MB, free: 34.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.2186, allocations: 41.14 kB / 465.7 MB, free: 34.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.2186, allocations: 9.938 kB / 465.7 MB, free: 34.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.2187, allocations: 7.188 kB / 465.7 MB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.2188, allocations: 26.89 kB / 465.7 MB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.2188, allocations: 13.62 kB / 465.7 MB, free: 34.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.2189, allocations: 201.8 kB / 465.9 MB, free: 34.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2189, allocations: 4 kB / 465.9 MB, free: 34.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000442/0.2193, allocations: 163.3 kB / 466.1 MB, free: 34.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.387e-05/0.2194, allocations: 106.3 kB / 466.2 MB, free: 33.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005188/0.2199, allocations: 0.5034 MB / 466.7 MB, free: 33.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2199, allocations: 0 / 466.7 MB, free: 33.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.2202, allocations: 332.8 kB / 467 MB, free: 33.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.2205, allocations: 54.61 kB / 467.1 MB, free: 33.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008227/0.2214, allocations: 0.862 MB / 467.9 MB, free: 33.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.2215, allocations: 283.9 kB / 468.2 MB, free: 32.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.2215, allocations: 24.31 kB / 468.2 MB, free: 32.97 MB / 410.7 MB Notification: Performance of SimCode: time 9.91e-07/0.2215, allocations: 0 / 468.2 MB, free: 32.97 MB / 410.7 MB Notification: Performance of Templates: time 0.005333/0.2269, allocations: 6.249 MB / 474.5 MB, free: 32.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.971602345816791] Failed to read output from testmodel.py, exit status != 0: 0.23335289023816586 0.24154135099999996 0.032587875 Calling exit ...