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.001644/0.001644, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001981/0.001981, allocations: 161 kB / 24.56 MB, free: 20 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.014/1.014, allocations: 177.1 MB / 205 MB, free: 4.789 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.2516/0.2516, allocations: 29.42 MB / 290.9 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.833e-06/1.833e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.431e-05, allocations: 4.844 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.005852/0.005887, allocations: 5.759 MB / 375.4 MB, free: 5.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.008765, allocations: 2.103 MB / 377.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.00909, allocations: 27.75 kB / 377.5 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006673/0.009757, allocations: 246.5 kB / 377.8 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009538/0.01071, allocations: 0.5594 MB / 378.3 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006499/0.01136, allocations: 395 kB / 378.7 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.01256, allocations: 1.228 MB / 379.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004775/0.01304, allocations: 473.5 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006699/0.01371, allocations: 0.6974 MB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.01435, allocations: 0.6195 MB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.761e-05/0.01445, allocations: 92 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000614/0.01506, allocations: 0.5186 MB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.01539, allocations: 0.5105 MB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.01567, allocations: 383.1 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009876/0.01666, allocations: 1.079 MB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01667, allocations: 4 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01667, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.01668, allocations: 7.875 kB / 384.3 MB, free: 12.3 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.001564/0.01825, allocations: 1.429 MB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.01829, allocations: 15.98 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006514/0.01894, allocations: 288 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009145/0.01985, allocations: 0.5764 MB / 386.6 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.0199, allocations: 70.38 kB / 386.7 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.02003, allocations: 92.73 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.021, allocations: 0.9897 MB / 387.7 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.02102, allocations: 7.938 kB / 387.8 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.02108, allocations: 35.98 kB / 387.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.782e-05/0.02118, allocations: 69.97 kB / 387.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000764/0.02194, allocations: 0.5964 MB / 388.5 MB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.02548, allocations: 4.606 MB / 393.1 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008983/0.02638, allocations: 0.5331 MB / 393.6 MB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.02674, allocations: 377.3 kB / 394 MB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.02678, allocations: 16.64 kB / 394 MB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006299/0.02741, allocations: 0.7245 MB / 394.7 MB, free: 1.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 2.405e-06/0.02742, allocations: 0 / 394.7 MB, free: 1.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.002673/0.03009, allocations: 2.587 MB / 397.3 MB, free: 14.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/0.03018, allocations: 234.6 kB / 397.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.0305, allocations: 0.4906 MB / 398 MB, free: 13.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.03055, allocations: 49.7 kB / 398.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.03075, allocations: 463.7 kB / 398.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.03094, allocations: 393 kB / 398.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.03115, allocations: 228.8 kB / 399.1 MB, free: 12.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.03132, allocations: 0.582 MB / 399.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.03163, allocations: 274.6 kB / 400 MB, free: 11.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/0.03234, allocations: 0.6325 MB / 400.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007805/0.03312, allocations: 0.9344 MB / 401.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.03313, allocations: 0 / 401.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001747/0.03487, allocations: 1.429 MB / 403 MB, free: 8.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.03491, allocations: 59.41 kB / 403 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001283/0.03619, allocations: 0.9408 MB / 404 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.03733, allocations: 0.495 MB / 404.5 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.03759, allocations: 143.7 kB / 404.6 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/0.04186, allocations: 3.97 MB / 408.6 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.04219, allocations: 59.95 kB / 408.6 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.04224, allocations: 40 kB / 408.7 MB, free: 2.758 MB / 378.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.0002857/0.04253, allocations: 320.9 kB / 409 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.04269, allocations: 139.3 kB / 409.1 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.04377, allocations: 1.032 MB / 410.2 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.04379, allocations: 20 kB / 410.2 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.04379, allocations: 0 / 410.2 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.0438, allocations: 7.984 kB / 410.2 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.04597, allocations: 2.079 MB / 412.3 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.04597, allocations: 4.094 kB / 412.3 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005567/0.04653, allocations: 219.8 kB / 412.5 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.04653, allocations: 4 kB / 412.5 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.04658, allocations: 31.98 kB / 412.5 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.04658, allocations: 7.938 kB / 412.5 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.04658, allocations: 3.938 kB / 412.5 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.04835, allocations: 1.575 MB / 414.1 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.04843, allocations: 63.48 kB / 414.2 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.0485, allocations: 31.98 kB / 414.2 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.04871, allocations: 47.89 kB / 414.2 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.04887, allocations: 116.7 kB / 414.4 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003235/0.0492, allocations: 35.98 kB / 414.4 MB, free: 12.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.0494, allocations: 310.8 kB / 414.7 MB, free: 12.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0494, allocations: 0 / 414.7 MB, free: 12.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006472/0.05005, allocations: 307.9 kB / 415 MB, free: 12.23 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.0002285/0.05028, allocations: 163 kB / 415.1 MB, free: 12.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.05195, allocations: 1.479 MB / 416.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.05196, allocations: 8.125 kB / 416.6 MB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004978/0.05245, allocations: 0.6068 MB / 417.2 MB, free: 9.859 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.05292, allocations: 146.8 kB / 417.4 MB, free: 9.723 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.05558, allocations: 1.924 MB / 419.3 MB, free: 7.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.05578, allocations: 261.5 kB / 419.6 MB, free: 7.453 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003041/0.05608, allocations: 186.7 kB / 419.7 MB, free: 7.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.05623, allocations: 68.5 kB / 419.8 MB, free: 7.199 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.05623, allocations: 0 / 419.8 MB, free: 7.199 MB / 394.7 MB Notification: Performance of Templates: time 0.01578/0.07202, allocations: 14.15 MB / 434 MB, free: 9.18 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7936065779067576]