Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002581/0.002581, 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.891/3.891, allocations: 388.9 MB / 406.8 MB, free: 12 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.003778/0.003778, allocations: 223.8 kB / 452.2 MB, free: 14.6 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.8595/0.8595, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004894, allocations: 19.98 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09501, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.00639/0.1015, allocations: 5.084 MB / 0.6792 GB, free: 55.71 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003313/0.1048, allocations: 1.502 MB / 0.6807 GB, free: 54.21 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005399/0.1054, allocations: 35.75 kB / 0.6807 GB, free: 54.17 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.1059, allocations: 103.2 kB / 0.6808 GB, free: 54.07 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.107, allocations: 366.1 kB / 0.6811 GB, free: 53.71 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.1077, allocations: 179.7 kB / 0.6813 GB, free: 53.54 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.1089, allocations: 0.849 MB / 0.6821 GB, free: 52.68 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.1092, allocations: 118.3 kB / 0.6823 GB, free: 52.57 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/0.1098, allocations: 254.9 kB / 0.6825 GB, free: 52.32 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009763/0.1108, allocations: 458.7 kB / 0.6829 GB, free: 51.87 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.111, allocations: 24 kB / 0.683 GB, free: 51.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.1112, allocations: 32 kB / 0.683 GB, free: 51.81 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.1116, allocations: 207.5 kB / 0.6832 GB, free: 51.61 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.1118, allocations: 113.4 kB / 0.6833 GB, free: 51.49 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007659/0.1126, allocations: 482.9 kB / 0.6838 GB, free: 51.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1126, allocations: 4 kB / 0.6838 GB, free: 51.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1126, allocations: 0 / 0.6838 GB, free: 51.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.1127, allocations: 3.938 kB / 0.6838 GB, free: 51.01 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.003341/0.116, allocations: 0.862 MB / 0.6846 GB, free: 50.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.1161, allocations: 8.031 kB / 0.6846 GB, free: 50.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.1164, allocations: 51.44 kB / 0.6847 GB, free: 50.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.1186, allocations: 0.5793 MB / 0.6852 GB, free: 49.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.502e-05/0.1187, allocations: 32.59 kB / 0.6853 GB, free: 49.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.1189, allocations: 43.95 kB / 0.6853 GB, free: 49.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.1205, allocations: 0.5479 MB / 0.6858 GB, free: 48.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.1205, allocations: 0 / 0.6858 GB, free: 48.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/0.1206, allocations: 12 kB / 0.6858 GB, free: 48.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007717/0.1214, allocations: 88.53 kB / 0.6859 GB, free: 48.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.1227, allocations: 354.3 kB / 0.6863 GB, free: 48.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005681/0.1284, allocations: 2.109 MB / 0.6883 GB, free: 46.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.1301, allocations: 389.1 kB / 0.6887 GB, free: 45.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.1313, allocations: 301.6 kB / 0.689 GB, free: 45.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/0.1314, allocations: 4 kB / 0.689 GB, free: 45.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.1315, allocations: 38.55 kB / 0.689 GB, free: 45.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 4.478e-06/0.1315, allocations: 0 / 0.689 GB, free: 45.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.01006/0.1416, allocations: 2.545 MB / 0.6915 GB, free: 42.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1417, allocations: 85.11 kB / 0.6916 GB, free: 42.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007315/0.1424, allocations: 373.7 kB / 0.692 GB, free: 42.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.525e-05/0.1425, allocations: 29.7 kB / 0.692 GB, free: 42.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.1428, allocations: 252.2 kB / 0.6922 GB, free: 41.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.143, allocations: 138.1 kB / 0.6924 GB, free: 41.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.1431, allocations: 12 kB / 0.6924 GB, free: 41.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1432, allocations: 358.8 kB / 0.6927 GB, free: 41.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/0.144, allocations: 253 kB / 0.6929 GB, free: 41.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/0.1449, allocations: 382.6 kB / 0.6933 GB, free: 40.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009239/0.1458, allocations: 313.4 kB / 0.6936 GB, free: 40.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1459, allocations: 0 / 0.6936 GB, free: 40.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.004838/0.1507, allocations: 0.9908 MB / 0.6946 GB, free: 39.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.1508, allocations: 4 kB / 0.6946 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.1508, allocations: 7.953 kB / 0.6946 GB, free: 39.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/0.1531, allocations: 381.9 kB / 0.695 GB, free: 38.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000822/0.1539, allocations: 83.89 kB / 0.695 GB, free: 38.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009804/0.1637, allocations: 6.25 MB / 0.7011 GB, free: 32.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008985/0.1647, allocations: 35.95 kB / 0.7012 GB, free: 32.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.751e-05/0.1648, allocations: 23.98 kB / 0.7012 GB, free: 32.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (53): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004946/0.1653, allocations: 209.7 kB / 0.7014 GB, free: 31.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.1655, allocations: 39.53 kB / 0.7014 GB, free: 31.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.1687, allocations: 0.832 MB / 0.7022 GB, free: 30.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.1688, allocations: 7.984 kB / 0.7023 GB, free: 30.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1688, allocations: 4 kB / 0.7023 GB, free: 30.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.169, allocations: 112.5 kB / 0.7024 GB, free: 30.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.1693, allocations: 27.98 kB / 0.7024 GB, free: 30.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/0.1701, allocations: 43.89 kB / 0.7024 GB, free: 30.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.1702, allocations: 35.88 kB / 0.7025 GB, free: 30.67 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005773/0.176, allocations: 1.255 MB / 0.7037 GB, free: 29.39 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002801/0.1789, allocations: 1.19 MB / 0.7049 GB, free: 28.17 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008107/0.1797, allocations: 308.2 kB / 0.7051 GB, free: 27.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005336/0.1803, allocations: 263.1 kB / 0.7054 GB, free: 27.61 MB / 442.7 MB Notification: Performance of Backend: time 6.12e-07/0.1803, allocations: 4 kB / 0.7054 GB, free: 27.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00401/0.1843, allocations: 1.276 MB / 0.7066 GB, free: 26.21 MB / 442.7 MB Notification: Performance of SimCode: time 0.005218/0.1896, allocations: 2.533 MB / 0.7091 GB, free: 23.63 MB / 442.7 MB Notification: Performance of Templates: time 0.01826/0.2079, allocations: 7.382 MB / 0.7163 GB, free: 16.27 MB / 442.7 MB