Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001703, allocations: 114.4 kB / 17.28 MB, free: 6.219 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.002148/0.002148, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.152/2.152, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2434/0.2434, allocations: 38.03 MB / 330.1 MB, free: 8.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 61.16 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1588, allocations: 58.07 MB / 457 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.008456/0.1673, allocations: 4.851 MB / 461.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.1699, allocations: 1.122 MB / 463 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/0.1704, allocations: 23.81 kB / 463 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.1706, allocations: 43.69 kB / 463 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.1713, allocations: 175.1 kB / 463.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1716, allocations: 83.91 kB / 463.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.1722, allocations: 494.3 kB / 463.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.1725, allocations: 147.5 kB / 463.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003291/0.1729, allocations: 207.1 kB / 464.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004468/0.1733, allocations: 251.1 kB / 464.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.493e-05/0.1734, allocations: 31.94 kB / 464.4 MB, free: 1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.628e-05/0.1735, allocations: 28 kB / 464.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.1736, allocations: 123.7 kB / 464.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.1738, allocations: 179.1 kB / 464.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.1742, allocations: 279.4 kB / 465 MB, free: 412 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1742, allocations: 4 kB / 465 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1742, allocations: 4 kB / 465 MB, free: 404 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1742, allocations: 0 / 465 MB, free: 404 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001527/0.1757, allocations: 0.6984 MB / 465.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1758, allocations: 11.89 kB / 465.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.43e-05/0.1759, allocations: 44.41 kB / 465.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.1765, allocations: 387 kB / 466.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.1766, allocations: 16.56 kB / 466.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.1766, allocations: 32 kB / 466.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.1772, allocations: 360.7 kB / 466.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1772, allocations: 0 / 466.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.1773, allocations: 12 kB / 466.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.1773, allocations: 4 kB / 466.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.1777, allocations: 265.9 kB / 466.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.1797, allocations: 1.442 MB / 468.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.18, allocations: 149 kB / 468.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.1801, allocations: 85.72 kB / 468.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1802, allocations: 4 kB / 468.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.1802, allocations: 42.48 kB / 468.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.933e-06/0.1802, allocations: 0 / 468.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001286/0.1815, allocations: 0.6712 MB / 469.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.1816, allocations: 85.05 kB / 469.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.182, allocations: 304.4 kB / 469.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.182, allocations: 29.83 kB / 469.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1822, allocations: 219.6 kB / 469.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.1823, allocations: 51.27 kB / 469.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/0.1824, allocations: 57.59 kB / 469.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1826, allocations: 338.8 kB / 470.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.1827, allocations: 59.95 kB / 470.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1829, allocations: 180.8 kB / 470.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.1832, allocations: 256.1 kB / 470.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1832, allocations: 4 kB / 470.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004309/0.1837, allocations: 285.2 kB / 471 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1837, allocations: 6.031 kB / 471 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1837, allocations: 4 kB / 471 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.1837, allocations: 4 kB / 471 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.184, allocations: 63.84 kB / 471.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.184, allocations: 15.92 kB / 471.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.1842, allocations: 8 kB / 471.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.1843, allocations: 15.98 kB / 471.1 MB, free: 9.805 MB / 350.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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.1845, allocations: 169.8 kB / 471.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.1845, allocations: 31.56 kB / 471.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.185, allocations: 231.5 kB / 471.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.185, allocations: 4 kB / 471.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.185, allocations: 0 / 471.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.185, allocations: 3.984 kB / 471.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008764/0.1859, allocations: 0.624 MB / 472.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1859, allocations: 4.031 kB / 472.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.1861, allocations: 31.98 kB / 472.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1861, allocations: 4 kB / 472.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1862, allocations: 4 kB / 472.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1862, allocations: 0 / 472.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.1862, allocations: 4 kB / 472.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.1868, allocations: 428.6 kB / 472.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.1869, allocations: 108.8 kB / 472.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.187, allocations: 8 kB / 472.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1872, allocations: 7.984 kB / 472.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.1872, allocations: 15.98 kB / 472.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1872, allocations: 4 kB / 472.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002379/0.1875, allocations: 215 kB / 473 MB, free: 7.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1875, allocations: 0 / 473 MB, free: 7.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.1878, allocations: 56 kB / 473.1 MB, free: 7.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001324/0.188, allocations: 111.2 kB / 473.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.1884, allocations: 203.7 kB / 473.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1884, allocations: 0 / 473.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1885, allocations: 95.36 kB / 473.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.1891, allocations: 67.42 kB / 473.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1904, allocations: 0.7989 MB / 474.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.1908, allocations: 0.8067 MB / 475.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1909, allocations: 27.44 kB / 475.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of SimCode: time 1.923e-06/0.1909, allocations: 0 / 475.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of Templates: time 0.007036/0.198, allocations: 3.858 MB / 479 MB, free: 1.742 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)