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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001008/0.001008, allocations: 179.1 kB / 17.4 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.616/1.616, allocations: 194.5 MB / 212.6 MB, free: 2.965 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001344/0.001344, allocations: 116.6 kB / 257.9 MB, free: 4.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1991/0.1991, allocations: 38 MB / 341.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 12 kB / 405 MB, free: 68.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1171, allocations: 53.24 MB / 458.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.409/0.5261, allocations: 97.66 MB / 0.5429 GB, free: 13.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.5265, allocations: 97.5 kB / 0.543 GB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.064/0.5905, allocations: 21.96 MB / 0.5644 GB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.344e-06/0.5906, allocations: 0 / 0.5644 GB, free: 10.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.19e-05/0.5907, allocations: 27.94 kB / 0.5645 GB, free: 10.43 MB / 378.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.003663/0.5943, allocations: 1.25 MB / 0.5657 GB, free: 9.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5944, allocations: 8.031 kB / 0.5657 GB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.5956, allocations: 159.6 kB / 0.5658 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/0.5978, allocations: 0.8381 MB / 0.5667 GB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.598, allocations: 66.88 kB / 0.5667 GB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003318/0.5983, allocations: 95.41 kB / 0.5668 GB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.6009, allocations: 1.283 MB / 0.5681 GB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.6009, allocations: 3.938 kB / 0.5681 GB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.6011, allocations: 36.06 kB / 0.5681 GB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.284e-05/0.6012, allocations: 56.42 kB / 0.5682 GB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.6032, allocations: 1.133 MB / 0.5693 GB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007151/0.6104, allocations: 4.577 MB / 0.5737 GB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.6118, allocations: 0.8235 MB / 0.5745 GB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009119/0.6127, allocations: 0.6478 MB / 0.5752 GB, free: 1.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-05/0.6128, allocations: 12.64 kB / 0.5752 GB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.6143, allocations: 0.9075 MB / 0.5761 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 4.468e-06/0.6143, allocations: 0 / 0.5761 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.00687/0.6212, allocations: 3.634 MB / 0.5796 GB, free: 13.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/0.6214, allocations: 245.8 kB / 0.5798 GB, free: 13.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008128/0.6222, allocations: 494.7 kB / 0.5803 GB, free: 13.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.6223, allocations: 54.77 kB / 0.5804 GB, free: 13.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/0.6228, allocations: 390.3 kB / 0.5807 GB, free: 12.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004717/0.6233, allocations: 378.5 kB / 0.5811 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.6234, allocations: 26.81 kB / 0.5811 GB, free: 12.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.6236, allocations: 389.8 kB / 0.5815 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000874/0.6245, allocations: 0.531 MB / 0.582 GB, free: 11.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.6255, allocations: 0.7796 MB / 0.5828 GB, free: 11.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.6274, allocations: 1.409 MB / 0.5842 GB, free: 10.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.6274, allocations: 4 kB / 0.5842 GB, free: 10.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004003/0.6314, allocations: 2.085 MB / 0.5862 GB, free: 8.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.176e-05/0.6315, allocations: 59.41 kB / 0.5863 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00295/0.6345, allocations: 1.693 MB / 0.5879 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/0.6365, allocations: 0.6525 MB / 0.5885 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.637, allocations: 131.7 kB / 0.5887 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008641/0.6457, allocations: 5.934 MB / 0.5945 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009149/0.6466, allocations: 71.88 kB / 0.5945 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.6469, allocations: 44 kB / 0.5946 GB, free: 15.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 67 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.switch1.switch_a.arc,switch1.switch_a.arc,$PRE.switch1.switch_a.open,switch1.switch_a.open,switch1.switch_a.closed,$PRE.switch1.switch_b.arc,switch1.switch_b.arc,$PRE.switch1.switch_b.open,switch1.switch_b.open,switch1.switch_b.closed,$PRE.switch1.switch_c.arc,switch1.switch_c.arc,$PRE.switch1.switch_c.open,switch1.switch_c.open,switch1.switch_c.closed,$PRE.switch2.switch_a.arc,switch2.switch_a.arc,$PRE.switch2.switch_a.open,switch2.switch_a.open,switch2.switch_a.closed,$PRE.switch2.switch_b.arc,switch2.switch_b.arc,$PRE.switch2.switch_b.open,switch2.switch_b.open,switch2.switch_b.closed,$PRE.switch2.switch_c.arc,switch2.switch_c.arc,$PRE.switch2.switch_c.open,switch2.switch_c.open,switch2.switch_c.closed,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay1.y[3],relay1.y[3],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.relay2.y[3],relay2.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 116 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001108/0.648, allocations: 426.1 kB / 0.595 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.6483, allocations: 87.05 kB / 0.5951 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.6508, allocations: 1.459 MB / 0.5965 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.677e-05/0.6509, allocations: 28 kB / 0.5965 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6509, allocations: 3.938 kB / 0.5965 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.6509, allocations: 7.969 kB / 0.5965 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005057/0.656, allocations: 2.814 MB / 0.5993 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.656, allocations: 0 / 0.5993 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.6571, allocations: 223.8 kB / 0.5995 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/0.6571, allocations: 12 kB / 0.5995 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/0.6572, allocations: 23.98 kB / 0.5995 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.6572, allocations: 4 kB / 0.5995 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6572, allocations: 11.88 kB / 0.5995 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/0.6606, allocations: 2.315 MB / 0.6018 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.6609, allocations: 148.2 kB / 0.6019 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.6611, allocations: 31.98 kB / 0.602 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.6616, allocations: 51.94 kB / 0.602 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.6619, allocations: 120.7 kB / 0.6021 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.801e-05/0.662, allocations: 32 kB / 0.6022 GB, free: 7.328 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004986/0.6625, allocations: 334.8 kB / 0.6025 GB, free: 7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6625, allocations: 4 kB / 0.6025 GB, free: 6.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001283/0.6638, allocations: 331.9 kB / 0.6028 GB, free: 6.672 MB / 410.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_b.closed,switch1.switch_c.closed,switch1.switch_a.closed,switch2.switch_a.closed,switch2.switch_b.closed,switch2.switch_c.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,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch2.switch_c.open,switch2.switch_a.open,switch2.switch_b.open,switch1.switch_b.open,switch1.switch_c.open,switch1.switch_a.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 88 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003953/0.6642, allocations: 203 kB / 0.603 GB, free: 6.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003233/0.6675, allocations: 1.888 MB / 0.6048 GB, free: 4.543 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6675, allocations: 0 / 0.6048 GB, free: 4.543 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.6687, allocations: 0.9181 MB / 0.6057 GB, free: 3.598 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.6698, allocations: 126.6 kB / 0.6059 GB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.6743, allocations: 2.679 MB / 0.6085 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008065/0.6751, allocations: 1.105 MB / 0.6096 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008489/0.676, allocations: 242.8 kB / 0.6098 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.6763, allocations: 59.44 kB / 0.6098 GB, free: 15.32 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6763, allocations: 0 / 0.6098 GB, free: 15.32 MB / 426.7 MB Notification: Performance of Templates: time 0.02552/0.7018, allocations: 12.49 MB / 0.622 GB, free: 2.84 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.makefile (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)