Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002377/0.002376, allocations: 355 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.16/3.16, allocations: 388.9 MB / 406.2 MB, free: 6.906 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.00339/0.003389, allocations: 234.8 kB / 451.6 MB, free: 0.5977 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.623/0.623, allocations: 76.02 MB / 0.5594 GB, free: 14.45 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004386, allocations: 15.98 kB / 0.6216 GB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2597, allocations: 53.22 MB / 0.6736 GB, free: 62.53 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005802/0.2655, allocations: 6.561 MB / 0.68 GB, free: 55.94 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.2678, allocations: 1.726 MB / 0.6817 GB, free: 54.21 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003257/0.2681, allocations: 43.69 kB / 0.6817 GB, free: 54.17 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.2685, allocations: 143 kB / 0.6819 GB, free: 54.03 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007927/0.2693, allocations: 449.5 kB / 0.6823 GB, free: 53.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.2698, allocations: 223.6 kB / 0.6825 GB, free: 53.37 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.2708, allocations: 1.313 MB / 0.6838 GB, free: 52.05 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.2712, allocations: 247.6 kB / 0.684 GB, free: 51.81 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.2717, allocations: 378.3 kB / 0.6844 GB, free: 51.44 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.2723, allocations: 0.5179 MB / 0.6849 GB, free: 50.92 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.643e-05/0.2723, allocations: 32 kB / 0.6849 GB, free: 50.89 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.2725, allocations: 32 kB / 0.685 GB, free: 50.86 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.2727, allocations: 275.3 kB / 0.6852 GB, free: 50.59 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.2729, allocations: 157.3 kB / 0.6854 GB, free: 50.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.2734, allocations: 0.6584 MB / 0.686 GB, free: 49.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.325e-06/0.2735, allocations: 0 / 0.686 GB, free: 49.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.576e-06/0.2735, allocations: 4 kB / 0.686 GB, free: 49.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.717e-06/0.2735, allocations: 0 / 0.686 GB, free: 49.76 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001593/0.2751, allocations: 0.9295 MB / 0.6869 GB, free: 48.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2751, allocations: 8.031 kB / 0.6869 GB, free: 48.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.2753, allocations: 75.16 kB / 0.687 GB, free: 48.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/0.2762, allocations: 0.5368 MB / 0.6875 GB, free: 48.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.2764, allocations: 124.7 kB / 0.6876 GB, free: 47.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/0.2765, allocations: 55.94 kB / 0.6877 GB, free: 47.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2779, allocations: 0.7967 MB / 0.6885 GB, free: 47.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.2779, allocations: 0 / 0.6885 GB, free: 47.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.529e-05/0.278, allocations: 27.98 kB / 0.6885 GB, free: 47.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.2781, allocations: 32.97 kB / 0.6885 GB, free: 47.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.2796, allocations: 0.726 MB / 0.6892 GB, free: 46.32 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.2836, allocations: 2.747 MB / 0.6919 GB, free: 43.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.2855, allocations: 0.921 MB / 0.6928 GB, free: 42.49 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006042/0.2861, allocations: 351.2 kB / 0.6932 GB, free: 42.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.2861, allocations: 4 kB / 0.6932 GB, free: 42.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2862, allocations: 42.31 kB / 0.6932 GB, free: 42.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 2.452e-06/0.2862, allocations: 3.938 kB / 0.6932 GB, free: 42.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.00403/0.2902, allocations: 2.007 MB / 0.6952 GB, free: 39.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.2902, allocations: 89.05 kB / 0.6953 GB, free: 39.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.2907, allocations: 417.9 kB / 0.6957 GB, free: 39.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.2908, allocations: 37.7 kB / 0.6957 GB, free: 39.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.2909, allocations: 316.3 kB / 0.696 GB, free: 39.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.553e-05/0.2911, allocations: 145.9 kB / 0.6961 GB, free: 38.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.2911, allocations: 8 kB / 0.6961 GB, free: 38.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.2912, allocations: 358.8 kB / 0.6965 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/0.2918, allocations: 256.9 kB / 0.6967 GB, free: 38.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006542/0.2924, allocations: 366.3 kB / 0.6971 GB, free: 37.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.2931, allocations: 278.7 kB / 0.6973 GB, free: 37.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.2931, allocations: 0 / 0.6973 GB, free: 37.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001602/0.2947, allocations: 0.8192 MB / 0.6981 GB, free: 36.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2948, allocations: 4 kB / 0.6981 GB, free: 36.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.741e-06/0.2948, allocations: 7.938 kB / 0.6982 GB, free: 36.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/0.295, allocations: 73.67 kB / 0.6982 GB, free: 36.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.2966, allocations: 379.8 kB / 0.6986 GB, free: 36.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005177/0.3018, allocations: 6.15 MB / 0.7046 GB, free: 29.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.3023, allocations: 47.86 kB / 0.7046 GB, free: 29.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.3024, allocations: 20 kB / 0.7047 GB, free: 29.6 MB / 346.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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003041/0.3027, allocations: 247.4 kB / 0.7049 GB, free: 29.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.053e-05/0.3028, allocations: 47.44 kB / 0.7049 GB, free: 29.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.3043, allocations: 0.7534 MB / 0.7057 GB, free: 28.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3043, allocations: 11.92 kB / 0.7057 GB, free: 28.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.185e-06/0.3043, allocations: 0 / 0.7057 GB, free: 28.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.753e-06/0.3043, allocations: 7.938 kB / 0.7057 GB, free: 28.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.307, allocations: 1.543 MB / 0.7072 GB, free: 26.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.715e-06/0.3071, allocations: 4 kB / 0.7072 GB, free: 26.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/0.3087, allocations: 399.6 kB / 0.7076 GB, free: 26.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000333/0.3091, allocations: 89.64 kB / 0.7077 GB, free: 26.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/0.3091, allocations: 11.98 kB / 0.7077 GB, free: 26.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.311, allocations: 2.887 MB / 0.7105 GB, free: 23.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.376e-06/0.3111, allocations: 4.031 kB / 0.7105 GB, free: 23.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.3132, allocations: 1.156 MB / 0.7116 GB, free: 22.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3134, allocations: 128.6 kB / 0.7118 GB, free: 21.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.3135, allocations: 11.98 kB / 0.7118 GB, free: 21.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.3138, allocations: 35.97 kB / 0.7118 GB, free: 21.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.314, allocations: 43.94 kB / 0.7118 GB, free: 21.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.314, allocations: 8 kB / 0.7119 GB, free: 21.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002878/0.3143, allocations: 291.1 kB / 0.7121 GB, free: 21.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.76e-07/0.3143, allocations: 4 kB / 0.7121 GB, free: 21.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006776/0.315, allocations: 143.9 kB / 0.7123 GB, free: 21.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (39): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001154/0.3151, allocations: 111.1 kB / 0.7124 GB, free: 21.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002722/0.3179, allocations: 1.103 MB / 0.7135 GB, free: 20.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.328e-06/0.3179, allocations: 0 / 0.7135 GB, free: 20.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.3199, allocations: 0.833 MB / 0.7143 GB, free: 19.24 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007986/0.3207, allocations: 137.2 kB / 0.7144 GB, free: 19.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.323, allocations: 1.719 MB / 0.7161 GB, free: 17.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.3234, allocations: 0.9679 MB / 0.717 GB, free: 16.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00035/0.3238, allocations: 92.56 kB / 0.7171 GB, free: 16.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3239, allocations: 43.42 kB / 0.7172 GB, free: 16.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.392e-06/0.324, allocations: 0 / 0.7172 GB, free: 16.23 MB / 346.7 MB Notification: Performance of Templates: time 0.01392/0.3379, allocations: 7.017 MB / 0.724 GB, free: 9.289 MB / 346.7 MB