Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.00139/0.00139, allocations: 85.91 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.001606/0.001606, allocations: 168.8 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.497/1.497, allocations: 177.2 MB / 204.3 MB, free: 9.164 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.1822/0.1822, allocations: 29.44 MB / 290.1 MB, free: 3.27 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.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.535e-05, allocations: 6.219 kB / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007188/0.007214, allocations: 4.988 MB / 435.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.01071, allocations: 1.671 MB / 437.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.01093, allocations: 23.81 kB / 437.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.01238, allocations: 429.9 kB / 437.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007568/0.01313, allocations: 314.1 kB / 438.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.01428, allocations: 394.8 kB / 438.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.01537, allocations: 0.7596 MB / 439.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006565/0.01602, allocations: 298.3 kB / 439.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009252/0.01695, allocations: 446.7 kB / 440 MB, free: 8.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008469/0.0178, allocations: 439 kB / 440.4 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.01795, allocations: 55.94 kB / 440.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.01845, allocations: 179.7 kB / 440.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.01884, allocations: 303.2 kB / 441 MB, free: 7.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.01932, allocations: 235.5 kB / 441.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.02072, allocations: 0.8452 MB / 442 MB, free: 6.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.02073, allocations: 0 / 442 MB, free: 6.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02073, allocations: 0 / 442 MB, free: 6.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.588e-05/0.02076, allocations: 4 kB / 442 MB, free: 6.555 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002316/0.02308, allocations: 0.8531 MB / 442.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.02313, allocations: 15.98 kB / 442.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.02441, allocations: 168.4 kB / 443.1 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.02552, allocations: 484.6 kB / 443.5 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.02555, allocations: 29.38 kB / 443.6 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003934/0.02595, allocations: 140.4 kB / 443.7 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.02732, allocations: 0.8587 MB / 444.6 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.02734, allocations: 3.938 kB / 444.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.02741, allocations: 23.98 kB / 444.6 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005292/0.02794, allocations: 68.94 kB / 444.7 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.02913, allocations: 0.6204 MB / 445.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1932/0.2223, allocations: 3.497 MB / 448.8 MB, free: 28.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.2237, allocations: 0.5252 MB / 449.3 MB, free: 28.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/0.2244, allocations: 307.8 kB / 449.6 MB, free: 28.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.076e-05/0.2244, allocations: 11.67 kB / 449.6 MB, free: 28.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.2245, allocations: 39.28 kB / 449.7 MB, free: 28.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.006e-06/0.2245, allocations: 0 / 449.7 MB, free: 28.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=49): time 0.003473/0.2279, allocations: 1.779 MB / 451.4 MB, free: 27.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.228, allocations: 83.05 kB / 451.5 MB, free: 27.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.2285, allocations: 421.6 kB / 451.9 MB, free: 27.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.2285, allocations: 32.2 kB / 452 MB, free: 27.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.2287, allocations: 339.9 kB / 452.3 MB, free: 26.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.2289, allocations: 206.7 kB / 452.5 MB, free: 26.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.2291, allocations: 148.1 kB / 452.6 MB, free: 26.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.2292, allocations: 366.8 kB / 453 MB, free: 26.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/0.2298, allocations: 381.3 kB / 453.4 MB, free: 26.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/0.2305, allocations: 0.5974 MB / 454 MB, free: 25.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.2319, allocations: 1.068 MB / 455 MB, free: 25.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.2319, allocations: 1.375 kB / 455 MB, free: 25.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004999/0.2369, allocations: 1.98 MB / 457 MB, free: 24.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.2369, allocations: 8.828 kB / 457 MB, free: 24.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.237, allocations: 11.11 kB / 457 MB, free: 24.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00288/0.2398, allocations: 0.9619 MB / 458 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.2403, allocations: 118.1 kB / 458.1 MB, free: 24.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.2511, allocations: 7.858 MB / 466 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.2517, allocations: 39.42 kB / 466 MB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.424e-05/0.2518, allocations: 33.89 kB / 466 MB, free: 20.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003759/0.2522, allocations: 256.5 kB / 466.3 MB, free: 19.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.2523, allocations: 51.3 kB / 466.3 MB, free: 19.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.2536, allocations: 0.7304 MB / 467.1 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2536, allocations: 5.281 kB / 467.1 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2536, allocations: 2.219 kB / 467.1 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.2536, allocations: 2.344 kB / 467.1 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.2559, allocations: 1.342 MB / 468.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2559, allocations: 2.281 kB / 468.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.257, allocations: 189.6 kB / 468.6 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.257, allocations: 3.062 kB / 468.6 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.2571, allocations: 32.73 kB / 468.6 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.2571, allocations: 5.734 kB / 468.6 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2571, allocations: 1.281 kB / 468.6 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.2584, allocations: 0.9959 MB / 469.6 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.2584, allocations: 54.2 kB / 469.7 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.956e-05/0.2585, allocations: 29.98 kB / 469.7 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.2589, allocations: 26.55 kB / 469.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.259, allocations: 34.31 kB / 469.8 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.259, allocations: 20.89 kB / 469.8 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.2593, allocations: 271.2 kB / 470.1 MB, free: 18.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2593, allocations: 0 / 470.1 MB, free: 18.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000869/0.2602, allocations: 215.2 kB / 470.3 MB, free: 18.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000168/0.2603, allocations: 129.6 kB / 470.4 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.2627, allocations: 1.398 MB / 471.8 MB, free: 17.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2627, allocations: 3.938 kB / 471.8 MB, free: 17.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.2631, allocations: 308 kB / 472.1 MB, free: 17.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.2638, allocations: 121.5 kB / 472.2 MB, free: 17.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/0.2672, allocations: 2.284 MB / 474.5 MB, free: 16.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.2677, allocations: 386.7 kB / 474.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004188/0.2681, allocations: 198.6 kB / 475.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.2683, allocations: 56.42 kB / 475.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2683, allocations: 4 kB / 475.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01605/0.2843, allocations: 11.06 MB / 486.2 MB, free: 4.773 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.541883818805218] Failed to read output from testmodel.py, exit status != 0: 0.29306165128946304 0.30707899099999997 0.28308083799999995 Calling exit ...