Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.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.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline") translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 110 kB / 17.73 MB, free: 5.434 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.001218/0.001218, allocations: 186.5 kB / 18.67 MB, free: 4.508 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.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1735/0.1735, allocations: 38.04 MB / 330.6 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.89 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2748, allocations: 58.06 MB / 0.5048 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.Tline): time 0.007335/0.2822, allocations: 8.084 MB / 0.5127 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.2862, allocations: 2.65 MB / 0.5152 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006865/0.2869, allocations: 26.91 kB / 0.5153 GB, free: 224 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.2887, allocations: 0.705 MB / 0.516 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.2903, allocations: 0.7049 MB / 0.5166 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.2915, allocations: 0.5369 MB / 0.5172 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.2932, allocations: 1.754 MB / 0.5189 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009619/0.2942, allocations: 0.6866 MB / 0.5196 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009567/0.2951, allocations: 0.7106 MB / 0.5202 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.2963, allocations: 0.9301 MB / 0.5212 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.2965, allocations: 151.8 kB / 0.5213 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009849/0.2975, allocations: 0.5703 MB / 0.5219 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006147/0.2981, allocations: 0.6011 MB / 0.5224 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007868/0.2989, allocations: 0.7576 MB / 0.5232 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.3011, allocations: 1.952 MB / 0.5251 GB, free: 11.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3011, allocations: 0 / 0.5251 GB, free: 11.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3011, allocations: 0.6094 kB / 0.5251 GB, free: 11.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.3011, allocations: 5.156 kB / 0.5251 GB, free: 11.77 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003498/0.3046, allocations: 1.856 MB / 0.5269 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3047, allocations: 13.17 kB / 0.5269 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.3058, allocations: 221.4 kB / 0.5271 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.3072, allocations: 0.8445 MB / 0.528 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.033e-05/0.3073, allocations: 93.64 kB / 0.528 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/0.3078, allocations: 187.3 kB / 0.5282 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.3103, allocations: 1.693 MB / 0.5299 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.3103, allocations: 10.36 kB / 0.5299 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.3105, allocations: 48.09 kB / 0.5299 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000471/0.311, allocations: 103.6 kB / 0.53 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.3133, allocations: 1.49 MB / 0.5315 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007947/0.3213, allocations: 5.939 MB / 0.5373 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.3237, allocations: 1.826 MB / 0.5391 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.3249, allocations: 0.8988 MB / 0.5399 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.019e-05/0.325, allocations: 13.5 kB / 0.54 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/0.3268, allocations: 1.284 MB / 0.5412 GB, free: 1.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=173): time 3.757e-06/0.3268, allocations: 4 kB / 0.5412 GB, free: 1.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=174): time 0.00841/0.3352, allocations: 5.797 MB / 0.5469 GB, free: 12.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.3353, allocations: 254.8 kB / 0.5471 GB, free: 12.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.3361, allocations: 0.68 MB / 0.5478 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.3362, allocations: 65.7 kB / 0.5479 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.3366, allocations: 0.49 MB / 0.5483 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.337, allocations: 0.5619 MB / 0.5489 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004727/0.3375, allocations: 319.5 kB / 0.5492 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3376, allocations: 349.9 kB / 0.5495 GB, free: 9.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.3389, allocations: 0.8433 MB / 0.5503 GB, free: 9.039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.3403, allocations: 1.137 MB / 0.5514 GB, free: 7.816 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002754/0.3431, allocations: 2.124 MB / 0.5535 GB, free: 5.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3431, allocations: 4 kB / 0.5535 GB, free: 5.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.008004/0.3511, allocations: 3.786 MB / 0.5572 GB, free: 1.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/0.3512, allocations: 63.41 kB / 0.5573 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.3512, allocations: 4 kB / 0.5573 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004692/0.3559, allocations: 1.681 MB / 0.5589 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.3565, allocations: 147.6 kB / 0.5591 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02286/0.3794, allocations: 14.22 MB / 0.573 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.3805, allocations: 119.9 kB / 0.5731 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.3807, allocations: 60 kB / 0.5731 GB, free: 1.293 MB / 430.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: 91 (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],breaker2.breaker_c.opening,breaker2.breaker_c.t0,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.closed,breaker2.breaker_c.open,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.arc,breaker2.breaker_b.opening,breaker2.breaker_b.t0,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.closed,breaker2.breaker_b.open,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.arc,breaker2.breaker_a.opening,breaker2.breaker_a.t0,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.closed,breaker2.breaker_a.open,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.arc,breaker1.breaker_c.opening,breaker1.breaker_c.t0,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.closed,breaker1.breaker_c.open,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.arc,breaker1.breaker_b.opening,breaker1.breaker_b.t0,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.closed,breaker1.breaker_b.open,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.arc,breaker1.breaker_a.opening,breaker1.breaker_a.t0,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.closed,breaker1.breaker_a.open,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(28,54)} Notification: Performance of prepare postOptimizeDAE: time 0.0007485/0.3814, allocations: 0.5045 MB / 0.5736 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.3817, allocations: 123.2 kB / 0.5737 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/0.3853, allocations: 2.23 MB / 0.5759 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.3853, allocations: 7.969 kB / 0.5759 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3853, allocations: 4 kB / 0.5759 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.3855, allocations: 196.3 kB / 0.5761 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.3858, allocations: 51.98 kB / 0.5762 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007751/0.3865, allocations: 107.9 kB / 0.5763 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/0.3869, allocations: 153.1 kB / 0.5764 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005751/0.3926, allocations: 2.948 MB / 0.5793 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004779/0.3974, allocations: 3.578 MB / 0.5828 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001412/0.3989, allocations: 1.092 MB / 0.5839 GB, free: 6.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005607/0.3994, allocations: 471 kB / 0.5843 GB, free: 5.668 MB / 446.1 MB Notification: Performance of Backend: time 2.61e-07/0.3994, allocations: 0 / 0.5843 GB, free: 5.668 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004678/0.4041, allocations: 2.525 MB / 0.5868 GB, free: 3.102 MB / 446.1 MB Notification: Performance of SimCode: time 0.005027/0.4092, allocations: 4.152 MB / 0.5908 GB, free: 14.87 MB / 462.1 MB Notification: Performance of Templates: time 0.04565/0.4548, allocations: 31.87 MB / 0.6219 GB, free: 15.14 MB / 494.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe 2>&1)