Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.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.0008548/0.0008548, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.004445/0.004445, allocations: 159.9 kB / 24.7 MB, free: 9.434 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.8704/0.8704, allocations: 177.1 MB / 205 MB, free: 5.738 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.2033/0.2033, allocations: 29.42 MB / 290.9 MB, free: 2.426 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.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.628e-05, allocations: 6.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.005145/0.005171, allocations: 6.234 MB / 437.7 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.007382, allocations: 2.021 MB / 439.7 MB, free: 4.812 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.007605, allocations: 31.75 kB / 439.8 MB, free: 4.781 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009257/0.008531, allocations: 0.6329 MB / 440.4 MB, free: 4.148 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007672/0.009298, allocations: 0.5595 MB / 440.9 MB, free: 3.586 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.009783, allocations: 398.9 kB / 441.3 MB, free: 3.195 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.01085, allocations: 1.232 MB / 442.6 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004644/0.01131, allocations: 485.4 kB / 443 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005763/0.01189, allocations: 0.705 MB / 443.7 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.01238, allocations: 0.6195 MB / 444.4 MB, free: 148 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.232e-05/0.01247, allocations: 92 kB / 444.5 MB, free: 56 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1725/0.185, allocations: 0.5166 MB / 445 MB, free: 45.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004384/0.1854, allocations: 0.499 MB / 445.5 MB, free: 45.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.1858, allocations: 378.2 kB / 445.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.1868, allocations: 1.463 MB / 447.3 MB, free: 45.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.1868, allocations: 6.031 kB / 447.3 MB, free: 45.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1868, allocations: 0 / 447.3 MB, free: 45.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.1868, allocations: 0 / 447.3 MB, free: 45.29 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.00143/0.1883, allocations: 1.32 MB / 448.6 MB, free: 44.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1883, allocations: 17.94 kB / 448.6 MB, free: 44.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005158/0.1888, allocations: 193.1 kB / 448.8 MB, free: 44.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.1894, allocations: 0.5679 MB / 449.4 MB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.1894, allocations: 66.31 kB / 449.5 MB, free: 44.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.1896, allocations: 94.23 kB / 449.6 MB, free: 44.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1907, allocations: 1.385 MB / 450.9 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.1907, allocations: 7.344 kB / 451 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.1908, allocations: 40.59 kB / 451 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.034e-05/0.1908, allocations: 59.84 kB / 451.1 MB, free: 44.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1919, allocations: 1.25 MB / 452.3 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.1949, allocations: 4.25 MB / 456.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/0.1956, allocations: 0.8386 MB / 457.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/0.196, allocations: 0.6388 MB / 458 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.1961, allocations: 17.25 kB / 458 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006513/0.1967, allocations: 0.9706 MB / 459 MB, free: 40.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 2.254e-06/0.1967, allocations: 0 / 459 MB, free: 40.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.002879/0.1996, allocations: 3.741 MB / 462.8 MB, free: 38.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.1997, allocations: 237.8 kB / 463 MB, free: 38.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.1999, allocations: 485 kB / 463.5 MB, free: 38.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.2, allocations: 51.2 kB / 463.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.2001, allocations: 419.9 kB / 463.9 MB, free: 37.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.2002, allocations: 384.7 kB / 464.3 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.2004, allocations: 220.6 kB / 464.5 MB, free: 37.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.63e-05/0.2005, allocations: 398.2 kB / 464.9 MB, free: 37.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.2009, allocations: 0.5654 MB / 465.5 MB, free: 36.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.2014, allocations: 0.8279 MB / 466.3 MB, free: 36.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000916/0.2023, allocations: 1.409 MB / 467.7 MB, free: 35.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2023, allocations: 3.094 kB / 467.7 MB, free: 35.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00189/0.2042, allocations: 2.109 MB / 469.8 MB, free: 34.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.2043, allocations: 60.47 kB / 469.9 MB, free: 34.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001513/0.2058, allocations: 1.626 MB / 471.5 MB, free: 34.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000962/0.2067, allocations: 0.654 MB / 472.2 MB, free: 34.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.207, allocations: 139.5 kB / 472.3 MB, free: 34.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004688/0.2116, allocations: 6.25 MB / 478.5 MB, free: 31.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.2119, allocations: 59.33 kB / 478.6 MB, free: 30.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.212, allocations: 45.28 kB / 478.6 MB, free: 30.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 67 (system.initime,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,relay2.y[3],$PRE.relay2.y[3],relay2.y[2],$PRE.relay2.y[2],relay2.y[1],$PRE.relay2.y[1],relay1.y[3],$PRE.relay1.y[3],relay1.y[2],$PRE.relay1.y[2],relay1.y[1],$PRE.relay1.y[1],switch2.switch_c.closed,switch2.switch_c.open,$PRE.switch2.switch_c.open,switch2.switch_c.arc,$PRE.switch2.switch_c.arc,switch2.switch_b.closed,switch2.switch_b.open,$PRE.switch2.switch_b.open,switch2.switch_b.arc,$PRE.switch2.switch_b.arc,switch2.switch_a.closed,switch2.switch_a.open,$PRE.switch2.switch_a.open,switch2.switch_a.arc,$PRE.switch2.switch_a.arc,switch1.switch_c.closed,switch1.switch_c.open,$PRE.switch1.switch_c.open,switch1.switch_c.arc,$PRE.switch1.switch_c.arc,switch1.switch_b.closed,switch1.switch_b.open,$PRE.switch1.switch_b.open,switch1.switch_b.arc,$PRE.switch1.switch_b.arc,switch1.switch_a.closed,switch1.switch_a.open,$PRE.switch1.switch_a.open,switch1.switch_a.arc,$PRE.switch1.switch_a.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 2 * 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 {(7,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003288/0.2123, allocations: 438.7 kB / 479.1 MB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.2124, allocations: 90.02 kB / 479.2 MB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.2138, allocations: 1.509 MB / 480.7 MB, free: 30 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.2138, allocations: 22.8 kB / 480.7 MB, free: 30 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2138, allocations: 1.156 kB / 480.7 MB, free: 30 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.2138, allocations: 4.781 kB / 480.7 MB, free: 30 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.2162, allocations: 2.591 MB / 483.3 MB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2162, allocations: 1.25 kB / 483.3 MB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/0.2168, allocations: 228.6 kB / 483.5 MB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.2168, allocations: 5.5 kB / 483.5 MB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.2168, allocations: 29.09 kB / 483.5 MB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.2168, allocations: 4.125 kB / 483.6 MB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2168, allocations: 1.375 kB / 483.6 MB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.2188, allocations: 2.448 MB / 486 MB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.2188, allocations: 70.23 kB / 486.1 MB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.2189, allocations: 35.88 kB / 486.1 MB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.2191, allocations: 50.72 kB / 486.2 MB, free: 27.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.2193, allocations: 114.3 kB / 486.3 MB, free: 27.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/0.2193, allocations: 41.11 kB / 486.3 MB, free: 27.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002158/0.2195, allocations: 320.5 kB / 486.6 MB, free: 27.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2195, allocations: 1.031 kB / 486.6 MB, free: 27.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006137/0.2202, allocations: 303.8 kB / 486.9 MB, free: 27.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 47 (switch1.switch_c.closed,switch1.switch_a.closed,switch1.switch_b.closed,switch2.switch_b.closed,switch2.switch_c.closed,switch2.switch_a.closed,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,switch1.switch_a.arc,switch1.switch_a.open,switch1.switch_b.arc,switch1.switch_b.open,switch1.switch_c.arc,switch1.switch_c.open,switch2.switch_a.arc,switch2.switch_a.open,switch2.switch_b.arc,switch2.switch_b.open,switch2.switch_c.arc,switch2.switch_c.open,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,system.initime) * Number of discrete states: 16 (relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,switch2.switch_a.open,switch2.switch_c.open,switch2.switch_b.open,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch1.switch_b.open,switch1.switch_a.open,switch1.switch_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 88 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 7 * 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.0002076/0.2204, allocations: 178.8 kB / 487.1 MB, free: 27.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.2221, allocations: 1.915 MB / 489 MB, free: 26.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2221, allocations: 1.219 kB / 489 MB, free: 26.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006793/0.2228, allocations: 0.8605 MB / 489.9 MB, free: 26.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.2232, allocations: 138.8 kB / 490 MB, free: 26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.2256, allocations: 2.354 MB / 492.4 MB, free: 24.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.226, allocations: 0.5039 MB / 492.9 MB, free: 24.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.2262, allocations: 70.31 kB / 492.9 MB, free: 24.74 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2262, allocations: 0 / 492.9 MB, free: 24.74 MB / 410.7 MB Notification: Performance of Templates: time 0.01544/0.2416, allocations: 14.61 MB / 0.4956 GB, free: 21.21 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.185953092761338] Failed to read output from testmodel.py, exit status != 0: 0.24696057569235563 0.25237295400000004 0.064269595 Calling exit ...