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.001399/0.001399, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00207/0.00207, allocations: 174.3 kB / 24.91 MB, free: 8.773 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.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2422/0.2422, allocations: 29.41 MB / 291.2 MB, free: 2.453 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.312e-06/1.312e-06, allocations: 0 / 316.9 MB, free: 4 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.017e-05, allocations: 7.188 kB / 316.9 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.005359/0.00539, allocations: 5.764 MB / 322.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.008362, allocations: 2.13 MB / 324.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003152/0.008677, allocations: 31.75 kB / 324.8 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008473/0.009524, allocations: 238.4 kB / 325 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008714/0.0104, allocations: 0.5361 MB / 325.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.01103, allocations: 398.9 kB / 326 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.0121, allocations: 1.236 MB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005753/0.01268, allocations: 0.5189 MB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008155/0.01349, allocations: 0.7482 MB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000559/0.01405, allocations: 0.561 MB / 329 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.01415, allocations: 92 kB / 329.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006925/0.01485, allocations: 0.542 MB / 329.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.01515, allocations: 0.4988 MB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.01542, allocations: 379.1 kB / 330.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009256/0.01635, allocations: 1.079 MB / 331.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01635, allocations: 0 / 331.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01635, allocations: 0 / 331.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.01637, allocations: 0 / 331.6 MB, free: 1.207 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.001513/0.01788, allocations: 1.21 MB / 332.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.01792, allocations: 11.98 kB / 332.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006553/0.01857, allocations: 232.7 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.01915, allocations: 478.9 kB / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.0192, allocations: 70.36 kB / 333.6 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.01932, allocations: 96.67 kB / 333.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000789/0.02011, allocations: 0.8723 MB / 334.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.02013, allocations: 3.938 kB / 334.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.02018, allocations: 32 kB / 334.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-05/0.02026, allocations: 65.97 kB / 334.7 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.0208, allocations: 463.8 kB / 335.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/0.02396, allocations: 3.448 MB / 338.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.02447, allocations: 471.7 kB / 339 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.0247, allocations: 273.5 kB / 339.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.02474, allocations: 16.66 kB / 339.3 MB, free: 9.152 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004858/0.02523, allocations: 0.6507 MB / 339.9 MB, free: 8.457 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 2.004e-06/0.02523, allocations: 7.938 kB / 340 MB, free: 8.449 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.001745/0.02697, allocations: 1.751 MB / 341.7 MB, free: 6.605 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.399e-05/0.02706, allocations: 238.6 kB / 341.9 MB, free: 6.324 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.02728, allocations: 407 kB / 342.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.02733, allocations: 57.69 kB / 342.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.02748, allocations: 366 kB / 342.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.02766, allocations: 380.8 kB / 343.1 MB, free: 5.113 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.02785, allocations: 215 kB / 343.3 MB, free: 4.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.02796, allocations: 402.6 kB / 343.7 MB, free: 4.492 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.02816, allocations: 213.5 kB / 343.9 MB, free: 4.273 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.02851, allocations: 464 kB / 344.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.02906, allocations: 0.7641 MB / 345.1 MB, free: 2.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.02907, allocations: 4 kB / 345.2 MB, free: 2.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001278/0.03034, allocations: 1.054 MB / 346.2 MB, free: 1.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.03038, allocations: 63.39 kB / 346.3 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00084/0.03122, allocations: 0.6453 MB / 346.9 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009849/0.03221, allocations: 469.6 kB / 347.4 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.03249, allocations: 159.7 kB / 347.5 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.03544, allocations: 2.999 MB / 350.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.03568, allocations: 35.98 kB / 350.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.03572, allocations: 36 kB / 350.6 MB, free: 13.22 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.0002244/0.03595, allocations: 284.9 kB / 350.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.03607, allocations: 99.86 kB / 351 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006163/0.03668, allocations: 0.7173 MB / 351.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.0367, allocations: 24 kB / 351.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.03671, allocations: 3.984 kB / 351.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.03671, allocations: 3.984 kB / 351.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.0381, allocations: 1.472 MB / 353.2 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.0381, allocations: 0 / 353.2 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/0.03869, allocations: 238.6 kB / 353.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.03869, allocations: 4 kB / 353.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/0.03874, allocations: 27.98 kB / 353.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.03874, allocations: 7.938 kB / 353.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.03874, allocations: 0 / 353.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009566/0.0397, allocations: 1.169 MB / 354.6 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.03978, allocations: 63.48 kB / 354.7 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.03989, allocations: 39.98 kB / 354.7 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.04007, allocations: 23.98 kB / 354.8 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.04022, allocations: 107.5 kB / 354.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.04026, allocations: 24 kB / 354.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.04037, allocations: 172.4 kB / 355.1 MB, free: 8.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04037, allocations: 0 / 355.1 MB, free: 8.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004899/0.04086, allocations: 304 kB / 355.4 MB, free: 8.281 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.0001856/0.04105, allocations: 156.2 kB / 355.5 MB, free: 8.121 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.04218, allocations: 1.2 MB / 356.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.04219, allocations: 8 kB / 356.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.04256, allocations: 0.4986 MB / 357.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.04296, allocations: 156.4 kB / 357.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.04523, allocations: 1.844 MB / 359.2 MB, free: 4.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.04541, allocations: 265.5 kB / 359.5 MB, free: 3.969 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.04565, allocations: 98.89 kB / 359.6 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.04598, allocations: 219.3 kB / 359.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.04598, allocations: 3.938 kB / 359.8 MB, free: 3.648 MB / 330.7 MB Notification: Performance of Templates: time 0.01684/0.06282, allocations: 15.01 MB / 374.8 MB, free: 4.848 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3069014153443277]