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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001094/0.001094, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001105/0.001105, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1789/0.1789, allocations: 38.03 MB / 330.6 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.89 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2858, allocations: 58.05 MB / 0.5048 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.006305/0.2922, allocations: 6.58 MB / 0.5112 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.2954, allocations: 2.104 MB / 0.5132 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/0.2958, allocations: 21.5 kB / 0.5133 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.2974, allocations: 0.6352 MB / 0.5139 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.2987, allocations: 0.5483 MB / 0.5144 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008479/0.2996, allocations: 379.9 kB / 0.5148 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.3008, allocations: 1.204 MB / 0.516 GB, free: 372 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00072/0.3015, allocations: 0.5794 MB / 0.5165 GB, free: 112 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000792/0.3023, allocations: 0.5288 MB / 0.517 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009627/0.3033, allocations: 0.6501 MB / 0.5177 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.3035, allocations: 92.66 kB / 0.5178 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.3046, allocations: 0.5183 MB / 0.5183 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005112/0.3051, allocations: 482.1 kB / 0.5187 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006313/0.3058, allocations: 0.539 MB / 0.5193 GB, free: 15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.3074, allocations: 1.374 MB / 0.5206 GB, free: 14.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3074, allocations: 0 / 0.5206 GB, free: 14.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3074, allocations: 0 / 0.5206 GB, free: 14.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.3074, allocations: 0.9375 kB / 0.5206 GB, free: 14.48 MB / 398.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.002732/0.3102, allocations: 1.376 MB / 0.5219 GB, free: 13.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3102, allocations: 13.84 kB / 0.5219 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.3111, allocations: 157.8 kB / 0.5221 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.3123, allocations: 0.6311 MB / 0.5227 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.3124, allocations: 69.17 kB / 0.5228 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.3126, allocations: 102 kB / 0.5229 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.3147, allocations: 1.309 MB / 0.5242 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.3147, allocations: 9.031 kB / 0.5242 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.3148, allocations: 40.84 kB / 0.5242 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.315, allocations: 61.53 kB / 0.5243 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.3169, allocations: 1.176 MB / 0.5254 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006602/0.3235, allocations: 4.643 MB / 0.5299 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.325, allocations: 1.289 MB / 0.5312 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008815/0.3259, allocations: 0.6375 MB / 0.5318 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.129e-05/0.3259, allocations: 16.08 kB / 0.5318 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.3272, allocations: 0.8925 MB / 0.5327 GB, free: 7.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=122): time 3.576e-06/0.3272, allocations: 1.125 kB / 0.5327 GB, free: 7.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.005501/0.3327, allocations: 3.581 MB / 0.5362 GB, free: 5.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.3328, allocations: 242.3 kB / 0.5364 GB, free: 4.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005914/0.3334, allocations: 0.4935 MB / 0.5369 GB, free: 4.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.723e-05/0.3335, allocations: 54.94 kB / 0.537 GB, free: 4.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.3338, allocations: 401.2 kB / 0.5374 GB, free: 4.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.3341, allocations: 364.4 kB / 0.5377 GB, free: 3.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.3345, allocations: 223.3 kB / 0.5379 GB, free: 3.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3347, allocations: 397.7 kB / 0.5383 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008766/0.3356, allocations: 0.5155 MB / 0.5388 GB, free: 3.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.3367, allocations: 0.7821 MB / 0.5396 GB, free: 2.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.3386, allocations: 1.401 MB / 0.5409 GB, free: 1.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.3386, allocations: 2.75 kB / 0.5409 GB, free: 1.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003964/0.3426, allocations: 2.068 MB / 0.543 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.3427, allocations: 68.08 kB / 0.543 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003049/0.3457, allocations: 1.636 MB / 0.5446 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.3477, allocations: 0.6564 MB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.3482, allocations: 139.7 kB / 0.5454 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009739/0.358, allocations: 6.477 MB / 0.5517 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007453/0.3588, allocations: 67.78 kB / 0.5518 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.3589, allocations: 47.94 kB / 0.5518 GB, free: 7.328 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.0007051/0.3596, allocations: 434 kB / 0.5522 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.3598, allocations: 83.06 kB / 0.5523 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.3622, allocations: 1.419 MB / 0.5537 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.3622, allocations: 7.922 kB / 0.5537 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3622, allocations: 0 / 0.5537 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.3624, allocations: 152.1 kB / 0.5539 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.3626, allocations: 35.92 kB / 0.5539 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.363, allocations: 51.95 kB / 0.5539 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.3633, allocations: 92.88 kB / 0.554 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003088/0.3664, allocations: 1.849 MB / 0.5558 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003231/0.3696, allocations: 2.455 MB / 0.5582 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009481/0.3706, allocations: 0.7145 MB / 0.5589 GB, free: 15.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000417/0.371, allocations: 342.8 kB / 0.5593 GB, free: 15.58 MB / 430.1 MB Notification: Performance of Backend: time 4.81e-07/0.371, allocations: 0 / 0.5593 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00352/0.3745, allocations: 1.502 MB / 0.5607 GB, free: 14.03 MB / 430.1 MB Notification: Performance of SimCode: time 0.003209/0.3778, allocations: 2.272 MB / 0.5629 GB, free: 11.69 MB / 430.1 MB Notification: Performance of Templates: time 0.02692/0.4047, allocations: 16.21 MB / 0.5788 GB, free: 11.54 MB / 446.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)