Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001564/0.001564, allocations: 200 kB / 18.01 MB, free: 5.055 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.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1835/0.1835, allocations: 38.03 MB / 329.9 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.89 kB / 458.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3655, allocations: 58.05 MB / 0.5041 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005864/0.3714, allocations: 5.504 MB / 0.5095 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.3734, allocations: 1.301 MB / 0.5107 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.3736, allocations: 19.78 kB / 0.5107 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.3741, allocations: 130.1 kB / 0.5109 GB, free: 3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007556/0.3749, allocations: 382.3 kB / 0.5112 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3751, allocations: 132.8 kB / 0.5114 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006816/0.3758, allocations: 0.7538 MB / 0.5121 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.3761, allocations: 207.3 kB / 0.5123 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004638/0.3766, allocations: 342.6 kB / 0.5126 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005515/0.3772, allocations: 381.2 kB / 0.513 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.3772, allocations: 36.06 kB / 0.513 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.522e-05/0.3773, allocations: 37.25 kB / 0.5131 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.3775, allocations: 196.9 kB / 0.5132 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.3778, allocations: 247 kB / 0.5135 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.3783, allocations: 0.528 MB / 0.514 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3784, allocations: 0 / 0.514 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3784, allocations: 0 / 0.514 GB, free: 1.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3784, allocations: 0 / 0.514 GB, free: 1.582 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001263/0.3797, allocations: 0.8102 MB / 0.5148 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3797, allocations: 14.2 kB / 0.5148 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.3798, allocations: 53.66 kB / 0.5149 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007311/0.3805, allocations: 485.2 kB / 0.5153 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.3806, allocations: 35.52 kB / 0.5153 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.3807, allocations: 38.31 kB / 0.5154 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.3814, allocations: 0.5 MB / 0.5159 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.3814, allocations: 0 / 0.5159 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.3815, allocations: 16.78 kB / 0.5159 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/0.3815, allocations: 23.42 kB / 0.5159 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007441/0.3823, allocations: 365.7 kB / 0.5163 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/0.3853, allocations: 2.081 MB / 0.5183 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.3857, allocations: 235.9 kB / 0.5185 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.386, allocations: 130.6 kB / 0.5186 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.386, allocations: 2.156 kB / 0.5186 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.3861, allocations: 48.56 kB / 0.5187 GB, free: 14.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.834e-06/0.3861, allocations: 0 / 0.5187 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001316/0.3874, allocations: 0.7517 MB / 0.5194 GB, free: 13.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.3875, allocations: 80.64 kB / 0.5195 GB, free: 13.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.3879, allocations: 383.1 kB / 0.5199 GB, free: 13.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.388, allocations: 31.02 kB / 0.5199 GB, free: 13.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.3882, allocations: 292.3 kB / 0.5202 GB, free: 13.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.3882, allocations: 85.84 kB / 0.5203 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.3884, allocations: 82.45 kB / 0.5203 GB, free: 13.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3885, allocations: 349.5 kB / 0.5207 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3887, allocations: 87.66 kB / 0.5208 GB, free: 12.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.389, allocations: 278.7 kB / 0.521 GB, free: 12.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.3894, allocations: 408.2 kB / 0.5214 GB, free: 12.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3894, allocations: 1.094 kB / 0.5214 GB, free: 12.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007112/0.3902, allocations: 456.6 kB / 0.5218 GB, free: 12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3902, allocations: 7.188 kB / 0.5219 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3902, allocations: 7.5 kB / 0.5219 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.3904, allocations: 51.83 kB / 0.5219 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.3907, allocations: 87.48 kB / 0.522 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.392, allocations: 1.603 MB / 0.5236 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.3923, allocations: 14.89 kB / 0.5236 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.3923, allocations: 24.44 kB / 0.5236 GB, free: 10.45 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002376/0.3926, allocations: 209.4 kB / 0.5238 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.3926, allocations: 39.97 kB / 0.5238 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.393, allocations: 245.6 kB / 0.5241 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3931, allocations: 2.594 kB / 0.5241 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3931, allocations: 1.156 kB / 0.5241 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3931, allocations: 2.516 kB / 0.5241 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.3942, allocations: 0.6941 MB / 0.5248 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3942, allocations: 1.375 kB / 0.5248 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.3944, allocations: 47.27 kB / 0.5248 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.3944, allocations: 2.312 kB / 0.5248 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.3944, allocations: 11.2 kB / 0.5248 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3945, allocations: 5.344 kB / 0.5248 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3945, allocations: 2.328 kB / 0.5248 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.395, allocations: 429.3 kB / 0.5252 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3951, allocations: 128.3 kB / 0.5253 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.3952, allocations: 7.359 kB / 0.5254 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.3953, allocations: 8.438 kB / 0.5254 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.3954, allocations: 11.58 kB / 0.5254 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3954, allocations: 14.11 kB / 0.5254 GB, free: 9.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002965/0.3957, allocations: 254.9 kB / 0.5256 GB, free: 9.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3957, allocations: 3.938 kB / 0.5256 GB, free: 9.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004759/0.3962, allocations: 90.7 kB / 0.5257 GB, free: 9.109 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001204/0.3963, allocations: 106.8 kB / 0.5258 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000655/0.397, allocations: 385.4 kB / 0.5262 GB, free: 8.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.397, allocations: 0 / 0.5262 GB, free: 8.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.3971, allocations: 89.84 kB / 0.5263 GB, free: 8.781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.3978, allocations: 93.66 kB / 0.5264 GB, free: 8.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3993, allocations: 0.8471 MB / 0.5272 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.3998, allocations: 0.8523 MB / 0.528 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002713/0.4001, allocations: 80.05 kB / 0.5281 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.4002, allocations: 35.91 kB / 0.5281 GB, free: 7.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4002, allocations: 0 / 0.5281 GB, free: 7.5 MB / 398.1 MB Notification: Performance of Templates: time 0.008842/0.4091, allocations: 3.65 MB / 0.5317 GB, free: 6.703 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)