Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 113.2 kB / 17.06 MB, free: 6.004 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.00127/0.00127, allocations: 198.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1749/0.1749, allocations: 37.98 MB / 309.2 MB, free: 5.941 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.91 kB / 431.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.131, allocations: 55.25 MB / 487.1 MB, free: 8.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.007826/0.1389, allocations: 5.437 MB / 492.6 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004354/0.1432, allocations: 2.292 MB / 494.8 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005517/0.1438, allocations: 23.88 kB / 494.9 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.1449, allocations: 274.2 kB / 495.1 MB, free: 260 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000878/0.1458, allocations: 342.1 kB / 495.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1469, allocations: 0.5069 MB / 496 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.1479, allocations: 1.042 MB / 497 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009212/0.1489, allocations: 0.6192 MB / 497.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.1494, allocations: 402.4 kB / 498 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.1499, allocations: 406.1 kB / 498.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.15, allocations: 87.94 kB / 498.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.1506, allocations: 351.3 kB / 498.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.1508, allocations: 215.3 kB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.1512, allocations: 389.9 kB / 499.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1524, allocations: 1.086 MB / 0.4888 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1524, allocations: 0 / 0.4888 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1524, allocations: 0 / 0.4888 GB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.1524, allocations: 0 / 0.4888 GB, free: 10.83 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002215/0.1547, allocations: 1.122 MB / 0.4899 GB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1547, allocations: 19.83 kB / 0.4899 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008895/0.1556, allocations: 163.7 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.1567, allocations: 0.6125 MB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.1568, allocations: 49.62 kB / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.1569, allocations: 64.28 kB / 0.4908 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.1583, allocations: 0.7603 MB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.1583, allocations: 4 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/0.1584, allocations: 23.94 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/0.1584, allocations: 29.3 kB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.1597, allocations: 0.6336 MB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.1637, allocations: 2.895 MB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.1651, allocations: 0.6956 MB / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004739/0.1656, allocations: 235 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.1657, allocations: 4.438 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.1657, allocations: 39 kB / 0.496 GB, free: 3.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=49): time 2.184e-06/0.1657, allocations: 0 / 0.496 GB, free: 3.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.001588/0.1673, allocations: 0.7057 MB / 0.4967 GB, free: 2.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.1674, allocations: 107.2 kB / 0.4968 GB, free: 2.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008012/0.1682, allocations: 0.594 MB / 0.4973 GB, free: 1.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.1683, allocations: 33.7 kB / 0.4974 GB, free: 1.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.1686, allocations: 348.5 kB / 0.4977 GB, free: 1.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.1687, allocations: 177.4 kB / 0.4979 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.1689, allocations: 102.2 kB / 0.498 GB, free: 1.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1691, allocations: 378.8 kB / 0.4983 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.1695, allocations: 214.9 kB / 0.4985 GB, free: 492 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/0.1701, allocations: 348.4 kB / 0.4989 GB, free: 92 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.1712, allocations: 0.549 MB / 0.4994 GB, free: 15.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.1712, allocations: 11.94 kB / 0.4994 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001687/0.1729, allocations: 0.7729 MB / 0.5002 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1729, allocations: 11.91 kB / 0.5002 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1729, allocations: 4.406 kB / 0.5002 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/0.1733, allocations: 116.7 kB / 0.5003 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.1739, allocations: 135.8 kB / 0.5004 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.1771, allocations: 2.424 MB / 0.5028 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.1776, allocations: 83.39 kB / 0.5029 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.1776, allocations: 27.94 kB / 0.5029 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006618/0.1783, allocations: 365.2 kB / 0.5032 GB, free: 11.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004917/0.1788, allocations: 332.4 kB / 0.5036 GB, free: 11.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008885/0.1797, allocations: 0.5295 MB / 0.5041 GB, free: 10.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.1797, allocations: 0 / 0.5041 GB, free: 10.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001312/0.181, allocations: 0.7026 MB / 0.5048 GB, free: 9.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.181, allocations: 7.984 kB / 0.5048 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.181, allocations: 4 kB / 0.5048 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.1814, allocations: 105.2 kB / 0.5049 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.1819, allocations: 131.8 kB / 0.505 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.184, allocations: 2.221 MB / 0.5072 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.1845, allocations: 63.62 kB / 0.5072 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.1845, allocations: 24 kB / 0.5073 GB, free: 7.043 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000211/0.1847, allocations: 212.1 kB / 0.5075 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.1849, allocations: 75.08 kB / 0.5075 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.186, allocations: 0.5616 MB / 0.5081 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1861, allocations: 4 kB / 0.5081 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1861, allocations: 4 kB / 0.5081 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.1861, allocations: 0 / 0.5081 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.1882, allocations: 1.318 MB / 0.5094 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1883, allocations: 0 / 0.5094 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.1888, allocations: 107.9 kB / 0.5095 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/0.1889, allocations: 7.984 kB / 0.5095 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.1889, allocations: 11.98 kB / 0.5095 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.1889, allocations: 3.938 kB / 0.5095 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1889, allocations: 4 kB / 0.5095 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.1908, allocations: 0.9063 MB / 0.5104 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.1911, allocations: 188.1 kB / 0.5106 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/0.1912, allocations: 12 kB / 0.5106 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.1916, allocations: 40.23 kB / 0.5106 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.1917, allocations: 36.39 kB / 0.5107 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.322e-05/0.1918, allocations: 16 kB / 0.5107 GB, free: 3.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007342/0.1925, allocations: 427 kB / 0.5111 GB, free: 3.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.156e-06/0.1925, allocations: 96 / 0.5111 GB, free: 3.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00122/0.1938, allocations: 267.2 kB / 0.5113 GB, free: 2.758 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * 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 (50): * Single equations (assignments): 49 * 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.000249/0.194, allocations: 111.5 kB / 0.5114 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002202/0.1962, allocations: 1.095 MB / 0.5125 GB, free: 1.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1962, allocations: 0 / 0.5125 GB, free: 1.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.1967, allocations: 259.3 kB / 0.5128 GB, free: 1.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008046/0.1976, allocations: 138.8 kB / 0.5129 GB, free: 1.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.2004, allocations: 1.523 MB / 0.5144 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.201, allocations: 0.9418 MB / 0.5153 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000435/0.2014, allocations: 116.6 kB / 0.5154 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.2016, allocations: 47.42 kB / 0.5155 GB, free: 14.44 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2016, allocations: 0 / 0.5155 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Templates: time 0.01507/0.2166, allocations: 8.594 MB / 0.5238 GB, free: 5.832 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1)