Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002587/0.002592, allocations: 359.2 kB / 17.21 MB, free: 4.93 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.9/3.9, 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.003518/0.003518, allocations: 233.6 kB / 452.2 MB, free: 14.62 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.7769/0.7769, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004506, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09286, allocations: 53.22 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006867/0.09978, allocations: 5.801 MB / 0.6799 GB, free: 55.01 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003454/0.1033, allocations: 1.575 MB / 0.6814 GB, free: 53.43 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005425/0.1039, allocations: 35.75 kB / 0.6815 GB, free: 53.39 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004525/0.1044, allocations: 119.1 kB / 0.6816 GB, free: 53.28 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.1056, allocations: 397.8 kB / 0.682 GB, free: 52.89 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.1062, allocations: 171.7 kB / 0.6821 GB, free: 52.72 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000968/0.1071, allocations: 0.8996 MB / 0.683 GB, free: 51.82 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.1074, allocations: 142.5 kB / 0.6831 GB, free: 51.67 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004604/0.1079, allocations: 270.7 kB / 0.6834 GB, free: 51.4 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006845/0.1086, allocations: 378.8 kB / 0.6837 GB, free: 51.03 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.384e-05/0.1087, allocations: 20 kB / 0.6838 GB, free: 51.01 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.1088, allocations: 20 kB / 0.6838 GB, free: 50.99 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.109, allocations: 179.5 kB / 0.684 GB, free: 50.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1091, allocations: 113.5 kB / 0.6841 GB, free: 50.7 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.1096, allocations: 395 kB / 0.6844 GB, free: 50.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1096, allocations: 4 kB / 0.6844 GB, free: 50.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1096, allocations: 0 / 0.6844 GB, free: 50.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1096, allocations: 0 / 0.6844 GB, free: 50.31 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001481/0.1111, allocations: 0.7266 MB / 0.6852 GB, free: 49.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1112, allocations: 8.031 kB / 0.6852 GB, free: 49.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1113, allocations: 51.34 kB / 0.6852 GB, free: 49.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008766/0.1122, allocations: 455.3 kB / 0.6856 GB, free: 48.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.1122, allocations: 36.95 kB / 0.6857 GB, free: 48.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-05/0.1123, allocations: 36 kB / 0.6857 GB, free: 48.92 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009342/0.1133, allocations: 0.4922 MB / 0.6862 GB, free: 48.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.1133, allocations: 0 / 0.6862 GB, free: 48.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.1134, allocations: 16 kB / 0.6862 GB, free: 48.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.1134, allocations: 24.92 kB / 0.6862 GB, free: 48.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/0.1142, allocations: 363.7 kB / 0.6866 GB, free: 48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.1172, allocations: 2.087 MB / 0.6886 GB, free: 45.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.1178, allocations: 245.7 kB / 0.6889 GB, free: 45.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.1181, allocations: 130.1 kB / 0.689 GB, free: 45.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1182, allocations: 192 / 0.689 GB, free: 45.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1182, allocations: 38.69 kB / 0.689 GB, free: 45.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.1182, allocations: 0 / 0.689 GB, free: 45.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=23): time 0.001514/0.1197, allocations: 0.7627 MB / 0.6898 GB, free: 44.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1198, allocations: 85.09 kB / 0.6898 GB, free: 44.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.1203, allocations: 369.5 kB / 0.6902 GB, free: 44.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1203, allocations: 29.7 kB / 0.6902 GB, free: 44.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.1205, allocations: 295 kB / 0.6905 GB, free: 43.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.1206, allocations: 82.97 kB / 0.6906 GB, free: 43.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.1206, allocations: 12 kB / 0.6906 GB, free: 43.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.1207, allocations: 350.8 kB / 0.6909 GB, free: 43.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.1209, allocations: 88.81 kB / 0.691 GB, free: 43.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.1212, allocations: 277.1 kB / 0.6913 GB, free: 42.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1215, allocations: 127.9 kB / 0.6914 GB, free: 42.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1215, allocations: 8 kB / 0.6914 GB, free: 42.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009225/0.1224, allocations: 453.4 kB / 0.6918 GB, free: 42.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1225, allocations: 8 kB / 0.6918 GB, free: 42.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.1225, allocations: 8 kB / 0.6919 GB, free: 42.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.1228, allocations: 52.83 kB / 0.6919 GB, free: 42.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.1232, allocations: 79.84 kB / 0.692 GB, free: 42.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.1247, allocations: 1.492 MB / 0.6934 GB, free: 40.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.1251, allocations: 16 kB / 0.6935 GB, free: 40.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.1251, allocations: 28.06 kB / 0.6935 GB, free: 40.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.1254, allocations: 209.5 kB / 0.6937 GB, free: 40.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.1255, allocations: 43.52 kB / 0.6937 GB, free: 40.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.126, allocations: 241 kB / 0.694 GB, free: 39.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.126, allocations: 0 / 0.694 GB, free: 39.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.126, allocations: 0 / 0.694 GB, free: 39.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1261, allocations: 120.6 kB / 0.6941 GB, free: 39.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.1262, allocations: 4 kB / 0.6941 GB, free: 39.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.1264, allocations: 15.98 kB / 0.6941 GB, free: 39.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.1265, allocations: 11.94 kB / 0.6941 GB, free: 39.75 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006777/0.1271, allocations: 391.9 kB / 0.6945 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006592/0.1278, allocations: 0.5604 MB / 0.695 GB, free: 38.79 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001603/0.128, allocations: 87.94 kB / 0.6951 GB, free: 38.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003021/0.1283, allocations: 251.2 kB / 0.6953 GB, free: 38.46 MB / 442.7 MB Notification: Performance of Backend: time 1.423e-06/0.1283, allocations: 0 / 0.6953 GB, free: 38.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.1294, allocations: 405.8 kB / 0.6957 GB, free: 38.04 MB / 442.7 MB Notification: Performance of SimCode: time 0.002052/0.1315, allocations: 1.494 MB / 0.6972 GB, free: 36.5 MB / 442.7 MB Notification: Performance of Templates: time 0.01124/0.1428, allocations: 3.561 MB / 0.7007 GB, free: 32.96 MB / 442.7 MB