Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002562/0.002567, 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.816/3.816, allocations: 388.9 MB / 406.8 MB, free: 12.02 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.003626/0.003626, allocations: 229.7 kB / 452.2 MB, free: 14.61 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.7585/0.7585, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004665, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09112/0.09162, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007148/0.09882, allocations: 5.801 MB / 0.6799 GB, free: 55 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003601/0.1025, allocations: 1.634 MB / 0.6815 GB, free: 53.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007024/0.1032, allocations: 43.69 kB / 0.6815 GB, free: 53.32 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004968/0.1038, allocations: 115.2 kB / 0.6816 GB, free: 53.2 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.1052, allocations: 401.8 kB / 0.682 GB, free: 52.81 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007059/0.106, allocations: 183.6 kB / 0.6822 GB, free: 52.63 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.1072, allocations: 0.9112 MB / 0.6831 GB, free: 51.71 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.1076, allocations: 159.1 kB / 0.6832 GB, free: 51.55 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006436/0.1082, allocations: 290.5 kB / 0.6835 GB, free: 51.27 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007697/0.109, allocations: 394.7 kB / 0.6839 GB, free: 50.88 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.148e-05/0.1091, allocations: 24 kB / 0.6839 GB, free: 50.86 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1092, allocations: 20 kB / 0.6839 GB, free: 50.84 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.1095, allocations: 187.4 kB / 0.6841 GB, free: 50.66 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1096, allocations: 121.4 kB / 0.6842 GB, free: 50.53 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.1101, allocations: 426.9 kB / 0.6846 GB, free: 50.11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1102, allocations: 0 / 0.6846 GB, free: 50.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1102, allocations: 0 / 0.6846 GB, free: 50.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1102, allocations: 4 kB / 0.6846 GB, free: 50.11 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001751/0.1119, allocations: 0.8022 MB / 0.6854 GB, free: 49.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.112, allocations: 12.03 kB / 0.6854 GB, free: 49.24 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.1122, allocations: 63.25 kB / 0.6855 GB, free: 49.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.1132, allocations: 473.6 kB / 0.686 GB, free: 48.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.1133, allocations: 29 kB / 0.686 GB, free: 48.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.505e-05/0.1134, allocations: 43.95 kB / 0.686 GB, free: 48.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.1144, allocations: 0.5312 MB / 0.6865 GB, free: 48.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1145, allocations: 0 / 0.6865 GB, free: 48.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.1146, allocations: 16 kB / 0.6866 GB, free: 48.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.1146, allocations: 25 kB / 0.6866 GB, free: 48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000876/0.1155, allocations: 387.6 kB / 0.6869 GB, free: 47.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.1186, allocations: 1.944 MB / 0.6888 GB, free: 45.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000816/0.1195, allocations: 329.3 kB / 0.6892 GB, free: 45.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.12, allocations: 185.7 kB / 0.6893 GB, free: 45.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.1201, allocations: 0 / 0.6893 GB, free: 45.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005078/0.1206, allocations: 281.2 kB / 0.6896 GB, free: 44.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.266e-06/0.1206, allocations: 0 / 0.6896 GB, free: 44.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002465/0.1231, allocations: 1.179 MB / 0.6908 GB, free: 43.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.1232, allocations: 162.2 kB / 0.6909 GB, free: 43.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.1237, allocations: 389.9 kB / 0.6913 GB, free: 42.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.1237, allocations: 29.7 kB / 0.6913 GB, free: 42.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.1239, allocations: 307.5 kB / 0.6916 GB, free: 42.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.1241, allocations: 118.4 kB / 0.6917 GB, free: 42.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.1241, allocations: 12 kB / 0.6917 GB, free: 42.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1242, allocations: 362.7 kB / 0.6921 GB, free: 42.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.1245, allocations: 117.1 kB / 0.6922 GB, free: 41.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.1249, allocations: 286.1 kB / 0.6925 GB, free: 41.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.1253, allocations: 191.3 kB / 0.6926 GB, free: 41.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1253, allocations: 3.938 kB / 0.6926 GB, free: 41.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001026/0.1264, allocations: 0.5137 MB / 0.6931 GB, free: 40.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.1264, allocations: 33.7 kB / 0.6932 GB, free: 40.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.1265, allocations: 4 kB / 0.6932 GB, free: 40.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.1265, allocations: 11.94 kB / 0.6932 GB, free: 40.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007386/0.1272, allocations: 112.5 kB / 0.6933 GB, free: 40.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.1273, allocations: 12 kB / 0.6933 GB, free: 40.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.1277, allocations: 19.98 kB / 0.6933 GB, free: 40.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.1278, allocations: 35.97 kB / 0.6934 GB, free: 40.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2) * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003198/0.1281, allocations: 247.3 kB / 0.6936 GB, free: 40.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.992e-05/0.1282, allocations: 51.42 kB / 0.6937 GB, free: 40.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009232/0.1292, allocations: 455.2 kB / 0.6941 GB, free: 39.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.1292, allocations: 4 kB / 0.6941 GB, free: 39.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1292, allocations: 4 kB / 0.6941 GB, free: 39.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.1294, allocations: 136.5 kB / 0.6942 GB, free: 39.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/0.1295, allocations: 15.98 kB / 0.6942 GB, free: 39.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.1298, allocations: 12 kB / 0.6942 GB, free: 39.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.1299, allocations: 23.92 kB / 0.6943 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001176/0.1311, allocations: 0.6453 MB / 0.6949 GB, free: 38.98 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001293/0.1324, allocations: 0.8471 MB / 0.6957 GB, free: 38.11 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003433/0.1328, allocations: 191.9 kB / 0.6959 GB, free: 37.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003516/0.1332, allocations: 267.1 kB / 0.6962 GB, free: 37.67 MB / 442.7 MB Notification: Performance of Backend: time 7.22e-07/0.1332, allocations: 0 / 0.6962 GB, free: 37.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.1343, allocations: 366.2 kB / 0.6965 GB, free: 37.29 MB / 442.7 MB Notification: Performance of SimCode: time 0.00233/0.1366, allocations: 1.64 MB / 0.6981 GB, free: 35.59 MB / 442.7 MB Notification: Performance of Templates: time 0.01283/0.1495, allocations: 4.282 MB / 0.7023 GB, free: 31.33 MB / 442.7 MB