Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002519/0.002523, allocations: 356.2 kB / 16.57 MB, free: 5.59 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.468/3.468, allocations: 388.9 MB / 406.2 MB, free: 11.92 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.003505/0.003505, allocations: 245.5 kB / 451.6 MB, free: 14.5 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.657/0.657, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005055, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06756/0.06809, allocations: 53.23 MB / 0.6736 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.00396/0.07209, allocations: 3.96 MB / 0.6775 GB, free: 56.83 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.07347, allocations: 0.9637 MB / 0.6784 GB, free: 55.86 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.07368, allocations: 19.81 kB / 0.6784 GB, free: 55.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.07382, allocations: 43.67 kB / 0.6785 GB, free: 55.8 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.07425, allocations: 175 kB / 0.6786 GB, free: 55.62 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.07449, allocations: 91.81 kB / 0.6787 GB, free: 55.54 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.07489, allocations: 434.5 kB / 0.6791 GB, free: 55.11 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.07507, allocations: 80.88 kB / 0.6792 GB, free: 55.03 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.07528, allocations: 139.3 kB / 0.6793 GB, free: 54.89 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.07558, allocations: 179.3 kB / 0.6795 GB, free: 54.71 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.07563, allocations: 8 kB / 0.6795 GB, free: 54.71 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.07569, allocations: 12 kB / 0.6795 GB, free: 54.7 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.336e-05/0.07578, allocations: 79.72 kB / 0.6796 GB, free: 54.62 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.631e-05/0.07586, allocations: 73.58 kB / 0.6797 GB, free: 54.54 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.07607, allocations: 203.4 kB / 0.6799 GB, free: 54.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.069e-06/0.07609, allocations: 4 kB / 0.6799 GB, free: 54.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.0761, allocations: 0 / 0.6799 GB, free: 54.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.245e-06/0.07612, allocations: 0 / 0.6799 GB, free: 54.34 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000904/0.07703, allocations: 0.5542 MB / 0.6804 GB, free: 53.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.07707, allocations: 16.83 kB / 0.6804 GB, free: 53.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.07715, allocations: 31.62 kB / 0.6805 GB, free: 53.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/0.07766, allocations: 313.8 kB / 0.6808 GB, free: 53.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.0777, allocations: 16.44 kB / 0.6808 GB, free: 53.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.07786, allocations: 35.89 kB / 0.6808 GB, free: 53.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.07832, allocations: 294 kB / 0.6811 GB, free: 52.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.07835, allocations: 3.938 kB / 0.6811 GB, free: 52.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.07839, allocations: 8 kB / 0.6811 GB, free: 52.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.014e-06/0.0784, allocations: 4 kB / 0.6811 GB, free: 52.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.07878, allocations: 183.8 kB / 0.6813 GB, free: 52.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.08029, allocations: 1.288 MB / 0.6825 GB, free: 51.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.0806, allocations: 119.8 kB / 0.6827 GB, free: 51.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.609e-05/0.0807, allocations: 54.56 kB / 0.6827 GB, free: 51.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.08073, allocations: 0 / 0.6827 GB, free: 51.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.08076, allocations: 34.56 kB / 0.6827 GB, free: 51.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.2e-06/0.08077, allocations: 0 / 0.6827 GB, free: 51.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009426/0.08172, allocations: 0.535 MB / 0.6833 GB, free: 50.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.08177, allocations: 118.8 kB / 0.6834 GB, free: 50.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.082, allocations: 234.7 kB / 0.6836 GB, free: 50.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.08203, allocations: 25.7 kB / 0.6836 GB, free: 50.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.08213, allocations: 195.6 kB / 0.6838 GB, free: 49.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.08218, allocations: 43.45 kB / 0.6839 GB, free: 49.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.0822, allocations: 4 kB / 0.6839 GB, free: 49.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.08227, allocations: 330.8 kB / 0.6842 GB, free: 49.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.08237, allocations: 35.98 kB / 0.6842 GB, free: 49.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.08251, allocations: 132 kB / 0.6843 GB, free: 49.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.08265, allocations: 67.86 kB / 0.6844 GB, free: 49.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.268e-06/0.08267, allocations: 3.953 kB / 0.6844 GB, free: 49.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000469/0.08315, allocations: 233.9 kB / 0.6846 GB, free: 49.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.08318, allocations: 8 kB / 0.6846 GB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.729e-06/0.08319, allocations: 4 kB / 0.6846 GB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.08334, allocations: 28.84 kB / 0.6847 GB, free: 49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.08377, allocations: 68.3 kB / 0.6847 GB, free: 48.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.08379, allocations: 7.984 kB / 0.6847 GB, free: 48.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.08397, allocations: 8 kB / 0.6847 GB, free: 48.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.084, allocations: 8 kB / 0.6848 GB, free: 48.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.08415, allocations: 151.8 kB / 0.6849 GB, free: 48.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.08424, allocations: 23.72 kB / 0.6849 GB, free: 48.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.08454, allocations: 167.2 kB / 0.6851 GB, free: 48.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.062e-06/0.08456, allocations: 4 kB / 0.6851 GB, free: 48.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.08458, allocations: 0 / 0.6851 GB, free: 48.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.906e-06/0.08459, allocations: 0 / 0.6851 GB, free: 48.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.08499, allocations: 301.3 kB / 0.6854 GB, free: 48.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-06/0.08502, allocations: 0 / 0.6854 GB, free: 48.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.08527, allocations: 27.98 kB / 0.6854 GB, free: 48.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.534e-06/0.0853, allocations: 0 / 0.6854 GB, free: 48.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.08532, allocations: 8 kB / 0.6854 GB, free: 48.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.22e-06/0.08534, allocations: 0 / 0.6854 GB, free: 48.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.057e-06/0.08535, allocations: 3.938 kB / 0.6854 GB, free: 48.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.08576, allocations: 375.2 kB / 0.6858 GB, free: 47.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.08583, allocations: 96.86 kB / 0.6859 GB, free: 47.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.08589, allocations: 12 kB / 0.6859 GB, free: 47.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.0861, allocations: 0 / 0.6859 GB, free: 47.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.08614, allocations: 11.98 kB / 0.6859 GB, free: 47.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.08617, allocations: 8.062 kB / 0.6859 GB, free: 47.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.08633, allocations: 174 kB / 0.6861 GB, free: 47.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.08634, allocations: 0 / 0.6861 GB, free: 47.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004504/0.0868, allocations: 44.09 kB / 0.6861 GB, free: 47.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.133e-05/0.08689, allocations: 110.9 kB / 0.6862 GB, free: 47.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.08725, allocations: 210.5 kB / 0.6864 GB, free: 47.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.622e-06/0.08727, allocations: 0 / 0.6864 GB, free: 47.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.08738, allocations: 51.91 kB / 0.6865 GB, free: 47.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.08801, allocations: 56.42 kB / 0.6865 GB, free: 46.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.08903, allocations: 0.7647 MB / 0.6873 GB, free: 46.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.08928, allocations: 0.7835 MB / 0.688 GB, free: 45.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000159/0.08945, allocations: 30.28 kB / 0.6881 GB, free: 45.35 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.08953, allocations: 23.42 kB / 0.6881 GB, free: 45.33 MB / 442.7 MB Notification: Performance of SimCode: time 1.386e-06/0.08955, allocations: 0 / 0.6881 GB, free: 45.33 MB / 442.7 MB Notification: Performance of Templates: time 0.007727/0.09728, allocations: 2.066 MB / 0.6901 GB, free: 43.28 MB / 442.7 MB