Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009986/0.0009982, allocations: 178.8 kB / 17.4 MB, free: 4.414 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.636/1.636, allocations: 194.5 MB / 212.6 MB, free: 2.926 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.001615/0.001615, allocations: 123.9 kB / 257.9 MB, free: 4.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2248/0.2248, allocations: 38.01 MB / 341.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004021, allocations: 16 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1064, allocations: 53.22 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.4396, allocations: 88.93 MB / 0.5344 GB, free: 5.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.4398, allocations: 102 kB / 0.5345 GB, free: 5.805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01619/0.456, allocations: 6.433 MB / 0.5407 GB, free: 280 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4561, allocations: 0 / 0.5407 GB, free: 280 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.728e-05/0.4561, allocations: 8 kB / 0.5407 GB, free: 272 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001014/0.4571, allocations: 0.5639 MB / 0.5413 GB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4572, allocations: 8.031 kB / 0.5413 GB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.4573, allocations: 32.56 kB / 0.5413 GB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008922/0.4582, allocations: 441.1 kB / 0.5418 GB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.4583, allocations: 16.25 kB / 0.5418 GB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.4584, allocations: 36.11 kB / 0.5418 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.4589, allocations: 289 kB / 0.5421 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4589, allocations: 0 / 0.5421 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.4589, allocations: 12.88 kB / 0.5421 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.459, allocations: 4 kB / 0.5421 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.4593, allocations: 190.8 kB / 0.5423 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.4612, allocations: 1.274 MB / 0.5435 GB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.4615, allocations: 115.7 kB / 0.5436 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.966e-05/0.4616, allocations: 52.5 kB / 0.5437 GB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.4617, allocations: 4 kB / 0.5437 GB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4617, allocations: 38.5 kB / 0.5437 GB, free: 13.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.4617, allocations: 0 / 0.5437 GB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009998/0.4627, allocations: 0.5307 MB / 0.5442 GB, free: 12.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/0.4628, allocations: 110.4 kB / 0.5443 GB, free: 12.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.4631, allocations: 233.7 kB / 0.5446 GB, free: 12.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.4631, allocations: 29.02 kB / 0.5446 GB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.4632, allocations: 199.9 kB / 0.5448 GB, free: 12.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.4633, allocations: 38.89 kB / 0.5448 GB, free: 12.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.4633, allocations: 3.812 kB / 0.5448 GB, free: 12.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4635, allocations: 338.8 kB / 0.5452 GB, free: 11.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.4635, allocations: 36.17 kB / 0.5452 GB, free: 11.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.4637, allocations: 129.6 kB / 0.5453 GB, free: 11.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.4639, allocations: 190.3 kB / 0.5455 GB, free: 11.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4639, allocations: 0 / 0.5455 GB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004114/0.4644, allocations: 230.8 kB / 0.5457 GB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4644, allocations: 4 kB / 0.5457 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.4644, allocations: 4 kB / 0.5457 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.4645, allocations: 30.59 kB / 0.5457 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.4649, allocations: 63.88 kB / 0.5458 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.4649, allocations: 12 kB / 0.5458 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.465, allocations: 11.06 kB / 0.5458 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.465, allocations: 10.72 kB / 0.5458 GB, free: 11.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.4652, allocations: 154.9 kB / 0.546 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.4653, allocations: 23.72 kB / 0.546 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.4656, allocations: 145.5 kB / 0.5462 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.4656, allocations: 4 kB / 0.5462 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4656, allocations: 0 / 0.5462 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4656, allocations: 7.938 kB / 0.5462 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.466, allocations: 284.9 kB / 0.5464 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.466, allocations: 4 kB / 0.5464 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.4662, allocations: 26.8 kB / 0.5465 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4662, allocations: 7.938 kB / 0.5465 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4662, allocations: 3.984 kB / 0.5465 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4662, allocations: 0 / 0.5465 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4662, allocations: 4 kB / 0.5465 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.4666, allocations: 365.9 kB / 0.5468 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.4667, allocations: 96.86 kB / 0.5469 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.4667, allocations: 3.25 kB / 0.5469 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.4669, allocations: 7.984 kB / 0.5469 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.4669, allocations: 19 kB / 0.5469 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.4669, allocations: 7.984 kB / 0.547 GB, free: 10.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.4671, allocations: 168.3 kB / 0.5471 GB, free: 10.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4671, allocations: 3.938 kB / 0.5471 GB, free: 10.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003474/0.4674, allocations: 51.19 kB / 0.5472 GB, free: 9.965 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001414/0.4676, allocations: 107.2 kB / 0.5473 GB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.4679, allocations: 213.1 kB / 0.5475 GB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.468, allocations: 0 / 0.5475 GB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.468, allocations: 51.33 kB / 0.5475 GB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.4686, allocations: 47.91 kB / 0.5476 GB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4697, allocations: 0.7528 MB / 0.5483 GB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.4701, allocations: 0.7693 MB / 0.5491 GB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.4703, allocations: 38.27 kB / 0.5491 GB, free: 7.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.4703, allocations: 19.44 kB / 0.5491 GB, free: 7.969 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4703, allocations: 0 / 0.5491 GB, free: 7.969 MB / 362.7 MB Notification: Performance of Templates: time 0.00569/0.476, allocations: 2.047 MB / 0.5511 GB, free: 5.934 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)