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.001495/0.001495, allocations: 84.34 kB / 20.96 MB, free: 3.445 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.001739/0.001739, allocations: 165.3 kB / 24.27 MB, free: 140 kB / 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 1.491/1.491, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.2871/0.2871, allocations: 29.41 MB / 290.5 MB, free: 2.434 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.553e-06/1.553e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.64e-05, allocations: 6.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.009049/0.009076, allocations: 6.234 MB / 375.1 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004707/0.01378, allocations: 2.025 MB / 377.2 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004228/0.01421, allocations: 31.75 kB / 377.2 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.01618, allocations: 0.6221 MB / 377.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.01787, allocations: 0.5672 MB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.01905, allocations: 399 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.02071, allocations: 1.228 MB / 380 MB, free: 168 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007791/0.02149, allocations: 481.4 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.02267, allocations: 0.7051 MB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000987/0.02366, allocations: 0.6117 MB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.02382, allocations: 95.98 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.02484, allocations: 0.5264 MB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005756/0.02541, allocations: 0.4987 MB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005297/0.02594, allocations: 383.1 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.02786, allocations: 1.461 MB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.02786, allocations: 0 / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02787, allocations: 0 / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.02788, allocations: 0 / 384.7 MB, free: 11.41 MB / 362.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.002742/0.03062, allocations: 1.329 MB / 386.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.03066, allocations: 15.92 kB / 386.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.0318, allocations: 288 kB / 386.4 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.033, allocations: 0.5932 MB / 387 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.03309, allocations: 70.38 kB / 387 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.03331, allocations: 92.73 kB / 387.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.03563, allocations: 1.388 MB / 388.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.03566, allocations: 3.984 kB / 388.5 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.03577, allocations: 43.97 kB / 388.5 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001627/0.03593, allocations: 61.92 kB / 388.6 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.03811, allocations: 1.245 MB / 389.9 MB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00693/0.04504, allocations: 4.26 MB / 394.1 MB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.04657, allocations: 0.8398 MB / 395 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.04758, allocations: 0.6363 MB / 395.6 MB, free: 196 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.04764, allocations: 28.58 kB / 395.6 MB, free: 168 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0015/0.04914, allocations: 0.9615 MB / 396.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 2.715e-06/0.04915, allocations: 4 kB / 396.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.006446/0.05559, allocations: 3.778 MB / 400.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/0.05578, allocations: 238.5 kB / 400.6 MB, free: 11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.0564, allocations: 489.6 kB / 401.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.54e-05/0.05649, allocations: 49.7 kB / 401.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.05687, allocations: 417.1 kB / 401.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003859/0.05726, allocations: 381 kB / 401.9 MB, free: 9.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/0.05764, allocations: 226.8 kB / 402.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002556/0.05789, allocations: 399 kB / 402.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000949/0.05884, allocations: 0.5649 MB / 403.1 MB, free: 8.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.06006, allocations: 0.8319 MB / 403.9 MB, free: 7.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.06223, allocations: 1.407 MB / 405.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.06224, allocations: 0 / 405.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004408/0.06664, allocations: 2.172 MB / 407.5 MB, free: 3.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/0.06671, allocations: 59.41 kB / 407.5 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003401/0.07011, allocations: 1.625 MB / 409.2 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/0.07273, allocations: 0.8045 MB / 410 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.07325, allocations: 139.7 kB / 410.1 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.0842, allocations: 6.293 MB / 416.4 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.08487, allocations: 63.94 kB / 416.5 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.08497, allocations: 44 kB / 416.5 MB, free: 10.65 MB / 394.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.0007177/0.08568, allocations: 426 kB / 416.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/0.086, allocations: 143.3 kB / 417.1 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/0.08866, allocations: 1.512 MB / 418.6 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/0.08869, allocations: 24.06 kB / 418.6 MB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.0887, allocations: 0 / 418.6 MB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.08871, allocations: 11.97 kB / 418.6 MB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004719/0.09343, allocations: 2.575 MB / 421.2 MB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.09345, allocations: 7.984 kB / 421.2 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.09454, allocations: 223.8 kB / 421.4 MB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.09455, allocations: 4 kB / 421.4 MB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/0.09463, allocations: 24 kB / 421.4 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.09464, allocations: 11.98 kB / 421.5 MB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.09464, allocations: 3.938 kB / 421.5 MB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004035/0.09868, allocations: 2.493 MB / 423.9 MB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.09886, allocations: 75.52 kB / 424 MB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.099, allocations: 35.97 kB / 424.1 MB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/0.09946, allocations: 43.95 kB / 424.1 MB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.09975, allocations: 112.8 kB / 424.2 MB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/0.09983, allocations: 31.98 kB / 424.2 MB, free: 2.723 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004754/0.1003, allocations: 326.9 kB / 424.6 MB, free: 2.402 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1003, allocations: 0 / 424.6 MB, free: 2.402 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001094/0.1014, allocations: 307.9 kB / 424.9 MB, free: 2.102 MB / 394.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.0003362/0.1017, allocations: 171 kB / 425 MB, free: 1.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003804/0.1055, allocations: 1.921 MB / 426.9 MB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1055, allocations: 0.75 kB / 426.9 MB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.1069, allocations: 0.8902 MB / 427.8 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008691/0.1078, allocations: 155.4 kB / 428 MB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.112, allocations: 2.302 MB / 430.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000661/0.1127, allocations: 0.5017 MB / 430.8 MB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006573/0.1134, allocations: 226.7 kB / 431 MB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.1136, allocations: 72.5 kB / 431.1 MB, free: 11.68 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1136, allocations: 0 / 431.1 MB, free: 11.68 MB / 410.7 MB Notification: Performance of Templates: time 0.158/0.2716, allocations: 13.97 MB / 445.1 MB, free: 110 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: 5.3547289840644225]