Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002338/0.002342, allocations: 361.2 kB / 16.57 MB, free: 5.566 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.227/3.227, allocations: 388.9 MB / 406.2 MB, free: 6.852 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003294/0.003294, allocations: 229.6 kB / 451.6 MB, free: 0.582 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6305/0.6305, allocations: 76.03 MB / 0.5594 GB, free: 14.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004836, allocations: 15.98 kB / 0.6216 GB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2582, allocations: 53.22 MB / 0.6736 GB, free: 62.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006433/0.2647, allocations: 6.963 MB / 0.6804 GB, free: 55.64 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003511/0.2682, allocations: 2.352 MB / 0.6827 GB, free: 53.3 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004392/0.2687, allocations: 43.69 kB / 0.6827 GB, free: 53.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.2691, allocations: 162.9 kB / 0.6829 GB, free: 53.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.2705, allocations: 0.5713 MB / 0.6835 GB, free: 52.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008926/0.2714, allocations: 347.2 kB / 0.6838 GB, free: 52.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.2726, allocations: 1.473 MB / 0.6852 GB, free: 50.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.2738, allocations: 0.8361 MB / 0.686 GB, free: 49.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004604/0.2743, allocations: 438.2 kB / 0.6865 GB, free: 49.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007709/0.2751, allocations: 0.6622 MB / 0.6871 GB, free: 48.74 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.2752, allocations: 44 kB / 0.6871 GB, free: 48.7 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007619/0.276, allocations: 475.2 kB / 0.6876 GB, free: 48.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003832/0.2764, allocations: 418.9 kB / 0.688 GB, free: 47.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.2766, allocations: 193.3 kB / 0.6882 GB, free: 47.63 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009309/0.2775, allocations: 1.107 MB / 0.6893 GB, free: 46.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.822e-06/0.2775, allocations: 0 / 0.6893 GB, free: 46.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.705e-06/0.2775, allocations: 0 / 0.6893 GB, free: 46.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.2776, allocations: 0 / 0.6893 GB, free: 46.52 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002348/0.2799, allocations: 1.2 MB / 0.6904 GB, free: 45.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.28, allocations: 16.02 kB / 0.6904 GB, free: 45.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008812/0.2809, allocations: 146.7 kB / 0.6906 GB, free: 45.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.282, allocations: 0.6466 MB / 0.6912 GB, free: 44.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.2823, allocations: 175.1 kB / 0.6914 GB, free: 44.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.2825, allocations: 95.89 kB / 0.6915 GB, free: 44.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.2848, allocations: 1.374 MB / 0.6928 GB, free: 42.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.2849, allocations: 3.984 kB / 0.6928 GB, free: 42.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.285, allocations: 32 kB / 0.6929 GB, free: 42.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/0.2851, allocations: 61.98 kB / 0.6929 GB, free: 42.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.2878, allocations: 1.343 MB / 0.6942 GB, free: 41.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007053/0.2949, allocations: 4.97 MB / 0.6991 GB, free: 36.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.2974, allocations: 1.201 MB / 0.7003 GB, free: 34.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.2987, allocations: 0.6477 MB / 0.7009 GB, free: 34.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.706e-05/0.2988, allocations: 16.53 kB / 0.7009 GB, free: 34.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.2988, allocations: 43.12 kB / 0.7009 GB, free: 34.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 3.663e-06/0.2988, allocations: 0 / 0.7009 GB, free: 34.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.006528/0.3054, allocations: 3.288 MB / 0.7042 GB, free: 30.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.3054, allocations: 93.62 kB / 0.7042 GB, free: 30.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.3059, allocations: 461.8 kB / 0.7047 GB, free: 30.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/0.306, allocations: 37.7 kB / 0.7047 GB, free: 30.19 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.3062, allocations: 399.2 kB / 0.7051 GB, free: 29.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.3064, allocations: 256.3 kB / 0.7053 GB, free: 29.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.3065, allocations: 12 kB / 0.7054 GB, free: 29.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.3066, allocations: 374.8 kB / 0.7057 GB, free: 29.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.3076, allocations: 0.5173 MB / 0.7062 GB, free: 28.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.3088, allocations: 0.7145 MB / 0.7069 GB, free: 27.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.31, allocations: 0.5887 MB / 0.7075 GB, free: 27.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.628e-06/0.31, allocations: 4 kB / 0.7075 GB, free: 27.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00509/0.3151, allocations: 2.127 MB / 0.7096 GB, free: 25.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3151, allocations: 4 kB / 0.7096 GB, free: 25.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004443/0.3196, allocations: 1.863 MB / 0.7114 GB, free: 23.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.3217, allocations: 0.7042 MB / 0.7121 GB, free: 22.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.3225, allocations: 151.8 kB / 0.7122 GB, free: 22.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.3342, allocations: 7.066 MB / 0.7191 GB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007577/0.335, allocations: 92 kB / 0.7192 GB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.069e-05/0.3351, allocations: 28 kB / 0.7192 GB, free: 14.89 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004877/0.3356, allocations: 327 kB / 0.7196 GB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.3358, allocations: 63.19 kB / 0.7196 GB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.3385, allocations: 1.34 MB / 0.7209 GB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/0.3385, allocations: 15.98 kB / 0.7209 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.548e-06/0.3385, allocations: 11.89 kB / 0.7209 GB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.3386, allocations: 4.078 kB / 0.721 GB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004293/0.3429, allocations: 2.457 MB / 0.7234 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.089e-06/0.3429, allocations: 0 / 0.7234 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003095/0.346, allocations: 0.6361 MB / 0.724 GB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.3461, allocations: 32.84 kB / 0.724 GB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/0.3462, allocations: 19.98 kB / 0.724 GB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009921/0.3472, allocations: 1.459 MB / 0.7254 GB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3472, allocations: 4.031 kB / 0.7255 GB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/0.351, allocations: 2.086 MB / 0.7275 GB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.3511, allocations: 128.4 kB / 0.7276 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.3513, allocations: 19.98 kB / 0.7276 GB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.3519, allocations: 71.92 kB / 0.7277 GB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.3521, allocations: 68.34 kB / 0.7278 GB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.3522, allocations: 16 kB / 0.7278 GB, free: 5.812 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003831/0.3526, allocations: 314.9 kB / 0.7281 GB, free: 5.508 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.3526, allocations: 4 kB / 0.7281 GB, free: 5.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001135/0.3537, allocations: 240.2 kB / 0.7283 GB, free: 5.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000204/0.3539, allocations: 130.2 kB / 0.7284 GB, free: 5.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.357, allocations: 1.598 MB / 0.73 GB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.357, allocations: 4.438 kB / 0.73 GB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002945/0.36, allocations: 1.146 MB / 0.7311 GB, free: 2.352 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.361, allocations: 160.2 kB / 0.7313 GB, free: 2.199 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.3656, allocations: 2.712 MB / 0.7339 GB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.3666, allocations: 1.087 MB / 0.735 GB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007856/0.3674, allocations: 217.5 kB / 0.7352 GB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.3677, allocations: 55.42 kB / 0.7352 GB, free: 14.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.579e-06/0.3677, allocations: 0 / 0.7352 GB, free: 14.06 MB / 362.7 MB Notification: Performance of Templates: time 0.02819/0.3959, allocations: 12.15 MB / 0.7471 GB, free: 1.996 MB / 362.7 MB