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.001028/0.001028, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001211/0.001211, allocations: 169.9 kB / 24.82 MB, free: 9.312 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2668/0.2668, allocations: 29.42 MB / 291.2 MB, free: 2.465 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 2.043e-06/2.043e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.929e-05, allocations: 6.25 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.007495/0.007524, allocations: 5.696 MB / 375.8 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.01027, allocations: 2.079 MB / 377.9 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.01057, allocations: 27.81 kB / 377.9 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006594/0.01123, allocations: 238.5 kB / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007873/0.01202, allocations: 0.5594 MB / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.01256, allocations: 398.9 kB / 379.1 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007802/0.01334, allocations: 1.224 MB / 380.3 MB, free: 484 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004463/0.01379, allocations: 477.4 kB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006811/0.01447, allocations: 0.7598 MB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.01495, allocations: 0.5806 MB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.247e-05/0.01504, allocations: 95.94 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/0.01558, allocations: 0.5264 MB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.01587, allocations: 0.4987 MB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.01613, allocations: 379.1 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000823/0.01696, allocations: 1.075 MB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.01696, allocations: 4 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01696, allocations: 0 / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.01697, allocations: 3.938 kB / 384.7 MB, free: 12.09 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.001328/0.0183, allocations: 1.37 MB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.01834, allocations: 15.98 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005849/0.01892, allocations: 256.1 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/0.01943, allocations: 0.5198 MB / 386.9 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.01948, allocations: 78.36 kB / 386.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.0196, allocations: 88.73 kB / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007808/0.02038, allocations: 0.9075 MB / 387.9 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.0204, allocations: 3.938 kB / 387.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.02045, allocations: 36 kB / 388 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-05/0.02053, allocations: 61.97 kB / 388 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.02104, allocations: 488.8 kB / 388.5 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.02422, allocations: 4.527 MB / 393 MB, free: 3.387 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.02471, allocations: 465.9 kB / 393.5 MB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.02497, allocations: 309 kB / 393.8 MB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.02501, allocations: 24.64 kB / 393.8 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005538/0.02557, allocations: 0.6696 MB / 394.5 MB, free: 1.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 1.964e-06/0.02557, allocations: 0 / 394.5 MB, free: 1.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.001959/0.02753, allocations: 1.969 MB / 396.5 MB, free: 15.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/0.02761, allocations: 242.6 kB / 396.7 MB, free: 15.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.0279, allocations: 494.1 kB / 397.2 MB, free: 14.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.02795, allocations: 57.7 kB / 397.2 MB, free: 14.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.02815, allocations: 467.7 kB / 397.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.02835, allocations: 384.9 kB / 398.1 MB, free: 14.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.02855, allocations: 240.4 kB / 398.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.02873, allocations: 0.5858 MB / 398.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.02893, allocations: 218.6 kB / 399.1 MB, free: 13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.02929, allocations: 0.5738 MB / 399.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/0.0299, allocations: 0.86 MB / 400.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02991, allocations: 0 / 400.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001426/0.03133, allocations: 1.257 MB / 401.8 MB, free: 9.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.03137, allocations: 67.48 kB / 401.8 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009823/0.03235, allocations: 0.7763 MB / 402.6 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009717/0.03332, allocations: 470.9 kB / 403.1 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.03355, allocations: 135.7 kB / 403.2 MB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.03717, allocations: 3.699 MB / 406.9 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.0374, allocations: 36 kB / 407 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.03744, allocations: 32 kB / 407 MB, free: 4.641 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.0002432/0.03768, allocations: 324.9 kB / 407.3 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.03783, allocations: 143.3 kB / 407.4 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000797/0.03863, allocations: 0.8951 MB / 408.3 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.03865, allocations: 20 kB / 408.4 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.03865, allocations: 4 kB / 408.4 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.03866, allocations: 7.984 kB / 408.4 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.04061, allocations: 1.818 MB / 410.2 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.04061, allocations: 3.984 kB / 410.2 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.0412, allocations: 203.9 kB / 410.4 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.0412, allocations: 4 kB / 410.4 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.462e-05/0.04125, allocations: 23.98 kB / 410.4 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.04125, allocations: 11.94 kB / 410.4 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.04125, allocations: 0 / 410.4 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.04238, allocations: 1.376 MB / 411.8 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.04244, allocations: 79.47 kB / 411.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/0.04251, allocations: 28 kB / 411.9 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.04268, allocations: 19.98 kB / 411.9 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.04281, allocations: 104.6 kB / 412 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.04285, allocations: 31.98 kB / 412.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.04299, allocations: 290.7 kB / 412.3 MB, free: 15.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04299, allocations: 0 / 412.3 MB, free: 15.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004832/0.04347, allocations: 303.9 kB / 412.6 MB, free: 14.79 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.0001766/0.04365, allocations: 175 kB / 412.8 MB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.04481, allocations: 1.322 MB / 414.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.04481, allocations: 0 / 414.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.04518, allocations: 0.5443 MB / 414.7 MB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.04559, allocations: 146.4 kB / 414.8 MB, free: 12.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.04767, allocations: 1.884 MB / 416.7 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.04785, allocations: 265.5 kB / 417 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.04805, allocations: 106.9 kB / 417.1 MB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.04837, allocations: 238.1 kB / 417.3 MB, free: 9.91 MB / 394.7 MB Notification: Performance of SimCode: time 7.72e-07/0.04837, allocations: 0 / 417.3 MB, free: 9.91 MB / 394.7 MB Notification: Performance of Templates: time 0.01591/0.06428, allocations: 14.96 MB / 432.3 MB, free: 11.12 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.494904347229749]