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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 198 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.181/0.181, allocations: 38.51 MB / 345 MB, free: 2.625 MB / 270.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 71.88 kB / 482.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3329, allocations: 61.24 MB / 0.5309 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.006737/0.3397, allocations: 6.677 MB / 0.5375 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.3433, allocations: 2.11 MB / 0.5395 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003696/0.3436, allocations: 25.56 kB / 0.5395 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.3454, allocations: 0.6406 MB / 0.5402 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.3467, allocations: 0.5487 MB / 0.5407 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.3476, allocations: 377.7 kB / 0.5411 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.3489, allocations: 1.21 MB / 0.5422 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007055/0.3496, allocations: 483.9 kB / 0.5427 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007615/0.3504, allocations: 0.525 MB / 0.5432 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009444/0.3513, allocations: 0.6934 MB / 0.5439 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.3515, allocations: 92.34 kB / 0.544 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009074/0.3524, allocations: 0.5322 MB / 0.5445 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005229/0.3529, allocations: 495.4 kB / 0.545 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006008/0.3535, allocations: 0.5242 MB / 0.5455 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.3552, allocations: 1.388 MB / 0.5468 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3552, allocations: 1.062 kB / 0.5469 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3552, allocations: 0 / 0.5469 GB, free: 10.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.3552, allocations: 0 / 0.5469 GB, free: 10.32 MB / 398.1 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.002633/0.3578, allocations: 1.412 MB / 0.5482 GB, free: 9.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3579, allocations: 16.53 kB / 0.5482 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.3587, allocations: 149.3 kB / 0.5484 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.3598, allocations: 0.6534 MB / 0.549 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.3599, allocations: 72.16 kB / 0.5491 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.3601, allocations: 97.67 kB / 0.5492 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.3623, allocations: 1.312 MB / 0.5505 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.3623, allocations: 1.719 kB / 0.5505 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.3624, allocations: 37.73 kB / 0.5505 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/0.3626, allocations: 67.59 kB / 0.5506 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.3645, allocations: 1.174 MB / 0.5517 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006901/0.3714, allocations: 4.642 MB / 0.5563 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.3731, allocations: 1.222 MB / 0.5574 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009294/0.374, allocations: 0.5818 MB / 0.558 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.3741, allocations: 8.656 kB / 0.558 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.3754, allocations: 0.9063 MB / 0.5589 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 2.886e-06/0.3754, allocations: 0 / 0.5589 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.005917/0.3813, allocations: 3.608 MB / 0.5624 GB, free: 11.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.3814, allocations: 238.6 kB / 0.5627 GB, free: 11.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006158/0.3821, allocations: 0.4904 MB / 0.5631 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.92e-05/0.3822, allocations: 57.7 kB / 0.5632 GB, free: 11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.3825, allocations: 417.1 kB / 0.5636 GB, free: 10.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003496/0.3829, allocations: 385 kB / 0.564 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003313/0.3832, allocations: 218.9 kB / 0.5642 GB, free: 9.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.3834, allocations: 394.8 kB / 0.5645 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008291/0.3842, allocations: 0.5185 MB / 0.565 GB, free: 9.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.3853, allocations: 0.7818 MB / 0.5658 GB, free: 8.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.3874, allocations: 1.403 MB / 0.5672 GB, free: 6.672 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3874, allocations: 11.94 kB / 0.5672 GB, free: 6.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004051/0.3915, allocations: 2.048 MB / 0.5692 GB, free: 4.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.3915, allocations: 67.38 kB / 0.5693 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00319/0.3947, allocations: 1.617 MB / 0.5708 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/0.3967, allocations: 0.6564 MB / 0.5715 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/0.3973, allocations: 139.7 kB / 0.5716 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.4074, allocations: 6.489 MB / 0.5779 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008236/0.4082, allocations: 63.89 kB / 0.578 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/0.4083, allocations: 44 kB / 0.5781 GB, free: 11.36 MB / 430.1 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.0007146/0.409, allocations: 426.1 kB / 0.5785 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.4092, allocations: 87.47 kB / 0.5785 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.4116, allocations: 1.427 MB / 0.5799 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-05/0.4116, allocations: 27.98 kB / 0.58 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4116, allocations: 4 kB / 0.58 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.4116, allocations: 7.922 kB / 0.58 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004629/0.4163, allocations: 2.767 MB / 0.5827 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.4163, allocations: 0 / 0.5827 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.4173, allocations: 231.8 kB / 0.5829 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.4173, allocations: 4 kB / 0.5829 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.4174, allocations: 23.98 kB / 0.5829 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.4174, allocations: 7.938 kB / 0.5829 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4174, allocations: 4 kB / 0.5829 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/0.4208, allocations: 2.291 MB / 0.5852 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.4211, allocations: 148.6 kB / 0.5853 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.4212, allocations: 35.98 kB / 0.5853 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/0.4216, allocations: 43.95 kB / 0.5854 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.4219, allocations: 108.8 kB / 0.5855 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.59e-05/0.422, allocations: 35.98 kB / 0.5855 GB, free: 3.523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004676/0.4224, allocations: 350.8 kB / 0.5859 GB, free: 3.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4224, allocations: 0 / 0.5859 GB, free: 3.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001048/0.4235, allocations: 300 kB / 0.5861 GB, free: 2.887 MB / 430.1 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.0003295/0.4238, allocations: 167 kB / 0.5863 GB, free: 2.711 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003236/0.4271, allocations: 1.805 MB / 0.5881 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4271, allocations: 0 / 0.5881 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.4282, allocations: 0.7892 MB / 0.5888 GB, free: 56 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008802/0.4291, allocations: 141.2 kB / 0.589 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.4334, allocations: 2.362 MB / 0.5913 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009084/0.4343, allocations: 1.109 MB / 0.5924 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.4347, allocations: 71.38 kB / 0.5924 GB, free: 12.31 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4347, allocations: 0 / 0.5924 GB, free: 12.31 MB / 446.1 MB Notification: Performance of Templates: time 0.02254/0.4572, allocations: 14.27 MB / 0.6064 GB, free: 14.02 MB / 462.1 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]