Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002611/0.002616, allocations: 362.2 kB / 17.21 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.747/3.747, allocations: 388.9 MB / 406.8 MB, free: 11.98 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.003551/0.003551, allocations: 227.8 kB / 452.2 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.7382/0.7382, allocations: 76.01 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.0004473, allocations: 15.98 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.08992, allocations: 53.23 MB / 0.6742 GB, free: 60.96 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.006388/0.09635, allocations: 4.96 MB / 0.6791 GB, free: 55.97 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004352/0.1007, allocations: 2.173 MB / 0.6812 GB, free: 53.79 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006627/0.1015, allocations: 31.81 kB / 0.6812 GB, free: 53.76 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.1019, allocations: 95.12 kB / 0.6813 GB, free: 53.67 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.103, allocations: 302.2 kB / 0.6816 GB, free: 53.37 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1043, allocations: 367.2 kB / 0.6819 GB, free: 53.01 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.1054, allocations: 0.9559 MB / 0.6829 GB, free: 52.05 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.1066, allocations: 0.5923 MB / 0.6835 GB, free: 51.42 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.107, allocations: 286.6 kB / 0.6837 GB, free: 51.14 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.1075, allocations: 318.4 kB / 0.684 GB, free: 50.83 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.332e-05/0.1076, allocations: 24 kB / 0.6841 GB, free: 50.8 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.1081, allocations: 155.5 kB / 0.6842 GB, free: 50.65 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.1083, allocations: 151.4 kB / 0.6843 GB, free: 50.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1084, allocations: 141.3 kB / 0.6845 GB, free: 50.36 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000868/0.1093, allocations: 0.752 MB / 0.6852 GB, free: 49.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1093, allocations: 0 / 0.6852 GB, free: 49.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1093, allocations: 4 kB / 0.6852 GB, free: 49.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1093, allocations: 0 / 0.6852 GB, free: 49.6 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002475/0.1118, allocations: 0.9854 MB / 0.6862 GB, free: 48.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1119, allocations: 12.03 kB / 0.6862 GB, free: 48.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.1131, allocations: 162.9 kB / 0.6864 GB, free: 48.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.1143, allocations: 0.526 MB / 0.6869 GB, free: 47.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.752e-05/0.1144, allocations: 45.31 kB / 0.6869 GB, free: 47.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.1145, allocations: 63.91 kB / 0.687 GB, free: 47.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.1164, allocations: 0.7332 MB / 0.6877 GB, free: 46.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.1164, allocations: 4 kB / 0.6877 GB, free: 46.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.1165, allocations: 20 kB / 0.6877 GB, free: 46.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/0.1166, allocations: 29.3 kB / 0.6877 GB, free: 46.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.1186, allocations: 0.6648 MB / 0.6884 GB, free: 46.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005401/0.124, allocations: 2.527 MB / 0.6909 GB, free: 43.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.1264, allocations: 0.7632 MB / 0.6916 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008298/0.1273, allocations: 262.9 kB / 0.6918 GB, free: 42.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-05/0.1274, allocations: 12.42 kB / 0.6919 GB, free: 42.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1274, allocations: 35 kB / 0.6919 GB, free: 42.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 4.117e-06/0.1274, allocations: 0 / 0.6919 GB, free: 42.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.002748/0.1302, allocations: 0.7873 MB / 0.6927 GB, free: 41.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.1303, allocations: 107.2 kB / 0.6928 GB, free: 41.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009905/0.1313, allocations: 0.5265 MB / 0.6933 GB, free: 41.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/0.1313, allocations: 37.7 kB / 0.6933 GB, free: 41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.1316, allocations: 320.7 kB / 0.6936 GB, free: 40.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.1318, allocations: 177.4 kB / 0.6938 GB, free: 40.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1318, allocations: 12 kB / 0.6938 GB, free: 40.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1319, allocations: 378.8 kB / 0.6942 GB, free: 40.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008181/0.1328, allocations: 229 kB / 0.6944 GB, free: 39.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008989/0.1337, allocations: 337 kB / 0.6947 GB, free: 39.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008911/0.1346, allocations: 260.8 kB / 0.695 GB, free: 39.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1346, allocations: 0 / 0.695 GB, free: 39.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002842/0.1375, allocations: 0.8161 MB / 0.6957 GB, free: 38.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.017e-05/0.1376, allocations: 176.2 kB / 0.6959 GB, free: 38.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1376, allocations: 4 kB / 0.6959 GB, free: 38.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006989/0.1383, allocations: 120.8 kB / 0.696 GB, free: 38.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.1394, allocations: 143.8 kB / 0.6962 GB, free: 37.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/0.143, allocations: 2.163 MB / 0.6983 GB, free: 35.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008751/0.1439, allocations: 91.45 kB / 0.6984 GB, free: 35.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.144, allocations: 23.98 kB / 0.6984 GB, free: 35.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.144, allocations: 4 kB / 0.6984 GB, free: 35.54 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002054/0.146, allocations: 0.6199 MB / 0.699 GB, free: 34.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1461, allocations: 4 kB / 0.699 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000393/0.1465, allocations: 96.69 kB / 0.6991 GB, free: 34.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.1475, allocations: 144.1 kB / 0.6992 GB, free: 34.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.1498, allocations: 1.928 MB / 0.7011 GB, free: 32.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007922/0.1506, allocations: 75.41 kB / 0.7012 GB, free: 32.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.1507, allocations: 28.05 kB / 0.7012 GB, free: 32.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (57): * Single equations (assignments): 56 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004367/0.1511, allocations: 300.9 kB / 0.7015 GB, free: 32.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.1513, allocations: 63.25 kB / 0.7016 GB, free: 32.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.1532, allocations: 0.608 MB / 0.7022 GB, free: 31.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.1533, allocations: 3.984 kB / 0.7022 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1533, allocations: 0 / 0.7022 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.1536, allocations: 196 kB / 0.7024 GB, free: 31.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.1537, allocations: 12.28 kB / 0.7024 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/0.1544, allocations: 51.94 kB / 0.7024 GB, free: 31.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.1546, allocations: 40.34 kB / 0.7025 GB, free: 31.21 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003532/0.1581, allocations: 0.9126 MB / 0.7033 GB, free: 30.29 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002904/0.1611, allocations: 1.153 MB / 0.7045 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008664/0.162, allocations: 279.3 kB / 0.7047 GB, free: 28.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008063/0.1628, allocations: 374.8 kB / 0.7051 GB, free: 28.48 MB / 442.7 MB Notification: Performance of Backend: time 6.22e-07/0.1628, allocations: 4 kB / 0.7051 GB, free: 28.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.166, allocations: 1.048 MB / 0.7061 GB, free: 27.4 MB / 442.7 MB Notification: Performance of SimCode: time 0.003124/0.1692, allocations: 2.103 MB / 0.7082 GB, free: 25.25 MB / 442.7 MB Notification: Performance of Templates: time 0.02544/0.1946, allocations: 10.39 MB / 0.7183 GB, free: 14.86 MB / 442.7 MB