Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002658/0.002658, allocations: 363.4 kB / 17.22 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.751/3.751, allocations: 388.9 MB / 406.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003572/0.003572, allocations: 235.8 kB / 452.3 MB, free: 14.58 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7317/0.7317, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004379, allocations: 15.98 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09038/0.09084, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.006957/0.09784, allocations: 5.569 MB / 0.6797 GB, free: 55.23 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005378/0.1033, allocations: 2.651 MB / 0.6823 GB, free: 52.57 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008054/0.1041, allocations: 35.75 kB / 0.6823 GB, free: 52.54 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.1046, allocations: 115.1 kB / 0.6824 GB, free: 52.42 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.1062, allocations: 405.7 kB / 0.6828 GB, free: 52.02 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.1077, allocations: 415 kB / 0.6832 GB, free: 51.62 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.1092, allocations: 1.147 MB / 0.6843 GB, free: 50.47 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.1105, allocations: 0.6938 MB / 0.685 GB, free: 49.73 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.111, allocations: 334.4 kB / 0.6853 GB, free: 49.4 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005459/0.1116, allocations: 386.2 kB / 0.6857 GB, free: 49.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.943e-05/0.1117, allocations: 28 kB / 0.6857 GB, free: 48.99 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006993/0.1124, allocations: 255.3 kB / 0.6859 GB, free: 48.74 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.1126, allocations: 195.2 kB / 0.6861 GB, free: 48.55 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.1127, allocations: 157.3 kB / 0.6863 GB, free: 48.39 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009859/0.1137, allocations: 0.8573 MB / 0.6871 GB, free: 47.53 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1137, allocations: 4 kB / 0.6871 GB, free: 47.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1137, allocations: 0 / 0.6871 GB, free: 47.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1138, allocations: 0 / 0.6871 GB, free: 47.53 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.00257/0.1163, allocations: 1.036 MB / 0.6881 GB, free: 46.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1164, allocations: 12.03 kB / 0.6881 GB, free: 46.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.1182, allocations: 210.7 kB / 0.6883 GB, free: 46.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.1194, allocations: 0.561 MB / 0.6889 GB, free: 45.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/0.1195, allocations: 49.31 kB / 0.6889 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.1196, allocations: 63.91 kB / 0.689 GB, free: 45.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.1217, allocations: 0.8347 MB / 0.6898 GB, free: 44.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.1217, allocations: 4 kB / 0.6898 GB, free: 44.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.607e-05/0.1219, allocations: 28 kB / 0.6898 GB, free: 44.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-05/0.1219, allocations: 37.3 kB / 0.6899 GB, free: 44.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.1241, allocations: 0.7741 MB / 0.6906 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006067/0.1302, allocations: 2.866 MB / 0.6934 GB, free: 40.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.1327, allocations: 0.9781 MB / 0.6944 GB, free: 39.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009092/0.1336, allocations: 323.2 kB / 0.6947 GB, free: 39.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.048e-05/0.1337, allocations: 16.55 kB / 0.6947 GB, free: 39.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.1337, allocations: 43.11 kB / 0.6947 GB, free: 39.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=58): time 3.066e-06/0.1338, allocations: 4 kB / 0.6948 GB, free: 39.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=62): time 0.007195/0.141, allocations: 2.568 MB / 0.6973 GB, free: 36.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.141, allocations: 111.4 kB / 0.6974 GB, free: 36.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009583/0.142, allocations: 0.5264 MB / 0.6979 GB, free: 36.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.1421, allocations: 33.7 kB / 0.6979 GB, free: 36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.1423, allocations: 344.4 kB / 0.6982 GB, free: 35.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.1425, allocations: 216.8 kB / 0.6984 GB, free: 35.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.1426, allocations: 12 kB / 0.6985 GB, free: 35.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1427, allocations: 382.7 kB / 0.6988 GB, free: 35.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008713/0.1436, allocations: 265.2 kB / 0.6991 GB, free: 34.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009442/0.1445, allocations: 395.2 kB / 0.6995 GB, free: 34.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009593/0.1455, allocations: 318.1 kB / 0.6998 GB, free: 34.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.1455, allocations: 3.953 kB / 0.6998 GB, free: 34.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002367/0.1479, allocations: 0.8073 MB / 0.7005 GB, free: 33.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.803e-05/0.148, allocations: 177.9 kB / 0.7007 GB, free: 33.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.148, allocations: 3.938 kB / 0.7007 GB, free: 33.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.1484, allocations: 68.77 kB / 0.7008 GB, free: 32.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.1498, allocations: 175.8 kB / 0.701 GB, free: 32.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.1517, allocations: 1.614 MB / 0.7025 GB, free: 31.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009049/0.1526, allocations: 55.94 kB / 0.7026 GB, free: 30.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/0.1527, allocations: 24 kB / 0.7026 GB, free: 30.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.1527, allocations: 8 kB / 0.7026 GB, free: 30.94 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00213/0.1548, allocations: 0.697 MB / 0.7033 GB, free: 30.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1549, allocations: 320 / 0.7033 GB, free: 30.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003237/0.1552, allocations: 68.8 kB / 0.7034 GB, free: 30.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.1564, allocations: 167.8 kB / 0.7035 GB, free: 30 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.1581, allocations: 1.631 MB / 0.7051 GB, free: 28.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007984/0.1589, allocations: 47.95 kB / 0.7052 GB, free: 28.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/0.159, allocations: 28 kB / 0.7052 GB, free: 28.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000458/0.1595, allocations: 316.9 kB / 0.7055 GB, free: 27.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.1596, allocations: 71.16 kB / 0.7056 GB, free: 27.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.162, allocations: 0.7797 MB / 0.7063 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.1621, allocations: 7.938 kB / 0.7063 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1621, allocations: 0 / 0.7063 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.1624, allocations: 200.1 kB / 0.7065 GB, free: 26.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.1625, allocations: 16 kB / 0.7065 GB, free: 26.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007507/0.1633, allocations: 55.95 kB / 0.7066 GB, free: 26.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.1634, allocations: 44.48 kB / 0.7066 GB, free: 26.65 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003834/0.1673, allocations: 1.077 MB / 0.7077 GB, free: 25.56 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003058/0.1703, allocations: 1.298 MB / 0.7089 GB, free: 24.25 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008969/0.1713, allocations: 328.3 kB / 0.7093 GB, free: 23.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007438/0.172, allocations: 378.8 kB / 0.7096 GB, free: 23.55 MB / 442.7 MB Notification: Performance of Backend: time 7.41e-07/0.172, allocations: 0 / 0.7096 GB, free: 23.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003381/0.1754, allocations: 1.171 MB / 0.7108 GB, free: 22.36 MB / 442.7 MB Notification: Performance of SimCode: time 0.002993/0.1784, allocations: 2.133 MB / 0.7128 GB, free: 20.17 MB / 442.7 MB Notification: Performance of Templates: time 0.02684/0.2053, allocations: 11.72 MB / 0.7243 GB, free: 8.441 MB / 442.7 MB