Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 107.8 kB / 17.06 MB, free: 6.137 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.00106/0.00106, allocations: 188 kB / 18 MB, free: 5.219 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.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1783/0.1783, allocations: 38.03 MB / 329.9 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.89 kB / 458.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3722, allocations: 58.05 MB / 0.5041 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005505/0.3777, allocations: 4.909 MB / 0.5089 GB, free: 4.391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.3797, allocations: 1.301 MB / 0.5102 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.3799, allocations: 18.28 kB / 0.5102 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004706/0.3804, allocations: 123.5 kB / 0.5103 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007029/0.3811, allocations: 322.6 kB / 0.5106 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.3816, allocations: 161.7 kB / 0.5108 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007223/0.3823, allocations: 0.6968 MB / 0.5114 GB, free: 2.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.3826, allocations: 156.8 kB / 0.5116 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000473/0.3831, allocations: 314.9 kB / 0.5119 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006621/0.3838, allocations: 443.3 kB / 0.5123 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.028e-05/0.3839, allocations: 46.16 kB / 0.5124 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.384, allocations: 47.53 kB / 0.5124 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.3843, allocations: 235.9 kB / 0.5126 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.3846, allocations: 281.4 kB / 0.5129 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007156/0.3853, allocations: 0.6141 MB / 0.5135 GB, free: 2.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3854, allocations: 0.7969 kB / 0.5135 GB, free: 2.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3854, allocations: 0 / 0.5135 GB, free: 2.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.3854, allocations: 0 / 0.5135 GB, free: 2.074 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001868/0.3872, allocations: 0.9468 MB / 0.5144 GB, free: 1.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3873, allocations: 13.52 kB / 0.5144 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.3874, allocations: 54.44 kB / 0.5145 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.3885, allocations: 0.6227 MB / 0.5151 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.3886, allocations: 26.97 kB / 0.5151 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.361e-05/0.3887, allocations: 39.28 kB / 0.5152 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009335/0.3896, allocations: 0.5502 MB / 0.5157 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.3896, allocations: 1.219 kB / 0.5157 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.3897, allocations: 11.19 kB / 0.5157 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004011/0.3901, allocations: 89.7 kB / 0.5158 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/0.3908, allocations: 355.1 kB / 0.5161 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.3941, allocations: 2.058 MB / 0.5181 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/0.395, allocations: 387.5 kB / 0.5185 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006215/0.3956, allocations: 289.8 kB / 0.5188 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.3957, allocations: 11.89 kB / 0.5188 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3957, allocations: 36.39 kB / 0.5188 GB, free: 15.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.314e-06/0.3957, allocations: 1.406 kB / 0.5188 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.005247/0.401, allocations: 2.536 MB / 0.5213 GB, free: 13.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.4011, allocations: 80.58 kB / 0.5214 GB, free: 13.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/0.4016, allocations: 381.6 kB / 0.5217 GB, free: 13.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.4017, allocations: 31.08 kB / 0.5218 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.4019, allocations: 249.8 kB / 0.522 GB, free: 13.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.402, allocations: 138.3 kB / 0.5221 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.4022, allocations: 98.62 kB / 0.5222 GB, free: 13.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4023, allocations: 363.5 kB / 0.5226 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.4027, allocations: 243.6 kB / 0.5228 GB, free: 12.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.4032, allocations: 360.6 kB / 0.5232 GB, free: 12.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/0.4041, allocations: 0.6115 MB / 0.5238 GB, free: 12.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4041, allocations: 1.219 kB / 0.5238 GB, free: 12.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002037/0.4062, allocations: 1.005 MB / 0.5247 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4062, allocations: 10.58 kB / 0.5248 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4062, allocations: 4.406 kB / 0.5248 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.4073, allocations: 414.8 kB / 0.5252 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.4076, allocations: 79.98 kB / 0.5252 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005989/0.4136, allocations: 5.129 MB / 0.5302 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.4141, allocations: 45.23 kB / 0.5303 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.4142, allocations: 19.86 kB / 0.5303 GB, free: 8.051 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004269/0.4146, allocations: 202.8 kB / 0.5305 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.4148, allocations: 43.55 kB / 0.5305 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.4166, allocations: 0.8352 MB / 0.5313 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4166, allocations: 4.438 kB / 0.5314 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4166, allocations: 2.75 kB / 0.5314 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.4166, allocations: 7.922 kB / 0.5314 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.4188, allocations: 1.413 MB / 0.5327 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.4188, allocations: 1.344 kB / 0.5327 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.419, allocations: 35.8 kB / 0.5328 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.4203, allocations: 453.2 kB / 0.5332 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/0.4204, allocations: 38.38 kB / 0.5332 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005475/0.4259, allocations: 6.717 MB / 0.5398 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4259, allocations: 4.984 kB / 0.5398 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.4278, allocations: 1.12 MB / 0.5409 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.428, allocations: 108.5 kB / 0.541 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.4281, allocations: 33.2 kB / 0.541 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.4284, allocations: 37.25 kB / 0.5411 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4286, allocations: 39.31 kB / 0.5411 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.4286, allocations: 10.8 kB / 0.5411 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003214/0.4289, allocations: 267.5 kB / 0.5414 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.4289, allocations: 0 / 0.5414 GB, free: 15.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000781/0.4297, allocations: 157.6 kB / 0.5415 GB, free: 15.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.4299, allocations: 118.6 kB / 0.5416 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.4317, allocations: 0.9075 MB / 0.5425 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4317, allocations: 5.125 kB / 0.5425 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.4332, allocations: 1.08 MB / 0.5436 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007301/0.4339, allocations: 123.7 kB / 0.5437 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.4368, allocations: 1.822 MB / 0.5455 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.4373, allocations: 0.8798 MB / 0.5463 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.4376, allocations: 75.48 kB / 0.5464 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.4377, allocations: 36.45 kB / 0.5465 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4377, allocations: 0 / 0.5465 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.01325/0.4509, allocations: 7.697 MB / 0.554 GB, free: 3.777 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)