Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002713/0.002718, allocations: 361.4 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.804/3.804, 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.003528/0.003528, allocations: 225.7 kB / 452.2 MB, free: 14.59 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.7677/0.7677, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004461, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09146/0.09192, allocations: 53.23 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.006562/0.09855, allocations: 4.933 MB / 0.679 GB, free: 55.88 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004586/0.1032, allocations: 2.165 MB / 0.6812 GB, free: 53.71 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008292/0.1041, allocations: 31.81 kB / 0.6812 GB, free: 53.68 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.1046, allocations: 95.12 kB / 0.6813 GB, free: 53.59 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.1058, allocations: 302.2 kB / 0.6816 GB, free: 53.29 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.1071, allocations: 355.2 kB / 0.6819 GB, free: 52.94 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.1085, allocations: 0.9559 MB / 0.6828 GB, free: 51.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.1097, allocations: 0.5884 MB / 0.6834 GB, free: 51.36 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005368/0.1103, allocations: 278.6 kB / 0.6837 GB, free: 51.08 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004631/0.1107, allocations: 306.5 kB / 0.684 GB, free: 50.78 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.1108, allocations: 28 kB / 0.684 GB, free: 50.75 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004877/0.1113, allocations: 159.5 kB / 0.6841 GB, free: 50.6 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.1115, allocations: 143.4 kB / 0.6843 GB, free: 50.46 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.1117, allocations: 141.3 kB / 0.6844 GB, free: 50.31 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009434/0.1126, allocations: 0.752 MB / 0.6852 GB, free: 49.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1126, allocations: 0 / 0.6852 GB, free: 49.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1126, allocations: 0 / 0.6852 GB, free: 49.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1127, allocations: 3.938 kB / 0.6852 GB, free: 49.55 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.002464/0.1151, allocations: 0.9504 MB / 0.6861 GB, free: 48.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1152, allocations: 19.95 kB / 0.6861 GB, free: 48.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.1166, allocations: 155 kB / 0.6862 GB, free: 48.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.1178, allocations: 0.5355 MB / 0.6868 GB, free: 47.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.1179, allocations: 41.31 kB / 0.6868 GB, free: 47.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.118, allocations: 63.91 kB / 0.6869 GB, free: 47.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.1199, allocations: 0.7137 MB / 0.6876 GB, free: 46.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.1199, allocations: 0 / 0.6876 GB, free: 46.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.851e-05/0.12, allocations: 24 kB / 0.6876 GB, free: 46.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/0.1201, allocations: 25.31 kB / 0.6876 GB, free: 46.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.1219, allocations: 0.618 MB / 0.6882 GB, free: 46.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005454/0.1273, allocations: 2.523 MB / 0.6907 GB, free: 43.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.1295, allocations: 0.7156 MB / 0.6914 GB, free: 42.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.1302, allocations: 239 kB / 0.6916 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.608e-05/0.1303, allocations: 4.438 kB / 0.6916 GB, free: 42.67 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1304, allocations: 39 kB / 0.6917 GB, free: 42.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 3.276e-06/0.1304, allocations: 0 / 0.6917 GB, free: 42.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.00234/0.1327, allocations: 0.7169 MB / 0.6924 GB, free: 41.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.1328, allocations: 111.2 kB / 0.6925 GB, free: 41.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.1338, allocations: 0.5347 MB / 0.693 GB, free: 41.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.338e-05/0.1339, allocations: 33.7 kB / 0.693 GB, free: 41.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.1342, allocations: 328.6 kB / 0.6933 GB, free: 40.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.1343, allocations: 161.6 kB / 0.6935 GB, free: 40.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.1344, allocations: 16 kB / 0.6935 GB, free: 40.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1345, allocations: 374.8 kB / 0.6939 GB, free: 40.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.1352, allocations: 205 kB / 0.694 GB, free: 40.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000796/0.1361, allocations: 325 kB / 0.6944 GB, free: 39.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007726/0.1368, allocations: 236.8 kB / 0.6946 GB, free: 39.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1369, allocations: 3.984 kB / 0.6946 GB, free: 39.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002581/0.1395, allocations: 0.773 MB / 0.6953 GB, free: 38.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.263e-05/0.1396, allocations: 168.4 kB / 0.6955 GB, free: 38.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.1396, allocations: 11.97 kB / 0.6955 GB, free: 38.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006924/0.1403, allocations: 124.9 kB / 0.6956 GB, free: 38.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.1413, allocations: 135.7 kB / 0.6958 GB, free: 38.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.145, allocations: 2.163 MB / 0.6979 GB, free: 35.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008217/0.1458, allocations: 79.55 kB / 0.698 GB, free: 35.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.1459, allocations: 20 kB / 0.698 GB, free: 35.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1459, allocations: 11.89 kB / 0.698 GB, free: 35.85 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001809/0.1478, allocations: 0.5731 MB / 0.6985 GB, free: 35.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.1478, allocations: 4 kB / 0.6985 GB, free: 35.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003961/0.1482, allocations: 96.97 kB / 0.6986 GB, free: 35.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/0.1492, allocations: 131.9 kB / 0.6988 GB, free: 35.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.1515, allocations: 1.925 MB / 0.7006 GB, free: 32.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007837/0.1523, allocations: 79.47 kB / 0.7007 GB, free: 32.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.1524, allocations: 19.98 kB / 0.7007 GB, free: 32.89 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 (56): * Single equations (assignments): 55 * 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.0004366/0.1528, allocations: 304.9 kB / 0.701 GB, free: 32.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.1529, allocations: 59.25 kB / 0.7011 GB, free: 32.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.1547, allocations: 0.5651 MB / 0.7016 GB, free: 31.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.1547, allocations: 7.984 kB / 0.7016 GB, free: 31.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1547, allocations: 0 / 0.7016 GB, free: 31.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.155, allocations: 184.1 kB / 0.7018 GB, free: 31.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.1551, allocations: 12 kB / 0.7018 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006872/0.1558, allocations: 39.95 kB / 0.7019 GB, free: 31.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.156, allocations: 56.27 kB / 0.7019 GB, free: 31.63 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0032/0.1592, allocations: 0.8464 MB / 0.7028 GB, free: 30.78 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002541/0.1618, allocations: 1.087 MB / 0.7038 GB, free: 29.68 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007349/0.1626, allocations: 251.4 kB / 0.7041 GB, free: 29.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008308/0.1634, allocations: 382.8 kB / 0.7044 GB, free: 29.05 MB / 442.7 MB Notification: Performance of Backend: time 5.91e-07/0.1634, allocations: 0 / 0.7044 GB, free: 29.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003024/0.1665, allocations: 1.012 MB / 0.7054 GB, free: 28.01 MB / 442.7 MB Notification: Performance of SimCode: time 0.003207/0.1697, allocations: 2.089 MB / 0.7074 GB, free: 25.88 MB / 442.7 MB Notification: Performance of Templates: time 0.0256/0.1954, allocations: 10.09 MB / 0.7173 GB, free: 15.77 MB / 442.7 MB