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.001091/0.001091, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001296/0.001296, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2857/0.2857, allocations: 29.41 MB / 291.2 MB, free: 2.336 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.695e-06/2.695e-06, allocations: 0 / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.778e-05/6.047e-05, allocations: 8.797 kB / 316.8 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.007264/0.007324, allocations: 5.711 MB / 322.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.01008, allocations: 2.134 MB / 324.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.0103, allocations: 27.75 kB / 324.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005647/0.01086, allocations: 234.5 kB / 324.9 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008072/0.01167, allocations: 0.5595 MB / 325.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.01224, allocations: 402.9 kB / 325.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008573/0.01309, allocations: 1.236 MB / 327.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.01355, allocations: 0.515 MB / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006751/0.01422, allocations: 0.7521 MB / 328.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.01471, allocations: 0.5688 MB / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.14e-05/0.0148, allocations: 92 kB / 329 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005305/0.01533, allocations: 0.5109 MB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003306/0.01566, allocations: 0.4988 MB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.01599, allocations: 383.1 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008666/0.01686, allocations: 1.079 MB / 331.5 MB, free: 1.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.01686, allocations: 0 / 331.5 MB, free: 1.254 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01686, allocations: 0 / 331.5 MB, free: 1.254 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.01687, allocations: 4 kB / 331.5 MB, free: 1.25 MB / 298.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.001265/0.01814, allocations: 1.21 MB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.01817, allocations: 15.98 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000569/0.01874, allocations: 228.6 kB / 333 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.0193, allocations: 482.9 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/0.01935, allocations: 70.36 kB / 333.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.01949, allocations: 92.73 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.02028, allocations: 0.8719 MB / 334.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.02029, allocations: 7.938 kB / 334.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.02035, allocations: 36 kB / 334.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.101e-05/0.02043, allocations: 61.97 kB / 334.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.02092, allocations: 459.8 kB / 335 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007857/0.02878, allocations: 3.456 MB / 338.5 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.02934, allocations: 466.3 kB / 338.9 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.02959, allocations: 271.2 kB / 339.2 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.02963, allocations: 16.66 kB / 339.2 MB, free: 9.191 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005533/0.03018, allocations: 0.6586 MB / 339.9 MB, free: 8.488 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 2.655e-06/0.03019, allocations: 0 / 339.9 MB, free: 8.488 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.00231/0.0325, allocations: 1.747 MB / 341.6 MB, free: 6.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.03259, allocations: 238.5 kB / 341.9 MB, free: 6.367 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.03286, allocations: 419.1 kB / 342.3 MB, free: 5.945 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.03291, allocations: 61.69 kB / 342.3 MB, free: 5.879 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.03307, allocations: 358.1 kB / 342.7 MB, free: 5.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.03326, allocations: 380.8 kB / 343 MB, free: 5.148 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.03344, allocations: 214.8 kB / 343.3 MB, free: 4.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.03356, allocations: 398.6 kB / 343.6 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.03376, allocations: 217.5 kB / 343.9 MB, free: 4.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.03407, allocations: 460 kB / 344.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.03464, allocations: 0.7719 MB / 345.1 MB, free: 2.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.03464, allocations: 0 / 345.1 MB, free: 2.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001284/0.03592, allocations: 1.046 MB / 346.1 MB, free: 1.773 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.03597, allocations: 67.39 kB / 346.2 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008462/0.03681, allocations: 0.6452 MB / 346.8 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009952/0.03781, allocations: 473.6 kB / 347.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.03806, allocations: 135.8 kB / 347.4 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/0.04146, allocations: 2.988 MB / 350.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.0418, allocations: 35.98 kB / 350.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.04185, allocations: 36 kB / 350.5 MB, free: 13.29 MB / 330.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.0003377/0.04219, allocations: 281 kB / 350.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.04237, allocations: 99.86 kB / 350.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006898/0.04306, allocations: 0.7212 MB / 351.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.04309, allocations: 20 kB / 351.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.04309, allocations: 3.938 kB / 351.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.0431, allocations: 11.97 kB / 351.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.04476, allocations: 1.468 MB / 353.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.04476, allocations: 4 kB / 353.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.04525, allocations: 199.9 kB / 353.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.04526, allocations: 8 kB / 353.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.0453, allocations: 27.98 kB / 353.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-06/0.04531, allocations: 4.078 kB / 353.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.04531, allocations: 3.984 kB / 353.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.04633, allocations: 1.173 MB / 354.5 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.04641, allocations: 63.48 kB / 354.6 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-05/0.04648, allocations: 35.98 kB / 354.6 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.04667, allocations: 20 kB / 354.6 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004422/0.04711, allocations: 107.6 kB / 354.7 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.04715, allocations: 35.91 kB / 354.8 MB, free: 8.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.0473, allocations: 168.4 kB / 354.9 MB, free: 8.672 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0473, allocations: 0 / 354.9 MB, free: 8.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009175/0.04822, allocations: 308 kB / 355.2 MB, free: 8.371 MB / 330.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.0002891/0.04851, allocations: 152.1 kB / 355.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.05038, allocations: 1.192 MB / 356.6 MB, free: 6.961 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.828e-05/0.05039, allocations: 8 kB / 356.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.05096, allocations: 0.5025 MB / 357.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.05161, allocations: 159.2 kB / 357.2 MB, free: 6.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.05427, allocations: 1.847 MB / 359.1 MB, free: 4.344 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.05451, allocations: 257.5 kB / 359.3 MB, free: 4.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.05478, allocations: 106.9 kB / 359.4 MB, free: 3.961 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.05511, allocations: 211.3 kB / 359.6 MB, free: 3.754 MB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.05511, allocations: 0 / 359.6 MB, free: 3.754 MB / 330.7 MB Notification: Performance of Templates: time 0.02003/0.07515, allocations: 14.94 MB / 374.6 MB, free: 5.031 MB / 346.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.4723959201946855]