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.001167/0.001167, allocations: 189.5 kB / 17.27 MB, free: 4.5 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.24/1.24, allocations: 194.2 MB / 212.2 MB, free: 2.355 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.001699/0.001699, allocations: 121.4 kB / 256.6 MB, free: 4.293 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1629/0.1629, allocations: 37.95 MB / 338.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 63.91 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07011/0.07126, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.006001/0.0773, allocations: 7.403 MB / 461.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.08033, allocations: 2.435 MB / 463.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003728/0.08072, allocations: 43.75 kB / 463.9 MB, free: 6.637 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.08195, allocations: 0.5947 MB / 464.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008447/0.0828, allocations: 0.498 MB / 465 MB, free: 5.543 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.08336, allocations: 331.5 kB / 465.3 MB, free: 5.219 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009153/0.08429, allocations: 1.731 MB / 467 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000523/0.08482, allocations: 0.5288 MB / 467.5 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.08521, allocations: 458.1 kB / 468 MB, free: 2.508 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.08578, allocations: 0.6698 MB / 468.7 MB, free: 1.836 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.386e-05/0.08589, allocations: 56 kB / 468.7 MB, free: 1.781 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006183/0.08651, allocations: 0.5225 MB / 469.2 MB, free: 1.258 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.08678, allocations: 442.8 kB / 469.7 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003246/0.08712, allocations: 0.4896 MB / 470.2 MB, free: 340 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.08815, allocations: 1.324 MB / 471.5 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.08816, allocations: 0 / 471.5 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.08817, allocations: 0 / 471.5 MB, free: 15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.08819, allocations: 0 / 471.5 MB, free: 15 MB / 330.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.002271/0.09047, allocations: 1.382 MB / 472.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.09051, allocations: 12.03 kB / 472.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006989/0.09122, allocations: 155.5 kB / 473 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009614/0.09219, allocations: 0.6085 MB / 473.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.09226, allocations: 70.38 kB / 473.7 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.09245, allocations: 103.8 kB / 473.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.09419, allocations: 1.307 MB / 475.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.09423, allocations: 7.906 kB / 475.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.09433, allocations: 39.98 kB / 475.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.09446, allocations: 57.98 kB / 475.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.09609, allocations: 1.183 MB / 476.4 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005552/0.1017, allocations: 4.664 MB / 481.1 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.103, allocations: 1.296 MB / 482.4 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007737/0.1038, allocations: 0.6291 MB / 483 MB, free: 3.012 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.1039, allocations: 8.656 kB / 483 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.105, allocations: 0.9033 MB / 483.9 MB, free: 2.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 2.785e-06/0.105, allocations: 4 kB / 483.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.004872/0.1099, allocations: 3.585 MB / 487.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.11, allocations: 238.5 kB / 487.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/0.1105, allocations: 0.494 MB / 488.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.1106, allocations: 53.7 kB / 488.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.1109, allocations: 408.3 kB / 488.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.1111, allocations: 363.1 kB / 489 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.1114, allocations: 222.8 kB / 489.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1116, allocations: 398.7 kB / 489.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007139/0.1123, allocations: 0.5147 MB / 490.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008894/0.1132, allocations: 0.7778 MB / 490.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.1148, allocations: 1.411 MB / 492.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1148, allocations: 0 / 492.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003382/0.1182, allocations: 2.059 MB / 494.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.1183, allocations: 59.41 kB / 494.4 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002739/0.121, allocations: 1.646 MB / 496.1 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/0.1228, allocations: 0.6564 MB / 496.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.1232, allocations: 139.7 kB / 496.9 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007922/0.1311, allocations: 5.911 MB / 0.491 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.1317, allocations: 59.89 kB / 0.4911 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/0.1318, allocations: 48 kB / 0.4911 GB, free: 14.48 MB / 362.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.000499/0.1323, allocations: 434 kB / 0.4915 GB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.1324, allocations: 83.06 kB / 0.4916 GB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.1344, allocations: 1.427 MB / 0.493 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/0.1344, allocations: 23.98 kB / 0.493 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.1344, allocations: 0 / 0.493 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1345, allocations: 3.984 kB / 0.493 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003704/0.1382, allocations: 2.767 MB / 0.4957 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.1382, allocations: 4 kB / 0.4957 GB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009791/0.1392, allocations: 231.8 kB / 0.496 GB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.1392, allocations: 4 kB / 0.496 GB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-05/0.1393, allocations: 27.98 kB / 0.496 GB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1393, allocations: 4 kB / 0.496 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1393, allocations: 8 kB / 0.496 GB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1723/0.3116, allocations: 10.61 MB / 0.5064 GB, free: 65.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.3118, allocations: 146.6 kB / 0.5065 GB, free: 65.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.3119, allocations: 28.78 kB / 0.5065 GB, free: 65.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.3123, allocations: 53.25 kB / 0.5066 GB, free: 65.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.3126, allocations: 111.5 kB / 0.5067 GB, free: 65.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.3126, allocations: 34.58 kB / 0.5067 GB, free: 65.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003653/0.313, allocations: 344.4 kB / 0.507 GB, free: 65.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.313, allocations: 0.9688 kB / 0.507 GB, free: 65.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001122/0.3142, allocations: 408.8 kB / 0.5074 GB, free: 65.14 MB / 362.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.0002139/0.3144, allocations: 179 kB / 0.5076 GB, free: 65.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00273/0.3171, allocations: 1.858 MB / 0.5094 GB, free: 64.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3171, allocations: 1.25 kB / 0.5094 GB, free: 64.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009782/0.3181, allocations: 0.9034 MB / 0.5103 GB, free: 64.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.3188, allocations: 129.8 kB / 0.5104 GB, free: 64.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.3232, allocations: 3.433 MB / 0.5138 GB, free: 62.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/0.3239, allocations: 1.144 MB / 0.5149 GB, free: 61.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007589/0.3247, allocations: 247.5 kB / 0.5151 GB, free: 61.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.3249, allocations: 70.62 kB / 0.5152 GB, free: 61.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/0.3249, allocations: 0 / 0.5152 GB, free: 61.77 MB / 362.7 MB Notification: Performance of Templates: time 0.02105/0.346, allocations: 15.93 MB / 0.5308 GB, free: 52.77 MB / 362.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)