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.000693/0.000693, 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.003126/0.003126, allocations: 160.2 kB / 24.7 MB, free: 9.426 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.8545/0.8545, allocations: 177.1 MB / 205 MB, free: 5.727 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.2167/0.2167, allocations: 29.41 MB / 290.8 MB, free: 2.43 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.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.343e-06/1.343e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.889e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.004385/0.004404, allocations: 4.984 MB / 436.5 MB, free: 8.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.006448, allocations: 1.682 MB / 438.1 MB, free: 6.402 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.006658, allocations: 19.81 kB / 438.2 MB, free: 6.383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008415/0.0075, allocations: 433.9 kB / 438.6 MB, free: 5.957 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.007925, allocations: 306.1 kB / 438.9 MB, free: 5.656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.008579, allocations: 402.8 kB / 439.3 MB, free: 5.262 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.009062, allocations: 0.7556 MB / 440 MB, free: 4.504 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.009396, allocations: 298.4 kB / 440.3 MB, free: 4.199 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.009776, allocations: 450.7 kB / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.01015, allocations: 435 kB / 441.2 MB, free: 3.332 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.0102, allocations: 48 kB / 441.2 MB, free: 3.285 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.01041, allocations: 183.6 kB / 441.4 MB, free: 3.105 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.01058, allocations: 315.2 kB / 441.7 MB, free: 2.797 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.01073, allocations: 227.5 kB / 441.9 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005721/0.01131, allocations: 0.8412 MB / 442.8 MB, free: 1.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.01131, allocations: 0 / 442.8 MB, free: 1.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.01131, allocations: 4 kB / 442.8 MB, free: 1.727 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.01132, allocations: 0 / 442.8 MB, free: 1.727 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0009534/0.01227, allocations: 0.8531 MB / 443.6 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.0123, allocations: 11.98 kB / 443.7 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005576/0.01286, allocations: 168.4 kB / 443.8 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.01342, allocations: 488.5 kB / 444.3 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.01344, allocations: 37.36 kB / 444.3 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1653/0.1788, allocations: 136 kB / 444.5 MB, free: 54.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.1803, allocations: 0.8495 MB / 445.3 MB, free: 54.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.1803, allocations: 7.812 kB / 445.3 MB, free: 54.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.998e-05/0.1804, allocations: 23.41 kB / 445.3 MB, free: 54.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003202/0.1807, allocations: 68.91 kB / 445.4 MB, free: 54.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/0.1815, allocations: 0.6148 MB / 446 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.1847, allocations: 3.497 MB / 449.5 MB, free: 51.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.1856, allocations: 0.524 MB / 450 MB, free: 51.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.1859, allocations: 313.3 kB / 450.4 MB, free: 51.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.186, allocations: 7.891 kB / 450.4 MB, free: 51.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.186, allocations: 41.25 kB / 450.4 MB, free: 51.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 2.725e-06/0.186, allocations: 6.719 kB / 450.4 MB, free: 51.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002518/0.1885, allocations: 1.778 MB / 452.2 MB, free: 50.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.1885, allocations: 83.83 kB / 452.3 MB, free: 50.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.1889, allocations: 416.1 kB / 452.7 MB, free: 50.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.1889, allocations: 38.3 kB / 452.7 MB, free: 50.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.189, allocations: 339.3 kB / 453 MB, free: 50.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.1891, allocations: 207 kB / 453.2 MB, free: 50.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.1893, allocations: 147.4 kB / 453.4 MB, free: 50.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.898e-05/0.1894, allocations: 371.5 kB / 453.7 MB, free: 49.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.1898, allocations: 375.4 kB / 454.1 MB, free: 49.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/0.1903, allocations: 0.5967 MB / 454.7 MB, free: 49.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000908/0.1912, allocations: 1.067 MB / 455.8 MB, free: 48.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1912, allocations: 3.219 kB / 455.8 MB, free: 48.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002151/0.1933, allocations: 1.976 MB / 457.8 MB, free: 47.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1933, allocations: 13.08 kB / 457.8 MB, free: 47.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1934, allocations: 6.312 kB / 457.8 MB, free: 47.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.1945, allocations: 0.9482 MB / 458.7 MB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1947, allocations: 116.5 kB / 458.8 MB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/0.2002, allocations: 7.872 MB / 466.7 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.2004, allocations: 32.25 kB / 466.7 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.2005, allocations: 43.44 kB / 466.8 MB, free: 43.43 MB / 410.7 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.0001998/0.2007, allocations: 246.7 kB / 467 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.2007, allocations: 56.91 kB / 467.1 MB, free: 43.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006451/0.2014, allocations: 0.7228 MB / 467.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2014, allocations: 6.125 kB / 467.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2014, allocations: 4.062 kB / 467.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2014, allocations: 3.328 kB / 467.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.2026, allocations: 1.357 MB / 469.2 MB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2026, allocations: 2.969 kB / 469.2 MB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.2031, allocations: 182.6 kB / 469.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.2031, allocations: 3.062 kB / 469.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.2032, allocations: 27.5 kB / 469.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2032, allocations: 3.062 kB / 469.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2032, allocations: 3.469 kB / 469.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007456/0.2039, allocations: 0.9941 MB / 470.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.204, allocations: 58.34 kB / 470.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.204, allocations: 31.66 kB / 470.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2042, allocations: 27.7 kB / 470.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.2042, allocations: 38.73 kB / 470.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.2042, allocations: 16.77 kB / 470.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.2044, allocations: 275 kB / 470.8 MB, free: 41.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2044, allocations: 0 / 470.8 MB, free: 41.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004598/0.2048, allocations: 210.5 kB / 471 MB, free: 41.64 MB / 410.7 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.0001072/0.2049, allocations: 122.9 kB / 471.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.2063, allocations: 1.411 MB / 472.6 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2063, allocations: 0 / 472.6 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.2065, allocations: 303.8 kB / 472.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.2069, allocations: 131.8 kB / 473 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.2089, allocations: 2.344 MB / 475.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.2091, allocations: 389.2 kB / 475.7 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.2092, allocations: 48.88 kB / 475.8 MB, free: 39.4 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2092, allocations: 0 / 475.8 MB, free: 39.4 MB / 410.7 MB Notification: Performance of Templates: time 0.01105/0.2203, allocations: 11.77 MB / 487.5 MB, free: 38.52 MB / 410.7 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: 6.989453726448119] Failed to read output from testmodel.py, exit status != 0: 0.22566022351384163 0.234282855 0.22138628000000002 Calling exit ...