Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.00156/0.00156, allocations: 85.44 kB / 20.68 MB, free: 1.035 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.002181/0.002181, allocations: 167.6 kB / 23.95 MB, free: 4.172 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.552/1.552, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.1862/0.1862, allocations: 29.42 MB / 290.1 MB, free: 3.277 MB / 270.1 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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.072e-05/4.278e-05, allocations: 9.453 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.00751/0.007553, allocations: 4.744 MB / 435.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.01028, allocations: 1.243 MB / 436.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003257/0.01061, allocations: 23.81 kB / 436.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.01109, allocations: 115.1 kB / 436.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008563/0.01194, allocations: 342.1 kB / 437.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.01243, allocations: 171.6 kB / 437.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009838/0.01342, allocations: 0.6889 MB / 438 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.01364, allocations: 96.67 kB / 438.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007994/0.01444, allocations: 398.8 kB / 438.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000721/0.01516, allocations: 423 kB / 438.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.01528, allocations: 52 kB / 439 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.01542, allocations: 48 kB / 439 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.01571, allocations: 251.3 kB / 439.3 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.01602, allocations: 199.5 kB / 439.5 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007266/0.01674, allocations: 0.6036 MB / 440.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.01675, allocations: 8 kB / 440.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01675, allocations: 0 / 440.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.01676, allocations: 0 / 440.1 MB, free: 8.527 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002035/0.0188, allocations: 0.8911 MB / 441 MB, free: 7.605 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.01884, allocations: 15.97 kB / 441 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.01897, allocations: 56.61 kB / 441 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.0202, allocations: 0.5378 MB / 441.6 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.02023, allocations: 29.03 kB / 441.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.02034, allocations: 43.94 kB / 441.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/0.02123, allocations: 0.548 MB / 442.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.02125, allocations: 3.938 kB / 442.2 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.02129, allocations: 12 kB / 442.2 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000344/0.02164, allocations: 92.52 kB / 442.3 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006114/0.02225, allocations: 354.3 kB / 442.7 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003019/0.02527, allocations: 1.876 MB / 444.5 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009012/0.02617, allocations: 377.1 kB / 444.9 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/0.02682, allocations: 317.6 kB / 445.2 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.02685, allocations: 4 kB / 445.2 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.02689, allocations: 34.56 kB / 445.2 MB, free: 3.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.02689, allocations: 4 kB / 445.2 MB, free: 3.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.004524/0.03141, allocations: 1.952 MB / 447.2 MB, free: 1.164 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.03148, allocations: 85.05 kB / 447.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.0319, allocations: 377.5 kB / 447.7 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.03195, allocations: 33.7 kB / 447.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.03218, allocations: 260.7 kB / 447.9 MB, free: 400 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.03232, allocations: 142.8 kB / 448.1 MB, free: 256 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.03252, allocations: 98.14 kB / 448.2 MB, free: 152 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1917/0.2242, allocations: 362 kB / 448.5 MB, free: 29.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006436/0.2248, allocations: 240 kB / 448.8 MB, free: 29.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.2253, allocations: 362.6 kB / 449.1 MB, free: 29.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.2262, allocations: 0.6172 MB / 449.7 MB, free: 29.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2262, allocations: 1.125 kB / 449.7 MB, free: 29.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00198/0.2282, allocations: 1.016 MB / 450.8 MB, free: 29.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.2282, allocations: 7.547 kB / 450.8 MB, free: 29.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2282, allocations: 4.5 kB / 450.8 MB, free: 29.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.2293, allocations: 406.5 kB / 451.2 MB, free: 29.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.2296, allocations: 88.02 kB / 451.2 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004958/0.2346, allocations: 4.853 MB / 456.1 MB, free: 26.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.235, allocations: 41.73 kB / 456.1 MB, free: 26.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.2351, allocations: 18.92 kB / 456.2 MB, free: 26.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000374/0.2354, allocations: 211.8 kB / 456.4 MB, free: 25.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2355, allocations: 42.14 kB / 456.4 MB, free: 25.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/0.2374, allocations: 0.8262 MB / 457.2 MB, free: 25.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.2374, allocations: 4.406 kB / 457.2 MB, free: 25.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.2374, allocations: 2.438 kB / 457.2 MB, free: 25.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.2374, allocations: 2.969 kB / 457.2 MB, free: 25.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.2395, allocations: 1.283 MB / 458.5 MB, free: 25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2395, allocations: 0 / 458.5 MB, free: 25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.2397, allocations: 42.62 kB / 458.6 MB, free: 25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/0.2409, allocations: 445.3 kB / 459 MB, free: 24.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-05/0.241, allocations: 36.89 kB / 459 MB, free: 24.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004732/0.2457, allocations: 6.208 MB / 465.2 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2457, allocations: 0 / 465.2 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.2475, allocations: 1.116 MB / 466.4 MB, free: 19.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.154e-05/0.2476, allocations: 41.55 kB / 466.4 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/0.2477, allocations: 35.39 kB / 466.4 MB, free: 19.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.248, allocations: 34.98 kB / 466.5 MB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.2481, allocations: 41.22 kB / 466.5 MB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.2482, allocations: 10.45 kB / 466.5 MB, free: 19.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002867/0.2485, allocations: 262.7 kB / 466.8 MB, free: 19.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2485, allocations: 0 / 466.8 MB, free: 19.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007233/0.2492, allocations: 159.7 kB / 466.9 MB, free: 19.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002069/0.2494, allocations: 112.3 kB / 467 MB, free: 18.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.2511, allocations: 0.8797 MB / 467.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2511, allocations: 0 / 467.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.2525, allocations: 0.8475 MB / 468.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.2532, allocations: 128.2 kB / 468.9 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.2555, allocations: 1.539 MB / 470.4 MB, free: 17.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.2559, allocations: 280.7 kB / 470.7 MB, free: 17.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002261/0.2561, allocations: 76.19 kB / 470.8 MB, free: 17.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.538e-05/0.2562, allocations: 35.47 kB / 470.8 MB, free: 17.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2562, allocations: 0 / 470.8 MB, free: 17.02 MB / 366.1 MB Notification: Performance of Templates: time 0.01376/0.27, allocations: 7.994 MB / 478.8 MB, free: 13.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.258200749754906] Failed to read output from testmodel.py, exit status != 0: 0.27983929589390755 0.289454914 0.269973884 Calling exit ...