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.00131/0.00131, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001361/0.001361, allocations: 161 kB / 24.55 MB, free: 16 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 0.9303/0.9303, allocations: 177.1 MB / 205 MB, free: 5.234 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.2218/0.2218, allocations: 29.42 MB / 290.9 MB, free: 2.445 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.303e-06/1.303e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.824e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.005535/0.005563, allocations: 5.759 MB / 375.4 MB, free: 5.199 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.008613, allocations: 2.107 MB / 377.5 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004161/0.009029, allocations: 23.81 kB / 377.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007136/0.009743, allocations: 238.5 kB / 377.8 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.01082, allocations: 0.5556 MB / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007442/0.01156, allocations: 398.9 kB / 378.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.01282, allocations: 1.228 MB / 379.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006369/0.01346, allocations: 473.5 kB / 380.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000986/0.01444, allocations: 0.7676 MB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007091/0.01515, allocations: 0.5766 MB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.01533, allocations: 92 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008251/0.01615, allocations: 0.5187 MB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003729/0.01652, allocations: 0.4987 MB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.01689, allocations: 387.1 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.01809, allocations: 1.075 MB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01809, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01809, allocations: 3.938 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.156e-05/0.01812, allocations: 0 / 384.3 MB, free: 12.27 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.001884/0.02001, allocations: 1.428 MB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.02005, allocations: 15.98 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007473/0.0208, allocations: 284 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/0.02149, allocations: 0.5589 MB / 386.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.02155, allocations: 70.36 kB / 386.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.0217, allocations: 88.73 kB / 386.7 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.02282, allocations: 0.9936 MB / 387.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.02284, allocations: 7.938 kB / 387.7 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.0229, allocations: 36 kB / 387.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.023, allocations: 61.97 kB / 387.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000838/0.02384, allocations: 0.6003 MB / 388.4 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003835/0.02768, allocations: 4.606 MB / 393 MB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.02839, allocations: 0.5368 MB / 393.6 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.02876, allocations: 373.3 kB / 393.9 MB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.0288, allocations: 12.66 kB / 394 MB, free: 2.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006723/0.02947, allocations: 0.7246 MB / 394.7 MB, free: 1.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 2.505e-06/0.02947, allocations: 3.938 kB / 394.7 MB, free: 1.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.002837/0.03231, allocations: 2.587 MB / 397.3 MB, free: 14.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/0.0324, allocations: 234.6 kB / 397.5 MB, free: 14.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.03276, allocations: 0.4945 MB / 398 MB, free: 13.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.03282, allocations: 53.7 kB / 398 MB, free: 13.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.03304, allocations: 463.8 kB / 398.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.03327, allocations: 381 kB / 398.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.03349, allocations: 236.5 kB / 399.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.03368, allocations: 0.5781 MB / 399.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.03402, allocations: 274.6 kB / 399.9 MB, free: 11.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.0345, allocations: 0.6325 MB / 400.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008333/0.03533, allocations: 0.9384 MB / 401.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.03534, allocations: 4 kB / 401.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001897/0.03724, allocations: 1.418 MB / 402.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.03728, allocations: 63.41 kB / 403 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001312/0.0386, allocations: 0.9324 MB / 403.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.03978, allocations: 0.5068 MB / 404.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.04005, allocations: 135.7 kB / 404.6 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004236/0.04428, allocations: 3.982 MB / 408.6 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.04465, allocations: 51.95 kB / 408.6 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.04471, allocations: 48 kB / 408.7 MB, free: 2.746 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.0003191/0.04503, allocations: 320.9 kB / 409 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.04523, allocations: 139.3 kB / 409.1 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.04631, allocations: 1.02 MB / 410.1 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/0.04633, allocations: 23.98 kB / 410.1 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.04633, allocations: 8 kB / 410.2 MB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.04634, allocations: 7.922 kB / 410.2 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.04858, allocations: 2.075 MB / 412.2 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.04858, allocations: 0 / 412.2 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.04915, allocations: 227.8 kB / 412.5 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.04916, allocations: 4 kB / 412.5 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.04921, allocations: 23.98 kB / 412.5 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.04921, allocations: 4 kB / 412.5 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.04921, allocations: 11.88 kB / 412.5 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.05068, allocations: 1.571 MB / 414.1 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.05079, allocations: 63.48 kB / 414.1 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/0.05087, allocations: 43.91 kB / 414.2 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.05109, allocations: 43.95 kB / 414.2 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.05127, allocations: 116.7 kB / 414.3 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.05131, allocations: 35.98 kB / 414.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002266/0.05154, allocations: 306.8 kB / 414.7 MB, free: 12.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05154, allocations: 0 / 414.7 MB, free: 12.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007142/0.05225, allocations: 303.9 kB / 415 MB, free: 12.22 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.0002177/0.05247, allocations: 171 kB / 415.1 MB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.05411, allocations: 1.474 MB / 416.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.05412, allocations: 4 kB / 416.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005187/0.05464, allocations: 0.6076 MB / 417.2 MB, free: 9.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.05512, allocations: 145.5 kB / 417.4 MB, free: 9.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.05771, allocations: 1.928 MB / 419.3 MB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.0579, allocations: 257.5 kB / 419.5 MB, free: 7.449 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003144/0.05822, allocations: 190.7 kB / 419.7 MB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.05838, allocations: 68.48 kB / 419.8 MB, free: 7.191 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.05838, allocations: 0 / 419.8 MB, free: 7.191 MB / 394.7 MB Notification: Performance of Templates: time 0.01624/0.07462, allocations: 14.66 MB / 434.5 MB, free: 8.66 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.422755992040038]