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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 110.3 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 185.4 kB / 18.67 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1788/0.1788, allocations: 37.99 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 67.91 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09787, allocations: 55.24 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.007986/0.1059, allocations: 6.589 MB / 494.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004037/0.11, allocations: 2.147 MB / 496.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004737/0.1105, allocations: 23.88 kB / 496.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.1123, allocations: 0.6344 MB / 497.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.1137, allocations: 0.556 MB / 497.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008865/0.1146, allocations: 379.2 kB / 498.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.116, allocations: 1.205 MB / 499.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008281/0.1168, allocations: 0.5757 MB / 499.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008324/0.1177, allocations: 0.5175 MB / 0.4887 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.1187, allocations: 0.662 MB / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.119, allocations: 92 kB / 0.4894 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009455/0.1199, allocations: 0.5071 MB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000516/0.1205, allocations: 482.8 kB / 0.4904 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006511/0.1211, allocations: 0.5287 MB / 0.4909 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.1226, allocations: 1.379 MB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1226, allocations: 0 / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1226, allocations: 0 / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.041e-05/0.1226, allocations: 4 kB / 0.4922 GB, free: 8.016 MB / 382.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.00287/0.1255, allocations: 1.386 MB / 0.4936 GB, free: 6.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1256, allocations: 15.89 kB / 0.4936 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/0.1265, allocations: 155.5 kB / 0.4937 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.128, allocations: 0.6241 MB / 0.4944 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.508e-05/0.1281, allocations: 74.38 kB / 0.4944 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.1283, allocations: 100.1 kB / 0.4945 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.1304, allocations: 1.307 MB / 0.4958 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.1304, allocations: 4 kB / 0.4958 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.256e-05/0.1305, allocations: 35.98 kB / 0.4958 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/0.1307, allocations: 65.92 kB / 0.4959 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.1327, allocations: 1.179 MB / 0.4971 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006707/0.1394, allocations: 4.637 MB / 0.5016 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.1409, allocations: 1.288 MB / 0.5028 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008345/0.1418, allocations: 0.6366 MB / 0.5035 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.1418, allocations: 13.53 kB / 0.5035 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/0.143, allocations: 0.8946 MB / 0.5043 GB, free: 11.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=122): time 3.687e-06/0.143, allocations: 0 / 0.5043 GB, free: 11.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.005247/0.1483, allocations: 3.581 MB / 0.5078 GB, free: 7.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.1484, allocations: 234.6 kB / 0.5081 GB, free: 7.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.149, allocations: 0.494 MB / 0.5086 GB, free: 6.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.937e-05/0.1491, allocations: 49.7 kB / 0.5086 GB, free: 6.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.1495, allocations: 408 kB / 0.509 GB, free: 6.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004197/0.1499, allocations: 375.3 kB / 0.5093 GB, free: 5.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/0.1504, allocations: 218.9 kB / 0.5096 GB, free: 5.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1505, allocations: 398.7 kB / 0.5099 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007619/0.1513, allocations: 0.5185 MB / 0.5104 GB, free: 4.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009378/0.1522, allocations: 0.7779 MB / 0.5112 GB, free: 3.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.154, allocations: 1.407 MB / 0.5126 GB, free: 2.281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.154, allocations: 4 kB / 0.5126 GB, free: 2.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003606/0.1576, allocations: 2.067 MB / 0.5146 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.1577, allocations: 63.34 kB / 0.5147 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002982/0.1607, allocations: 1.641 MB / 0.5163 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/0.1626, allocations: 0.6603 MB / 0.5169 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.1631, allocations: 135.7 kB / 0.517 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009279/0.1723, allocations: 6.48 MB / 0.5234 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.173, allocations: 64.02 kB / 0.5234 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.1731, allocations: 55.92 kB / 0.5235 GB, free: 6.934 MB / 414.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.0006421/0.1738, allocations: 422.1 kB / 0.5239 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.1741, allocations: 82.97 kB / 0.524 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.1763, allocations: 1.419 MB / 0.5253 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.1763, allocations: 11.98 kB / 0.5254 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1763, allocations: 0 / 0.5254 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.1766, allocations: 148.1 kB / 0.5255 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.1768, allocations: 27.94 kB / 0.5255 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/0.1775, allocations: 47.94 kB / 0.5256 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/0.1778, allocations: 96.88 kB / 0.5257 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004044/0.1819, allocations: 1.846 MB / 0.5275 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003087/0.185, allocations: 2.455 MB / 0.5299 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.1976/0.3826, allocations: 0.7078 MB / 0.5306 GB, free: 52.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004105/0.3831, allocations: 344.9 kB / 0.5309 GB, free: 51.98 MB / 414.1 MB Notification: Performance of Backend: time 5.21e-07/0.3831, allocations: 0.9688 kB / 0.5309 GB, free: 51.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003399/0.3865, allocations: 1.504 MB / 0.5324 GB, free: 51.64 MB / 414.1 MB Notification: Performance of SimCode: time 0.002748/0.3893, allocations: 2.28 MB / 0.5346 GB, free: 50.44 MB / 414.1 MB Notification: Performance of Templates: time 0.03013/0.4194, allocations: 16.22 MB / 0.5504 GB, free: 45.75 MB / 414.1 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)